Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi, thepancake,
Thank you so much for your reply. The reason that my module includes the hooks for In System Memory Editor is that I want to use the In-System Memory Editor to set all the contents of the N identical sub-circuits' own ROM's content as random values. Since I need as more as such identical circuits as possible to do parallel computing, the only way I can came up with is use the "generate" function which looks like a "for" loop, with the number N sub-circuits I want to generate. Since the N sub-circuits have their own ROM, which need to be initialized to different random values. However if I use the megafunction to create the RAM, when initialize the mega-ROM with random values, after compiling, all the N ROMs have the same random values set, which is not what I want. So I used the In System Memory Editor to manually create random values for each ROM when the circuit is running. Since as you indicated, it can only support at most 255 system-level debug node, this method seems can not work to initialize all the ROMs with different random values. So, could you be kind enough to give me some precious suggestions on how to do this? It is really appreciated for your help!