API Reference¶
introduction.vcdTool.cli¶
- introduction.vcdTool.cli.build_parser()[source]¶
Build the command-line parser.
- Return type:
ArgumentParser
introduction.vcdTool.apis¶
- class introduction.vcdTool.apis.RunRequest(vcd: 'str', signals: 'List[str] | None' = None, units: 'str' = 'us', backend: 'str' = 'mpl', overlay: 'bool' = False, out_csv: 'Optional[str]' = None, csv_units: 'str' = 's', png: 'Optional[str]' = None, html: 'Optional[str]' = None, decode: 'List[Tuple[str, int]]' = <factory>, in_dir: 'str' = 'in', out_dir: 'str' = 'out')[source]¶
Bases:
object- Parameters:
vcd (str)
signals (List[str] | None)
units (str)
backend (str)
overlay (bool)
out_csv (str | None)
csv_units (str)
png (str | None)
html (str | None)
decode (List[Tuple[str, int]])
in_dir (str)
out_dir (str)
- backend: str = 'mpl'¶
- csv_units: str = 's'¶
- decode: List[Tuple[str, int]]¶
- html: str | None = None¶
- in_dir: str = 'in'¶
- out_csv: str | None = None¶
- out_dir: str = 'out'¶
- overlay: bool = False¶
- png: str | None = None¶
- signals: List[str] | None = None¶
- units: str = 'us'¶
- vcd: str¶
introduction.vcdTool.app¶
- class introduction.vcdTool.app.VCDApp[source]¶
Bases:
objectTop-level orchestration for VCD plotting pipeline.
- run(req)[source]¶
- Parameters:
req (RunRequest)
- Return type:
dict
introduction.vcdTool.core¶
- class introduction.vcdTool.core.VCDData(timescale_factor: 'float', vars_by_id: 'Dict[str, Var]', events: 'List[Tuple[int, List[Tuple[str, str]]]]')[source]¶
Bases:
object- Parameters:
timescale_factor (float)
vars_by_id (Dict[str, Var])
events (List[Tuple[int, List[Tuple[str, str]]]])
- events: List[Tuple[int, List[Tuple[str, str]]]]¶
- timescale_factor: float¶
introduction.vcdTool.design¶
introduction.vcdTool.io¶
- introduction.vcdTool.io.export_csv(csv_path, times_sec, series, csv_units)[source]¶
- Parameters:
csv_path (str)
times_sec (List[float])
series (Dict[str, List[float]])
csv_units (str)
- Return type:
None
- introduction.vcdTool.io.resolve_input_path(p, in_dir)[source]¶
- Parameters:
p (str)
in_dir (str)
- Return type:
str