Best Way to Implement Shared RAM

Status
Not open for further replies.
Sorry, no, I miswrote.

There will never be two modules that need to write the same bit at the same time (hence the merged A/B write), however one module may write it and another module may read it. This is in addition to read access via the "external" interface to my core.
 

Hi,

There will never be two modules that need to write the same bit at the same time (hence the merged A/B write), however one module may write it and another module may read it. This is in addition to read access via the "external" interface to my core.

I didn´t ask for "at the same time".

--> To avoid further confusion: Show your sketch.

Klaus
 

They won't need to write to the same bit at any time. For example TXBUSY would only be written by the Tx module.
 


`include my_parameters_of_the_register_definitions.vhd
and include it in any file that needs to access those address definitions.

or pass the parameters through the instantiations of all the modules from the top level (my preferred method).

Using parameters makes code far more portable and reusable.
 
Hi,

They won't need to write to the same bit at any time. For example TXBUSY would only be written by the Tx module.
This is what I thought.

It's your job to provide informations...I don't want to ask again...


Klaus
 


Many thanks for all your help ads-ee! I have decided to go with the trickle-down parameters like you suggested. I already have a basic version implemented.
 

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