mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Rename verific to import in tests and update README explanation
This commit is contained in:
parent
54c69f1fed
commit
53ed83fcac
4 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue