mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-02 12:37:53 +00:00
Support brams with initialization
This commit is contained in:
parent
4aaab8f395
commit
5766555642
6 changed files with 267 additions and 222 deletions
|
|
@ -2,38 +2,38 @@ ram block $__NX_RAM_ {
|
|||
option "STD_MODE" "NOECC_48kx1" {
|
||||
# only 32k used
|
||||
abits 15;
|
||||
widths 1 global;
|
||||
widths 1 per_port;
|
||||
}
|
||||
option "STD_MODE" "NOECC_24kx2" {
|
||||
# only 16k used
|
||||
abits 14;
|
||||
widths 2 global;
|
||||
widths 2 per_port;
|
||||
}
|
||||
option "STD_MODE" "NOECC_16kx3" {
|
||||
abits 14;
|
||||
widths 3 global;
|
||||
widths 3 per_port;
|
||||
}
|
||||
option "STD_MODE" "NOECC_12kx4" {
|
||||
# only 8k used
|
||||
abits 13;
|
||||
widths 4 global;
|
||||
widths 4 per_port;
|
||||
}
|
||||
option "STD_MODE" "NOECC_8kx6" {
|
||||
abits 13;
|
||||
widths 6 global;
|
||||
widths 6 per_port;
|
||||
}
|
||||
option "STD_MODE" "NOECC_6kx8" {
|
||||
# only 4k used
|
||||
abits 12;
|
||||
widths 8 global;
|
||||
widths 8 per_port;
|
||||
}
|
||||
option "STD_MODE" "NOECC_4kx12" {
|
||||
abits 12;
|
||||
widths 12 global;
|
||||
widths 12 per_port;
|
||||
}
|
||||
option "STD_MODE" "NOECC_2kx24" {
|
||||
abits 11;
|
||||
widths 24 global;
|
||||
widths 24 per_port;
|
||||
}
|
||||
cost 64;
|
||||
init no_undef;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue