teos
Newbie level 1
![Newbie level 1](/styles/images/ranks/alevel1.gif)
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![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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