picker/test
Zhicheng c100874936
Build wheels directly and make template purge portable (#98)
* fix(packaging): build binary wheels directly

Build xspcomm and picker wheels from their source trees without creating intermediate sdists. Clean stale distribution artifacts and copy only wheel files into the top-level dist directory.

* fix(templates): make purge portable across platforms

Replace GNU-specific mv usage in generated language templates with a portable find and POSIX shell loop. Preserve intermediate artifacts when moves fail, report completion only after successful cleanup, and cover all supported templates on macOS and Linux.
2026-08-06 15:45:36 +08:00
..
cmake Adopt slang as default SystemVerilog frontend and clean up codegen (#80) 2026-03-27 11:04:20 +08:00
data Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
scripts Build wheels directly and make template purge portable (#98) 2026-08-06 15:45:36 +08:00
CMakeLists.txt Adopt slang as default SystemVerilog frontend and clean up codegen (#80) 2026-03-27 11:04:20 +08:00
Makefile Build wheels directly and make template purge portable (#98) 2026-08-06 15:45:36 +08:00
README.md Adopt slang as default SystemVerilog frontend and clean up codegen (#80) 2026-03-27 11:04:20 +08:00
test_codegen_filelist.cpp fix: filelist and build threads (#96) 2026-07-28 15:18:46 +08:00
test_codegen_recursive_render.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_codegen_sv_param.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_codegen_sv_param_multi.cpp feat: improve VCS waveform, coverage, and modern Verdi support (#94) 2026-07-07 17:48:32 +08:00
test_common.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_parser_gsim_root_unit.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_parser_internalcfg.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_parser_internalcfg_unit.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_parser_map_unit.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_parser_sv_collect_unit.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_parser_sv_unit.cpp fix: filelist and build threads (#96) 2026-07-28 15:18:46 +08:00
test_parser_uvm_unit.cpp Adopt slang as default SystemVerilog frontend and clean up codegen (#80) 2026-03-27 11:04:20 +08:00
test_parser_verilator_root.cpp Add backend simulator GSIM support (#50) 2025-08-13 15:16:15 +08:00
test_parser_verilator_root_unit.cpp Add filelist include parsing and expand unit tests 2026-01-29 17:07:30 +08:00
test_picker_utils.cpp fix: test_utils 2025-09-10 14:38:18 +08:00
test_templategen.cpp fix #24 : remove dpi set function for output signal, which case multi-driven 2024-12-12 06:11:36 +00:00

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 installed picker in 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_python
    • make -C test export_vpi_python
    • make -C test export_filelist
    • make -C test export_complex_port
    • make -C test pack_transaction
    • make -C test pack_from_rtl
    • make -C test pack_unsupported_type
    • make -C test pack_multiple_classes
    • make -C test pack_python

Notes

  • Tests write to subfolders in the repo (e.g. picker_out_*, pack_example).
  • Clean with make -C test clean.