mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-01 07:40:42 +00:00
Create a single-port URAM mapping to support memories 2048 x 144b
This commit is contained in:
parent
f60bbe64ac
commit
c4a49f0c55
2 changed files with 161 additions and 0 deletions
|
@ -35,3 +35,26 @@ ram huge $__XILINX_URAM_ {
|
|||
wrbe_separate;
|
||||
}
|
||||
}
|
||||
|
||||
ram huge $__XILINX_URAM_SP_ {
|
||||
abits 11;
|
||||
width 144;
|
||||
cost 1024;
|
||||
option "BYTEWIDTH" 8 byte 8;
|
||||
option "BYTEWIDTH" 9 byte 9;
|
||||
init zero;
|
||||
port srsw "A" {
|
||||
clock anyedge "C";
|
||||
clken;
|
||||
rdwr no_change;
|
||||
rdinit zero;
|
||||
portoption "RST_MODE" "SYNC" {
|
||||
rdsrst zero ungated;
|
||||
}
|
||||
portoption "RST_MODE" "ASYNC" {
|
||||
rdarst zero;
|
||||
}
|
||||
wrtrans all new;
|
||||
wrbe_separate;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue