Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17263 Discussions

Single clock dual port ram issue

Altera_Forum
Honored Contributor II
1,501 Views

According the altera's ug, I can get the read out data from my dual port ram the next clock edge after the address valid. This show in the mega core's wave figure, pls check as attached file.  

 

 

But the issue is that I got the read out data after 2 clock in fact, please check my signaltap jpg file. why?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
596 Views

It is correct. The address that was sampled by the memory on the first rising cycle that you highlighted is C1h. What the signaltap display is showing is that the address changed to CCh after the rising edge of the clock, will be read by the memory on the next clock cycle and will change the data bus to the correct value on the following clock cycle.

0 Kudos
Altera_Forum
Honored Contributor II
596 Views

Hi, 

 

You point it out, you are right. The sample clock and the address changing clock are the same clock, so when address changes, it is not valid, and the changed address is appear next clock. 

 

thanks
0 Kudos
Reply