chiptools.core.cli module
- class chiptools.core.cli.CommandLine(project=None)[source]
Bases:
cmd.Cmd
,object
- do_add_tests(command)[source]
Add the given tests to the test suite. Tests should be supplied as comma separated numbers or numeric ranges, for example:
add_tests 1-3, 5, 6, 7
Would add tests 1, 2, 3, 5, 6, 7 to the test suite.
You can check which tests are available by issuing the show_tests command or remove tests that have been added to the suite by issuing the remove_tests command.
- do_remove_tests(command)[source]
Remove the given tests from the test suite. Tests should be supplied as comma separated numbers or numeric ranges, for example:
remove_tests 1-3, 5, 6, 7
Would remove tests 1, 2, 3, 5, 6, 7 from the test suite.
You can check which tests are available by issuing the show_tests command or add tests by issuing the add_tests command.
- do_run_preprocessors(command)[source]
For each project file in the design run any associated preprocessors. You can use this command to test that a preprocessor is running on your file correctly. Preprocessors are called automatically when you run synthesis
- do_run_tests(command)[source]
Run the tests that were selected via the add_tests command and report the results.
- do_simulate(command)[source]
Compile the given entity in the given library using the chosen simulator and invoke the simulator GUI. Example: (Cmd) simulate my_library.my_entity