Skip to content

Commit

Permalink
Rename verific to import in tests and update README explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Jan 17, 2025
1 parent 54c69f1 commit 53ed83f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/verific/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

## Disabled

- `bounds`: checks top and bottom bound attributes, which are removed to avoid OpenSTA issues
- `bounds`: relies on using Verific's VHDL frontend
- `memory_semantics`: relies on initial values being retained, which we do not want
- `rom_case`: relies on using Verific's VHDL frontend rather than GHDL
- `rom_case`: relies on using Verific's VHDL frontend
6 changes: 3 additions & 3 deletions tests/verific/blackbox_empty.ys
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
verific -sv <<EOF
import -sv <<EOF
module TEST_CELL(input clk, input a, input b, output reg c);
parameter PATH = "DEFAULT";
endmodule
EOF

verific -sv <<EOF
import -sv <<EOF
module top(input clk, input a, input b, output c, output d);
TEST_CELL #(.PATH("TEST")) test1(.clk(clk),.a(a),.b(1'b1),.c(c));
TEST_CELL #(.PATH("DEFAULT")) test2(.clk(clk),.a(a),.b(1'bx),.c(d));
endmodule
EOF

verific -import top
import -import top
hierarchy -top top
stat
select -assert-count 2 t:TEST_CELL
6 changes: 3 additions & 3 deletions tests/verific/blackbox_ql.ys
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
verific -sv -lib +/quicklogic/qlf_k6n10f/dsp_sim.v
import -sv -lib +/quicklogic/qlf_k6n10f/dsp_sim.v

verific -sv <<EOF
import -sv <<EOF
module top (
input wire [19:0] a,
input wire [17:0] b,
Expand Down Expand Up @@ -35,7 +35,7 @@ endmodule

EOF

verific -import top
import -import top
hierarchy -top top
synth_quicklogic -family qlf_k6n10f
select -assert-count 1 t:QL_DSP2_MULT_REGIN_REGOUT a:MODE_BITS=80'h1232324
4 changes: 2 additions & 2 deletions tests/verific/setenv.ys
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
setenv filename case.sv
verific -f -sv setenv.flist
verific -import top
import -f -sv setenv.flist
import -import top
select -assert-mod-count 1 top

0 comments on commit 53ed83f

Please sign in to comment.