Skip to content

Commit

Permalink
Merge pull request #344 from zapta/develop
Browse files Browse the repository at this point in the history
Apio verify/lint commands now process also all the testbench files.
  • Loading branch information
Obijuan authored Feb 21, 2024
2 parents f95fda1 + 8407808 commit 99f0ee1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apio/resources/ecp5/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions apio/resources/ice40/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 99f0ee1

Please sign in to comment.