RivieraPRO

Summary

Package:

Aldec

Doc-string:

documented

File

Expected

Covered

Uncovered

Coverage

RivieraPRO.py

15

8

7

53.3%

Source

pyEDAA.CLITool/Aldec/RivieraPRO.pydocumentedundocumentedignoredexcludednot counted
33"""This module contains the CLI abstraction layer for Riviera-PRO."""
...
40
42@export
43class VHDLLibraryTool(Executable, ToolMixIn):
44	"""Abstraction of Riviera-PRO's VHDL library management tool ``vlib``."""
45
46	_EXECUTABLE_NAMES = {
47		"Linux":   "vlib",
48		"Windows": "vlib.exe"
49	}
50
51	@CLIArgument()
52	class SwitchLibraryName(StringArgument): ...
53
55class VHDLCompiler(Executable, ToolMixIn):
56	"""Abstraction of Riviera-PRO's VHDL compiler ``vcom``."""
57
58	_EXECUTABLE_NAMES = {
59		"Linux":   "vcom",
60		"Windows": "vcom.exe"
61	}
62
66	@CLIArgument()
67	class SwitchVHDLVersion(StringArgument, pattern="-{0}"): ...
68
69	@CLIArgument()
70	class SwitchVHDLLibrary(ShortTupleFlag, name="work"): ...
71
72	@CLIArgument()
73	class ArgSourceFile(PathArgument): ...
74
76@export
77class VHDLSimulator(Executable, ToolMixIn):
78	"""Abstraction of Riviera-PRO's HDL simulator ``vsim``."""
79
80	_EXECUTABLE_NAMES = {
81		"Linux":   "vsim",
82		"Windows": "vsim.exe"
83	}
84
85	@CLIArgument()
86	class SwitchBatchCommand(ShortTupleFlag, name="do"):
87		"""Specify a Tcl batch script for the batch mode."""
88
89	@CLIArgument()
90	class FlagCommandLineMode(ShortFlag, name="c"):
91		"""Run simulation in command line mode."""
92
93	@CLIArgument()
94	class SwitchTimeResolution(ShortTupleFlag, name="t"):   # -t [1|10|100]fs|ps|ns|us|ms|sec  Time resolution limit
95		"""Set simulation time resolution."""
96
97	@CLIArgument()
98	class SwitchTopLevel(StringArgument):
99		"""The top-level for simulation."""