mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-12 06:00:55 +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_block_sdp_1clk.txt
Normal file
22
tests/memlib/memlib_block_sdp_1clk.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
ram block \RAM_BLOCK_SDP_1CLK {
|
||||
cost 64;
|
||||
abits 10;
|
||||
widths 1 2 4 8 16 per_port;
|
||||
init any;
|
||||
port sw "W" {
|
||||
clock anyedge "C";
|
||||
ifdef TRANS_OLD {
|
||||
option "TRANS" 0 {
|
||||
wrtrans "R" old;
|
||||
}
|
||||
}
|
||||
ifdef TRANS_NEW {
|
||||
option "TRANS" 1 {
|
||||
wrtrans "R" new;
|
||||
}
|
||||
}
|
||||
}
|
||||
port sr "R" {
|
||||
clock anyedge "C";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue