From 8407808926134387bc0cb7bb78e24604c635b664 Mon Sep 17 00:00:00 2001 From: Zapta Date: Tue, 20 Feb 2024 22:12:25 -0800 Subject: [PATCH] Apio verify/lint commands now process also all the testbench files. Before it processed only the module (non testbench) files. --- apio/resources/ecp5/SConstruct | 4 ++-- apio/resources/ice40/SConstruct | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apio/resources/ecp5/SConstruct b/apio/resources/ecp5/SConstruct index 225e948f..832bccf5 100644 --- a/apio/resources/ecp5/SConstruct +++ b/apio/resources/ecp5/SConstruct @@ -220,7 +220,7 @@ vcd = Builder( env.Append(BUILDERS={'IVerilog': iverilog, 'VCD': vcd}) # --- Verify -vout = env.IVerilog(TARGET, src_synth) +vout = env.IVerilog(TARGET, src_synth + list_tb) verify = env.Alias('verify', vout) AlwaysBuild(verify) @@ -249,7 +249,7 @@ verilator = Builder( env.Append(BUILDERS={'Verilator': verilator}) # --- Lint -lout = env.Verilator(TARGET, src_synth) +lout = env.Verilator(TARGET, src_synth + list_tb) lint = env.Alias('lint', lout) AlwaysBuild(lint) diff --git a/apio/resources/ice40/SConstruct b/apio/resources/ice40/SConstruct index a2474b6e..4fa2ff1c 100644 --- a/apio/resources/ice40/SConstruct +++ b/apio/resources/ice40/SConstruct @@ -225,7 +225,7 @@ vcd = Builder( env.Append(BUILDERS={'IVerilog': iverilog, 'VCD': vcd}) # --- Verify -vout = env.IVerilog(TARGET, src_synth) +vout = env.IVerilog(TARGET, src_synth + list_tb) verify = env.Alias('verify', vout) AlwaysBuild(verify) @@ -253,7 +253,7 @@ verilator = Builder( env.Append(BUILDERS={'Verilator': verilator}) # --- Lint -lout = env.Verilator(TARGET, src_synth) +lout = env.Verilator(TARGET, src_synth + list_tb) lint = env.Alias('lint', lout) AlwaysBuild(lint)