mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-02 12:37:53 +00:00
Add memory_libmap tests.
This commit is contained in:
parent
2a2dc12eb6
commit
982a11c709
22 changed files with 1500 additions and 0 deletions
22
tests/memlib/memlib_wide_sp.txt
Normal file
22
tests/memlib/memlib_wide_sp.txt
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
ram block \RAM_WIDE_SP {
|
||||
cost 2;
|
||||
abits 6;
|
||||
widths 1 2 5 10 20 per_port;
|
||||
byte 5;
|
||||
init any;
|
||||
port srsw "A" {
|
||||
ifdef WIDTH_MIX {
|
||||
option "WIDTH_MIX" 1 {
|
||||
width mix;
|
||||
}
|
||||
} else {
|
||||
option "WIDTH_MIX" 0 {
|
||||
width tied;
|
||||
}
|
||||
}
|
||||
clock posedge;
|
||||
rden;
|
||||
rdwr old;
|
||||
rdsrst any ungated;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue