2019-10-18 05:19:59 -05:00
|
|
|
read_verilog ../common/latches.v
|
2019-09-23 07:51:41 -05:00
|
|
|
design -save read
|
|
|
|
|
2019-10-04 06:00:09 -05:00
|
|
|
hierarchy -top latchp
|
2019-10-18 02:13:06 -05:00
|
|
|
proc
|
2019-10-04 06:00:09 -05:00
|
|
|
# Can't run any sort of equivalence check because latches are blown to LUTs
|
2019-09-23 07:51:41 -05:00
|
|
|
synth_efinix
|
2019-10-04 06:00:09 -05:00
|
|
|
cd latchp # Constrain all select calls below inside the top module
|
|
|
|
select -assert-count 1 t:EFX_LUT4
|
|
|
|
|
|
|
|
select -assert-none t:EFX_LUT4 %% t:* %D
|
|
|
|
|
2019-09-23 07:51:41 -05:00
|
|
|
|
|
|
|
design -load read
|
2019-10-04 06:00:09 -05:00
|
|
|
hierarchy -top latchn
|
2019-10-18 02:13:06 -05:00
|
|
|
proc
|
2019-10-04 06:00:09 -05:00
|
|
|
# Can't run any sort of equivalence check because latches are blown to LUTs
|
|
|
|
synth_efinix
|
|
|
|
cd latchn # Constrain all select calls below inside the top module
|
|
|
|
select -assert-count 1 t:EFX_LUT4
|
|
|
|
|
|
|
|
select -assert-none t:EFX_LUT4 %% t:* %D
|
2019-09-23 07:51:41 -05:00
|
|
|
|
2019-10-04 06:00:09 -05:00
|
|
|
|
|
|
|
design -load read
|
|
|
|
hierarchy -top latchsr
|
2019-10-18 02:13:06 -05:00
|
|
|
proc
|
2019-10-04 06:00:09 -05:00
|
|
|
# Can't run any sort of equivalence check because latches are blown to LUTs
|
2019-09-23 07:51:41 -05:00
|
|
|
synth_efinix
|
2019-10-04 06:00:09 -05:00
|
|
|
cd latchsr # Constrain all select calls below inside the top module
|
|
|
|
select -assert-count 2 t:EFX_LUT4
|
|
|
|
|
|
|
|
select -assert-none t:EFX_LUT4 %% t:* %D
|