hwtBuildsystem.cli_utils package¶
Submodules¶
hwtBuildsystem.cli_utils.hwModule_from_cli_args module¶
- hwtBuildsystem.cli_utils.hwModule_from_cli_args.ban_names_in_serializer(serializer_cls: Type[DummySerializerConfig], reserved_ids: List[str] | None) Type[source]¶
- hwtBuildsystem.cli_utils.hwModule_from_cli_args.hwModule_from_cli_args(hwModuleCls: Type[HwModule], default_params: List[Dict[str, object]], args: List[str] | None = None, out_folder: str | None = None, unit_name: str | None = None, reserved_ids: List[str] | None = None, stdout: StringIO = None)[source]¶
- Parameters:
hwModuleCls – unit class or anything callable which produces instance of HwModule
default_params – list of default parameters for a component to resolve which parameters/generics affect which port width
args – list of CLI arguments, if None the CLI args of this python execution are used
reserved_ids – optional list of identifier names which should not be used in generated code (used to prevent name collisions)