View Single Post
  #4 (permalink)  
Old 04-21-2006, 08:47 PM
Gabor
Guest
 
Posts: n/a
Default Re: Initializing array of BlockRAM instances in verilog


Allan wrote:
> Thanks. Good idea, but it doesn't change anything. I forgot to mention
> above that it seems that this is more attached to the #() parameter
> initialization part because using these INITs with a non-array
> instantiation causes the same problem:
>
> RAMB16_S36_S36 #(.WRITE_MODE_A("READ_FIRST"), .INIT_A(36'h012345678))
> BRAM (.ADDRA(ADDRA), ...
>
>
> -Allan


I know this sounds dumb, but could the order of parameters be the
problem?
In the simprims and unisim libraries I noticed that INIT_A is the first
parameter
in the list. Maybe...

RAMB16_S36_S36 #(.INIT_A(36'h012345678), .WRITE_MODE_A("READ_FIRST"))
BRAM (.ADDRA(ADDRA), ...

Reply With Quote