3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-06 19:21:23 +00:00

proc_memwr: Use the v2 memwr cell.

This commit is contained in:
Marcelina Kościelnicka 2021-05-27 20:55:09 +02:00
parent fd79217763
commit 24027b5446
3 changed files with 24 additions and 14 deletions

View file

@ -29,6 +29,6 @@ EOT
proc
opt
select -assert-count 2 t:$memwr
select -assert-count 2 t:$memwr_v2
opt_mem
select -assert-count 1 t:$memwr_v2

View file

@ -24,25 +24,25 @@ EOT
proc
select -assert-count 2 t:$memrd
select -assert-count 1 t:$memwr
select -assert-count 1 t:$memwr_v2
select -assert-count 1 t:$meminit_v2
design -save orig
opt_clean
select -assert-none t:$memrd
select -assert-none t:$memwr
select -assert-none t:$memwr_v2
select -assert-none t:$meminit_v2
design -load orig
expose top/rd1
opt_clean
select -assert-count 1 t:$memrd
select -assert-count 1 t:$memwr
select -assert-count 1 t:$memwr_v2
select -assert-count 1 t:$meminit_v2
design -load orig
expose top/rd1 top/rd2
opt_clean
select -assert-count 2 t:$memrd
select -assert-count 1 t:$memwr
select -assert-count 1 t:$memwr_v2
select -assert-count 1 t:$meminit_v2