mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(docs): add new datasheet generation method (#123)
This commit is contained in:
@@ -1,8 +1,29 @@
|
||||
from typing import TypedDict
|
||||
from typing import List, Literal, TypedDict
|
||||
|
||||
from tech import TechName
|
||||
|
||||
|
||||
class ArtworkEntryType(TypedDict):
|
||||
"""TypedDict for artwork, used by `config.DatasheetConfig`"""
|
||||
|
||||
id: str
|
||||
rotate: str
|
||||
|
||||
|
||||
class DatasheetConfig(TypedDict):
|
||||
"""TypedDict for the datasheet config within Tiny Tapeout's config.yaml file"""
|
||||
|
||||
pinout: Literal["caravel", "openframe"]
|
||||
theme_override_colour: str
|
||||
show_chip_viewer: bool
|
||||
link_disable_colour: bool
|
||||
link_override_colour: str
|
||||
qrcode_follows_theme: bool
|
||||
include: List[str]
|
||||
disabled: List[str]
|
||||
artwork: List[ArtworkEntryType]
|
||||
|
||||
|
||||
class Config(TypedDict):
|
||||
"""TypedDict for Tiny Tapeout's config.yaml file."""
|
||||
|
||||
@@ -14,3 +35,4 @@ class Config(TypedDict):
|
||||
powered_netlists: bool
|
||||
no_power_gating: bool
|
||||
pdk: TechName
|
||||
datasheet_config: DatasheetConfig
|
||||
|
||||
Reference in New Issue
Block a user