Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20735 Discussions

about ram_2_port ip core

Altera_Forum
Honored Contributor II
1,738 Views

In my project I used the ip core (ram_2_port).I add avalon_tristate_slave for the ram2port in the sopc builer.But I can't write to the ram2port_base.When I write 0x00 to the ram2port_base,it write to the (ram2port_base+2).why?

0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
332 Views

are the data widths of the master and slave the same? is the component a register slave or a memory slave, ie is it using dynamic bus sizing? 

 

--dalon
0 Kudos
Altera_Forum
Honored Contributor II
332 Views

is memory slave and dynamic bus sizing.The data width of ram2port is 16,address width is 9.how to configure the avalon tri-state slave timing for ram2port in the new component editer<interfaces>?

0 Kudos
Altera_Forum
Honored Contributor II
332 Views

i don't believe x9 interfaces will work unless the master is x9 as well. 

 

--dalon
0 Kudos
Altera_Forum
Honored Contributor II
332 Views

that looks good, but remember, if you are using a 32 bit master to issue the read, it will actuall perform 2 reads to get the 32 bit data, this could be the cause of address 0x2 being driven.

0 Kudos
Altera_Forum
Honored Contributor II
332 Views

I don't know the timing request of ram2port.I can't find it at its datasheet.I think the reason that I can't write the data to the first address of ramport is the timing .

0 Kudos
Reply