mirror of https://github.com/XS-MLVP/picker.git
|
|
||
|---|---|---|
| .. | ||
| cmake | ||
| data | ||
| scripts | ||
| CMakeLists.txt | ||
| Makefile | ||
| README.md | ||
| test_codegen_filelist.cpp | ||
| test_codegen_recursive_render.cpp | ||
| test_codegen_sv_param.cpp | ||
| test_codegen_sv_param_multi.cpp | ||
| test_common.cpp | ||
| test_parser_gsim_root_unit.cpp | ||
| test_parser_internalcfg.cpp | ||
| test_parser_internalcfg_unit.cpp | ||
| test_parser_map_unit.cpp | ||
| test_parser_sv_collect_unit.cpp | ||
| test_parser_sv_unit.cpp | ||
| test_parser_uvm_unit.cpp | ||
| test_parser_verilator_root.cpp | ||
| test_parser_verilator_root_unit.cpp | ||
| test_picker_utils.cpp | ||
| test_templategen.cpp | ||
README.md
Picker test suite
Overview
- Provides lightweight scripts to validate picker CLI and core flows.
- Focuses on Verilator + Python by default to minimize toolchain needs.
Prerequisites
- Built picker binary at
./build/bin/picker(or installedpickerin PATH). - Verilator (>=4.218), CMake (>=3.11), a C++ compiler, Python3.
Usage
- Run all:
make -C test all - Smoke only (no builds):
make -C test smoke - Individual:
make -C test export_pythonmake -C test export_vpi_pythonmake -C test export_filelistmake -C test export_complex_portmake -C test pack_transactionmake -C test pack_from_rtlmake -C test pack_unsupported_typemake -C test pack_multiple_classesmake -C test pack_python
Notes
- Tests write to subfolders in the repo (e.g.
picker_out_*,pack_example). - Clean with
make -C test clean.