memory

M

Mandilas Antony

Guest
i use spartan-II and verilog. i have the following problem

i want to write a dual port memory module, but i want to preload it with
some values in some specific memory locations. I have written some code
for the first part of it. but i can not do it some way to preload values
. Does anyone has any idea?

Best regards
Antony
 
Mandilas Antony <mandilas_antony@yahoo.com> wrote in message news:<3EFE9C01.3080003@yahoo.com>...
i use spartan-II and verilog. i have the following problem

i want to write a dual port memory module, but i want to preload it with
some values in some specific memory locations. I have written some code
for the first part of it. but i can not do it some way to preload values
. Does anyone has any idea?

Best regards
Antony
Hi!
Xilinx Spartan II has BlockRAM support, So use their coregen utility to
generate the Dual port RAM/ROM according to your requirement.
If it is an RAM and you want to preload data, you have to have an external logic
to do so.

Rajkumar...
 
Hi!
Xilinx Spartan II has BlockRAM support, So use their coregen utility to
generate the Dual port RAM/ROM according to your requirement.
If it is an RAM and you want to preload data, you have to have an external logic
to do so.

Rajkumar...
I think you can preload the memory locations with the value of your
choice. This facility is also available in coregen utility. But i am
not sure whether you can preload only particular memory locations with
the value of your choice. I used to work on this sort of things two
years back so may be my memory have faded a bit but anyway try it out.
pranav
 
Yes you can preload rams using coregen. You can specify a file that
contains the ram values to preload into memory. Or you can use the
FPGA editor to do it manually but that is a lot harder.

Jon

pranavt@einfochips.com (pranav) wrote in message news:<70210ef7.0307030228.1d445ae1@posting.google.com>...
Hi!
Xilinx Spartan II has BlockRAM support, So use their coregen utility to
generate the Dual port RAM/ROM according to your requirement.
If it is an RAM and you want to preload data, you have to have an external logic
to do so.

Rajkumar...

I think you can preload the memory locations with the value of your
choice. This facility is also available in coregen utility. But i am
not sure whether you can preload only particular memory locations with
the value of your choice. I used to work on this sort of things two
years back so may be my memory have faded a bit but anyway try it out.
pranav
 

Welcome to EDABoard.com

Sponsor

Back
Top