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

Mapping more out ports to one out port

Altera_Forum
Honored Contributor II
1,268 Views

I have a ram memory that consists of several memory units. Each memory unit has, among other ports, data_out port. Memory itself has data_out port and it passes data that comes from one of those memory units. If I try to map several data_out ports of memory units on data_out port of ram memory, an error comes out saying I can't assign more than one value to data_out port. So, how to solve that connecting problem?  

 

Thanks.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
580 Views

 

--- Quote Start ---  

I have a ram memory that consists of several memory units. Each memory unit has, among other ports, data_out port. Memory itself has data_out port and it passes data that comes from one of those memory units. If I try to map several data_out ports of memory units on data_out port of ram memory, an error comes out saying I can't assign more than one value to data_out port. So, how to solve that connecting problem?  

 

Thanks. 

--- Quote End ---  

 

 

you need to use a switch to get data from relevant block or use rd en if available per block according to overall system read address.
0 Kudos
Altera_Forum
Honored Contributor II
580 Views

I made multiplexer and encoder. The output of encoder is the input of multiplexer, so it can decide which memory unit data to pass. But, I made those two as asynchronous entities... Is that wrong considering that memory should respond after exact number of clk periods? I don't quite understand when does signal gets it's next value...

0 Kudos
Altera_Forum
Honored Contributor II
580 Views

Latency through the memory will depend on how you have set it up. Its not a big issue making an async mux if there are only a few inputs, but wider muxes should be clocked. However, at high clock rates, everything should be registered

0 Kudos
Reply