Coregen Memory Initialization (.coe file format)

Hi, I am trying to use Coregen to generate a single port memory with its content initialized. I defined a memory with depth 16 and width 8. In the options, I chose the following .coe file to initialize the contents:

-----------------------------code starts-------------------------------

; This .COE file specifies initialization values for a

; block memory of depth=16, and width=8. In this case,

; values are specified in hexadecimal format.

memory_initialization_radix=16;

memory_initialization_vector=

ff,

ab,

f0,

11,

11,

00,

01,

aa,

bb,

cc,

dd,

ef,

ee,

ff,

00,

ff;

---------- code ends --------------

When I tried to generate this code, the following error occurs:

ERROR: sim - Invalid commmand: CSET coefficient_file = C:\Coregen Memory\data_new.coe WARNING:encore - Error whilst reading C:\Coregen Memory\rob_memory.xco

I don't know what's wrong with this. Any help would be appreciated.

Robert.

Reply to
Robert
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.