cms-L1TK / project_generation_scripts

Python scripts to generate the wiring map of the tracklet pattern recognition & the top-level HDL that calls the HLS modules in the Hybrid Chain.
1 stars 2 forks source link

Barrel-only test-bench fix #48

Closed aehart closed 1 year ago

aehart commented 1 year ago

This PR fixes the test-bench that is output for the barrel-only config. Currently, the stub words from the TrackBuilders are all assumed to come from L1L2, but here they are generalized to come from any of the barrel-only seeds. Thanks to @bylsma for raising this issue.

bylsma commented 1 year ago

The python scripts look good to me. I also generated the test benches using the updated scripts and checked out the tb_tf_top.vhd for the BarrelConfig. The generated .vhd test bench looks as expected. I approve this PR.