Init of BRAMs with ISE flow.

  • Follow


Hi All,

I have several BRAMs in my design each needs its own set of constants.
So far I have used the ucf file to store my BRAM values. But it has
become error prone and tedious. I would like to have a command for the
ucf such that I can "link" a generated file in to the ucf and its
format.

Something like:
MyBRAM => file:MyBramFile.dat
where MyBramFile contains
"
0000002800000028000000280000002800000028000000280000002800000028
0000002800000028000000280000002800000028000000280000002800000028
"...etc

is this possible in some way?

Regards,
R.N.
0
Reply nobbe 1/31/2005 5:02:09 PM

Rick,

Have you considered using a tool called Data2MEM?

To find out more about it check out"
http://tinyurl.com/6xlsu

Shalin-


Rick North wrote:
> Hi All,
> 
> I have several BRAMs in my design each needs its own set of constants.
> So far I have used the ucf file to store my BRAM values. But it has
> become error prone and tedious. I would like to have a command for the
> ucf such that I can "link" a generated file in to the ucf and its
> format.
> 
> Something like:
> MyBRAM => file:MyBramFile.dat
> where MyBramFile contains
> "
> 0000002800000028000000280000002800000028000000280000002800000028
> 0000002800000028000000280000002800000028000000280000002800000028
> "...etc
> 
> is this possible in some way?
> 
> Regards,
> R.N.
0
Reply Shalin 1/31/2005 5:29:35 PM


"Rick North" <nobbe@acc.umu.se> schrieb im Newsbeitrag
news:4bbdba0c.0501310902.4dc320b1@posting.google.com...
> Hi All,
>
> I have several BRAMs in my design each needs its own set of constants.
> So far I have used the ucf file to store my BRAM values. But it has
> become error prone and tedious. I would like to have a command for the
> ucf such that I can "link" a generated file in to the ucf and its
> format.
>
> Something like:
> MyBRAM => file:MyBramFile.dat
> where MyBramFile contains
> "
> 0000002800000028000000280000002800000028000000280000002800000028
> 0000002800000028000000280000002800000028000000280000002800000028
> "...etc
>
> is this possible in some way?

Use data2mem utility. It can directly write BRAM content into a BITFILE, so
after the complete implementation process. Very nice feature when you
develop a FPGA based uC application (Picoblaze, Microblaze whatever)
This tool nees a special data file, (*.mem) but its very easy structured

Just a start address like
@0000

AA, BB, CC, DD etc.

Very easy to generate via a script/tool.

Regards
Falk


0
Reply Falk 1/31/2005 5:34:53 PM

There is a very friendly and easy to use tool called "memory editor"
and it's located in the core generator application. It will make your
life alot easier...
Regards, Moti.

0
Reply Moti 1/31/2005 6:49:40 PM

Rick North wrote:

> I have several BRAMs in my design each needs its own set of constants.

I use an HDL constant array.

http://www.xilinx.com/xcell/xl37/xcell37_22.pdf


    -- Mike Treseler
0
Reply Mike 2/1/2005 5:58:55 PM

4 Replies
85 Views

(page loaded in 0.059 seconds)

Similiar Articles:













7/12/2012 3:51:55 PM


Reply: