RAM not working as needed in spartan 3

OP (Company: none) #3497615
hi guys,

       i've used this code as a ram block in Spartan 3. But it was not 
working.
i checked the RTL view of the file, but in that the RAM block have 2 
pins unassigned(ENA and RSTA).

is that the problem why this is not working?

also the RAM created is a dual port RAM. I need only a single port RAM.

please help.

thanks in advance.
Attached files:
Moderator (Company: Titel) #3497655
vhdl newbie wrote:
>         data_o <= "ZZZZZZZZ";
This is not possible inside a FPGA. There are no tristate lines in 
FPGAs anymore.

> i've used this code as a ram block in Spartan 3.
Where did you take it from? Did you check out the templates Xilinx 
delivers with the ISE? And did you check the XST User Guide? In there 
you can find how to describe a RAM so that the synthesizer can recognize 
it correctly...
Guest #3501209
do you test it?
no --> testbench.

i would generate a bram with the core genarator from xilinx and check 
the function.

Reply

A question of your own? This thread is over 12 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.