J
John Smith
Guest
Hi,
I have a bunch of signals 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 for both read and write).
RAM r1 (.clk(clk), .rst(rst), .addr(addr), .en(en),
indata(X), .outdata(Y));
I have a bunch of signals 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 for both read and write).
RAM r1 (.clk(clk), .rst(rst), .addr(addr), .en(en),
indata(X), .outdata(Y));