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

Ports between blocks problem

Altera_Forum
Honored Contributor II
868 Views

hello every body,  

I've multi blocks of "ram_infer" and the same number of "my entire program". I want to make the output of the entire program is the input to ram_infer, but facing error problem from QII.  

 

is it correct to make on this way like below? 

putting RA0-3 as an input and output on the same time. 

 

Thanks in advance for your help. :) 

 

/////////////// 

wire [10:0] RA0; 

wire [10:0] RA1; 

wire [11:0] RA2; 

wire [11:0] RA3; 

 

 

generate 

genvar i; 

for (i = 0; i < IDE; i = i + 1) 

begin : IDE_block 

IDE u(global_reset_n, CLOCK_50, ram_din, di, RA0, RA1, RA2, RA3); 

end 

endgenerate 

 

 

generate  

genvar j; 

for (j=0; j < SRAM_INFERS; j = j + 1) 

begin: sram_block 

SRAM_INFERS x(CLOCK_50, write_a, sram_we,DO, RA0, RA1, RA2, RA3, ); 

end  

endgenerate 

 

 

/////////////
0 Kudos
0 Replies
Reply