[SOLVED] ROM code file format (*.rcf)

Status
Not open for further replies.

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
 

Is it something silly like a missing newline from the end of the file?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…