mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-10 05:00:52 +00:00
memory_bram: Reuse extract_rdff helper for make_outreg.
Also properly skip read ports with init value or reset when not making use of make_outreg. Proper support for matching those will land later.
This commit is contained in:
parent
0795b3ec07
commit
18806f1ef6
5 changed files with 52 additions and 40 deletions
|
@ -12,11 +12,10 @@ sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs mite
|
|||
design -load postopt
|
||||
cd lutram_1w1r
|
||||
select -assert-count 16 t:MISTRAL_MLAB
|
||||
select -assert-count 1 t:MISTRAL_NOT
|
||||
select -assert-count 2 t:MISTRAL_ALUT2
|
||||
select -assert-count 8 t:MISTRAL_ALUT3
|
||||
select -assert-count 17 t:MISTRAL_FF
|
||||
select -assert-none t:MISTRAL_NOT t:MISTRAL_ALUT2 t:MISTRAL_ALUT3 t:MISTRAL_FF t:MISTRAL_MLAB %% t:* %D
|
||||
select -assert-count 8 t:MISTRAL_FF
|
||||
select -assert-none t:MISTRAL_ALUT2 t:MISTRAL_ALUT3 t:MISTRAL_FF t:MISTRAL_MLAB %% t:* %D
|
||||
|
||||
|
||||
design -reset
|
||||
|
@ -34,8 +33,7 @@ sat -verify -prove-asserts -seq 3 -set-init-zero -show-inputs -show-outputs mite
|
|||
design -load postopt
|
||||
cd lutram_1w1r
|
||||
select -assert-count 16 t:MISTRAL_MLAB
|
||||
select -assert-count 1 t:MISTRAL_NOT
|
||||
select -assert-count 2 t:MISTRAL_ALUT2
|
||||
select -assert-count 8 t:MISTRAL_ALUT3
|
||||
select -assert-count 17 t:MISTRAL_FF
|
||||
select -assert-none t:MISTRAL_NOT t:MISTRAL_ALUT2 t:MISTRAL_ALUT3 t:MISTRAL_FF t:MISTRAL_MLAB %% t:* %D
|
||||
select -assert-count 8 t:MISTRAL_FF
|
||||
select -assert-none t:MISTRAL_ALUT2 t:MISTRAL_ALUT3 t:MISTRAL_FF t:MISTRAL_MLAB %% t:* %D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue