Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Dual Port Distributed RAM VHDL Code and IP Core Xilinx

Status
Not open for further replies.

akeedthe

Junior Member level 1
Joined
Aug 3, 2011
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,404
Hi All,

Im trying to come up with a Dual Port Distributed RAM - one made using the Xilinx IP Core and test it against one made by me from scratch.

Ive followed some of the example code given by Xilinx (for my own)

process (<clock>)begin
if (<clock>'event and <clock> = '1') then
if (<write_enable> = '1') then
<ram_name>(conv_integer(<write_address>)) <= <input_data>;
end if;
end if;
end process;


<ram_output> <= <ram_name>(conv_integer(<read_address>));

But specially in the IP Core I tried as attached files of my toplevel and testbench. Im confused between what I get on the SPO and DPO port.

Please advice.

PS- append the .txt files back to .vhd to open
 

Attachments

  • tb_toplevel_dpramxi.vhd.txt
    4.6 KB · Views: 69
  • toplevel_dpramxi.vhd.txt
    2.6 KB · Views: 70

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top