auroral
Newbie level 6
Hi,
I have a bunch of signals(X1,X2,X3,Y1,Y2,Y3) coming out of a module A, and these need to be stored in a single port RAM and immediately sent to another module B.
My question is how do I instantiate my RAM (how do i use the 'en'
signal at once for both read and write).
RAM r1 (.clk(clk), .rst(rst), .addr(addr), .en(en),
indata(X1), .outdata(Z1));
How do I extend this for signals X2, X3, Y1, .. etc on the same RAM instance r1? Thanks!
I have a bunch of signals(X1,X2,X3,Y1,Y2,Y3) coming out of a module A, and these need to be stored in a single port RAM and immediately sent to another module B.
My question is how do I instantiate my RAM (how do i use the 'en'
signal at once for both read and write).
RAM r1 (.clk(clk), .rst(rst), .addr(addr), .en(en),
indata(X1), .outdata(Z1));
How do I extend this for signals X2, X3, Y1, .. etc on the same RAM instance r1? Thanks!