yosys/tests/arch/nanoxplore/latches.ys

34 lines
898 B
Plaintext
Raw Permalink Normal View History

2024-03-01 03:55:54 -06:00
read_verilog ../common/latches.v
design -save read
hierarchy -top latchp
proc
# Can't run any sort of equivalence check because latches are blown to LUTs
2024-07-24 06:29:51 -05:00
synth_nanoxplore -noiopad
2024-03-01 03:55:54 -06:00
cd latchp # Constrain all select calls below inside the top module
2024-05-06 08:25:29 -05:00
select -assert-count 1 t:NX_LUT
2024-03-01 03:55:54 -06:00
2024-05-06 08:25:29 -05:00
select -assert-none t:NX_LUT %% t:* %D
2024-03-01 03:55:54 -06:00
design -load read
hierarchy -top latchn
proc
# Can't run any sort of equivalence check because latches are blown to LUTs
2024-07-24 06:29:51 -05:00
synth_nanoxplore -noiopad
2024-03-01 03:55:54 -06:00
cd latchn # Constrain all select calls below inside the top module
select -assert-count 1 t:NX_LUT
2024-05-06 08:25:29 -05:00
select -assert-none t:NX_LUT %% t:* %D
2024-03-01 03:55:54 -06:00
design -load read
hierarchy -top latchsr
proc
# Can't run any sort of equivalence check because latches are blown to LUTs
2024-07-24 06:29:51 -05:00
synth_nanoxplore -noiopad
2024-03-01 03:55:54 -06:00
cd latchsr # Constrain all select calls below inside the top module
select -assert-count 2 t:NX_LUT
2024-05-06 08:25:29 -05:00
select -assert-none t:NX_LUT %% t:* %D