riky126
Newbie level 1
- Joined
- Nov 1, 2014
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 9
Hi everybody, this is my first post in this forum and i need your help
I need to initialize different istances of the same verilog module RAM.v from a single data file for all instances (e.g. if i had 16 istances of RAM.v each with 10 WORD of 6 bit, then my data file consists of 10*16 lines of binary data).
I can't use readmemb because it addresses RAM to be initialized, not the data file.
I think i need something to choose read file start point and offset in order to initialize each RAM with different part of the data file. Is it possible?
P:S. Sorry for my bad english!
I need to initialize different istances of the same verilog module RAM.v from a single data file for all instances (e.g. if i had 16 istances of RAM.v each with 10 WORD of 6 bit, then my data file consists of 10*16 lines of binary data).
I can't use readmemb because it addresses RAM to be initialized, not the data file.
I think i need something to choose read file start point and offset in order to initialize each RAM with different part of the data file. Is it possible?
P:S. Sorry for my bad english!