mirror of https://github.com/YosysHQ/yosys.git
26 lines
450 B
Plaintext
26 lines
450 B
Plaintext
|
ram block $__NX_RAM_ {
|
||
|
abits 13;
|
||
|
widths 1 2 4 9 per_port;
|
||
|
cost 64;
|
||
|
init no_undef;
|
||
|
port srsw "A" "B" {
|
||
|
clock anyedge;
|
||
|
clken;
|
||
|
portoption "WRITEMODE" "NORMAL" {
|
||
|
rdwr no_change;
|
||
|
}
|
||
|
portoption "WRITEMODE" "WRITETHROUGH" {
|
||
|
rdwr new;
|
||
|
}
|
||
|
portoption "WRITEMODE" "READBEFOREWRITE" {
|
||
|
rdwr old;
|
||
|
}
|
||
|
option "RESETMODE" "SYNC" {
|
||
|
rdsrst zero ungated block_wr;
|
||
|
}
|
||
|
option "RESETMODE" "ASYNC" {
|
||
|
rdarst zero;
|
||
|
}
|
||
|
rdinit zero;
|
||
|
}
|
||
|
}
|