Use Block RAM & ROM in FPGA

Status
Not open for further replies.

rezvania

Junior Member level 2
Joined
Sep 26, 2012
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,442
Hello everyone
I want to use block RAM & ROM without using IP cores. Can I do it? if yes how can I do it?
Thanks for your responses
 

Thanks,
But when I active using DSP48A cores (in SP6) it consume 450 DSP core from 50 totally core! and when I choose "Automatic", it doesn't use it. also I choose using of RAM and ROM but it doesn't use them. I must change in my code or I do other things? Thank you again
 

for example I use array for a ROM.
PHP:
type ROM is  array (3 downto 0) of std_logic_vector(7 downto 0) := 
x"12",x"a3",x"b0", x"12";

and I want to implement this array by block ROM or RAM. But I don't know how to do this by XST. Could you help me?
 

thats not a rom, its not even correct VHDL (a type declaration cannot be initialised). Post the full code
 

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