Initialising Multiple RAMs #1077
-
So I've been trying to marry two projects together: A processor, and a video interface. Both have RAM blocks inside sub-circuits. Those sub-circuits get instantiated in one top level project file. What I would like to do, but seemingly can't find a way to, is have the RAM of the video part be initialized (with something like a default character set) separately from the program memory of the processor. What I would have most hoped had worked was setting both sub-circuits to "Preload program memory at startup" and have the RAMs inside those sub-circuits marked as program memory and getting initialized from two separate files. Is there any way to use multiple files for RAM initialization in general or can I only use the one file defined in the top level and needing to multiplex the data into it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is not possible to initialize more than one RAM when starting the simulation. In a graphics card you would store the character set in a ROM anyway. |
Beta Was this translation helpful? Give feedback.
It is not possible to initialize more than one RAM when starting the simulation.
Compared to a real setup this is quite good, because in reality you can't initialize rams at all.
In a graphics card you would store the character set in a ROM anyway.
Otherwise you could not display anything on the screen at boot time.