fix(enc): compile comp_decomp_sync + pipeline_reg in KeyGen tcl
mlkem_top now instantiates comp_decomp_sync (E5), so the shared xsim_run.tcl must compile it (+ its pipeline_reg dep) before mlkem_top. This unbreaks 'run_tb.sh top' which failed elaboration with 'Module comp_decomp_sync not found'. run_enc.sh simplified to reuse the tcl's now-complete compile list (drops its duplicate leaf block).
This commit is contained in:
@@ -20,6 +20,8 @@ xvlog -sv --relax -i . sync_rtl/poly_mul/basecase_mul.v
|
||||
xvlog -sv --relax -i . sync_rtl/poly_mul/poly_mul_zeta_rom.v
|
||||
xvlog -sv --relax -i . sync_rtl/poly_mul/poly_mul_sync.v
|
||||
xvlog -sv --relax -i . sync_rtl/storage/sd_bram.v
|
||||
xvlog -sv --relax -i . sync_rtl/common/pipeline_reg.v
|
||||
xvlog -sv --relax -i . sync_rtl/comp_decomp/comp_decomp_sync.v
|
||||
xvlog -sv --relax -i . sync_rtl/top/mlkem_top.v
|
||||
|
||||
# ---- Step 2: compile parametric KAT testbench ----
|
||||
|
||||
Reference in New Issue
Block a user