mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4514 from YosysHQ/emil/proc_rom-src-test-2
proc_rom: test src attribute on memories
This commit is contained in:
commit
61ae9f4e07
|
@ -33,7 +33,7 @@ hierarchy -auto-top
|
||||||
|
|
||||||
design -save orig
|
design -save orig
|
||||||
proc
|
proc
|
||||||
select -assert-count 1 t:$memrd_v2
|
select -assert-count 1 t:$memrd_v2 a:src %i
|
||||||
memory
|
memory
|
||||||
opt_dff
|
opt_dff
|
||||||
design -stash postopt
|
design -stash postopt
|
||||||
|
@ -80,7 +80,7 @@ hierarchy -auto-top
|
||||||
|
|
||||||
design -save orig
|
design -save orig
|
||||||
proc
|
proc
|
||||||
select -assert-count 1 t:$memrd_v2
|
select -assert-count 1 t:$memrd_v2 a:src %i
|
||||||
memory
|
memory
|
||||||
opt_dff
|
opt_dff
|
||||||
design -stash postopt
|
design -stash postopt
|
||||||
|
@ -127,7 +127,7 @@ hierarchy -auto-top
|
||||||
|
|
||||||
design -save orig
|
design -save orig
|
||||||
proc
|
proc
|
||||||
select -assert-count 1 t:$memrd_v2
|
select -assert-count 1 t:$memrd_v2 a:src %i
|
||||||
memory
|
memory
|
||||||
opt_dff
|
opt_dff
|
||||||
design -stash postopt
|
design -stash postopt
|
||||||
|
@ -175,7 +175,7 @@ hierarchy -auto-top
|
||||||
|
|
||||||
design -save orig
|
design -save orig
|
||||||
proc
|
proc
|
||||||
select -assert-count 1 t:$memrd_v2
|
select -assert-count 1 t:$memrd_v2 a:src %i
|
||||||
memory
|
memory
|
||||||
opt_dff
|
opt_dff
|
||||||
design -stash postopt
|
design -stash postopt
|
||||||
|
|
Loading…
Reference in New Issue