sivasankar
Newbie level 6
Hi,
Does any body know How to replicate a module instantiation for multiple time dynamically in VERILOG?
example
`ifdef PHY_MEM_4
`define MEM 4
`elsif PHY_MEM_5
`define MEM 5
`endif
RAM U_RAM (
cs_n,
cas_n
ras_n,
.....);
I want this RAM instance to be replicated multiple times depending upon the compilier dirictives `define MEM 4 or 5 or 6...
reply me
sivasankar
Does any body know How to replicate a module instantiation for multiple time dynamically in VERILOG?
example
`ifdef PHY_MEM_4
`define MEM 4
`elsif PHY_MEM_5
`define MEM 5
`endif
RAM U_RAM (
cs_n,
cas_n
ras_n,
.....);
I want this RAM instance to be replicated multiple times depending upon the compilier dirictives `define MEM 4 or 5 or 6...
reply me
sivasankar