teos
Newbie level 1
- Joined
- Jan 8, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,289
While using the rom compiler from Artisan, I need to generate the verilog model for the rom. It requires a ROM code file. For 256 words and 32 bits, I have created a rom code file (source.rcf) that looks like this -
01010101010101010101010101010101 (line 0)
10101010101010101010101010101010 (line 1)
.
.
.
.
.
10101010101010101010101010101010 (line 255)
When I try to generate the verilog code in the compiler, I get the following error -
*** Error *** source.rcf: line 255 does not contain 32 bits
Can some one please help with this?
Thanks!
- - - Updated - - -
The file can have none or a maximum of 1 new line and I had more
01010101010101010101010101010101 (line 0)
10101010101010101010101010101010 (line 1)
.
.
.
.
.
10101010101010101010101010101010 (line 255)
When I try to generate the verilog code in the compiler, I get the following error -
*** Error *** source.rcf: line 255 does not contain 32 bits
Can some one please help with this?
Thanks!
- - - Updated - - -
The file can have none or a maximum of 1 new line and I had more