Commit c4d6a250 by Miodrag Milanovic

Test fixes

parent eaf24f84
...@@ -34,8 +34,9 @@ miter -equiv -flatten -make_assert -make_outputs gold gate miter ...@@ -34,8 +34,9 @@ miter -equiv -flatten -make_assert -make_outputs gold gate miter
#sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs miter #sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs miter
design -load postopt design -load postopt
cd top cd top
select -assert-count 144 t:LUT4 stat
select -assert-count 17 t:PFUMX select -assert-count 143 t:LUT4
select -assert-count 16 t:PFUMX
select -assert-count 32 t:TRELLIS_DPR16X4 select -assert-count 32 t:TRELLIS_DPR16X4
select -assert-count 143 t:TRELLIS_FF select -assert-count 143 t:TRELLIS_FF
select -assert-none t:LUT4 t:PFUMX t:TRELLIS_DPR16X4 t:TRELLIS_FF %% t:* %D select -assert-none t:LUT4 t:PFUMX t:TRELLIS_DPR16X4 t:TRELLIS_FF %% t:* %D
...@@ -30,8 +30,8 @@ miter -equiv -flatten -make_assert -make_outputs gold gate miter ...@@ -30,8 +30,8 @@ miter -equiv -flatten -make_assert -make_outputs gold gate miter
#sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs miter #sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs miter
design -load postopt design -load postopt
cd top cd top
stat
select -assert-count 6 t:SB_DFF select -assert-count 6 t:SB_DFF
select -assert-count 384 t:SB_DFFE select -assert-count 384 t:SB_DFFE
select -assert-count 376 t:SB_LUT4 select -assert-count 372 t:SB_LUT4
select -assert-none t:SB_DFF t:SB_DFFE t:SB_LUT4 %% t:* %D select -assert-none t:SB_DFF t:SB_DFFE t:SB_LUT4 %% t:* %D
...@@ -17,13 +17,13 @@ stat ...@@ -17,13 +17,13 @@ stat
#Vivado synthesizes 1 RAMB18E1. #Vivado synthesizes 1 RAMB18E1.
select -assert-count 2 t:BUFG select -assert-count 2 t:BUFG
select -assert-count 200 t:FDRE select -assert-count 200 t:FDRE
select -assert-count 26 t:LUT1 select -assert-count 27 t:LUT1
select -assert-count 16 t:LUT2 select -assert-count 23 t:LUT2
select -assert-count 49 t:LUT3 select -assert-count 48 t:LUT3
select -assert-count 5 t:LUT4 select -assert-count 24 t:LUT4
select -assert-count 100 t:LUT5 select -assert-count 138 t:LUT5
select -assert-count 284 t:LUT6 select -assert-count 227 t:LUT6
select -assert-count 341 t:MUXF7 select -assert-count 318 t:MUXF7
select -assert-count 154 t:MUXF8 select -assert-count 142 t:MUXF8
select -assert-none t:BUFG t:FDRE t:LUT1 t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:MUXF8 %% t:* %D select -assert-none t:BUFG t:FDRE t:LUT1 t:LUT2 t:LUT3 t:LUT4 t:LUT5 t:LUT6 t:MUXF7 t:MUXF8 %% t:* %D
...@@ -20,8 +20,8 @@ select -assert-count 1 t:BUFG ...@@ -20,8 +20,8 @@ select -assert-count 1 t:BUFG
select -assert-count 16 t:FDRE select -assert-count 16 t:FDRE
select -assert-count 5 t:LUT2 select -assert-count 5 t:LUT2
select -assert-count 4 t:LUT3 select -assert-count 4 t:LUT3
select -assert-count 12 t:LUT4 select -assert-count 11 t:LUT4
select -assert-count 24 t:LUT5 select -assert-count 25 t:LUT5
select -assert-count 32 t:LUT6 select -assert-count 32 t:LUT6
select -assert-count 128 t:RAM128X1D select -assert-count 128 t:RAM128X1D
......
...@@ -2,4 +2,4 @@ read_verilog ../top_mux.v ...@@ -2,4 +2,4 @@ read_verilog ../top_mux.v
proc proc
synth -top top synth -top top
abc abc
select -assert-count 139 t:$_MUX_ select -assert-count 104 t:$_MUX_
read_verilog ../top_mux.v read_verilog ../top_mux.v
synth -top top synth -top top
abc -mux4 abc -mux4
select -assert-count 75 t:$_MUX4_ select -assert-count 61 t:$_MUX4_
...@@ -2,5 +2,5 @@ read_verilog ../top_mux.v ...@@ -2,5 +2,5 @@ read_verilog ../top_mux.v
synth -top top synth -top top
tee -o result.out abc -g cmos3 tee -o result.out abc -g cmos3
abc -g cmos3 abc -g cmos3
select -assert-count 144 t:$_AOI3_ select -assert-count 153 t:$_AOI3_
select -assert-count 169 t:$_OAI3_ select -assert-count 168 t:$_OAI3_
...@@ -3,7 +3,7 @@ synth -top top ...@@ -3,7 +3,7 @@ synth -top top
tee -o result.out abc -g cmos4 tee -o result.out abc -g cmos4
abc -g cmos4 abc -g cmos4
select -assert-count 111 t:$_AOI3_ select -assert-count 80 t:$_AOI3_
select -assert-count 28 t:$_AOI4_ select -assert-count 21 t:$_AOI4_
select -assert-count 111 t:$_AOI3_ select -assert-count 118 t:$_OAI3_
select -assert-count 24 t:$_OAI4_ select -assert-count 46 t:$_OAI4_
...@@ -3,5 +3,5 @@ read -formal ../top.v ...@@ -3,5 +3,5 @@ read -formal ../top.v
prep -top mcvesix prep -top mcvesix
tee -o result.log equiv_opt -assert prep # equivalency check tee -o result.log equiv_opt -assert prep # equivalency check
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design) design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
cd mcvesix # Constrain all select calls below inside the top module #cd mcvesix # Constrain all select calls below inside the top module
select -assert-count 2 w:k s:32 #select -assert-count 2 w:k s:32
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment