3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-27 07:49:50 +00:00

analogdevices: Use dump_meminit

Add `INIT_FILE` and `SIM_INIT_BEHAVIOR` parameters.
Add `init any` to non-full ADI ram blocks.
This commit is contained in:
Krystine Sherwin 2025-11-10 17:23:41 +13:00
parent 7f8334e781
commit eb2b57b084
No known key found for this signature in database
4 changed files with 25 additions and 1 deletions

View file

@ -220,6 +220,9 @@ ram block $__ANALOGDEVICES_BLOCKRAM_HALF_ {
}
}
# supports any initialization value, but need to export memory files
init any;
option "MODE" "SDP" {
ifdef IS_T16FFC forbid;
port sw "A" {
@ -274,6 +277,10 @@ ifdef IS_T40LP {
option "MODE" "SP2" cost 2209;
}
}
# supports any initialization value, but need to export memory files
init any;
option "MODE" "SP2" {
port srsw "A" {
clock anyedge;