Line 1524... |
Line 1524... |
input [(addr_width-1):0] adr_a;
|
input [(addr_width-1):0] adr_a;
|
input [(addr_width-1):0] adr_b;
|
input [(addr_width-1):0] adr_b;
|
input we_a;
|
input we_a;
|
output reg [(data_width-1):0] q_b;
|
output reg [(data_width-1):0] q_b;
|
input clk_a, clk_b;
|
input clk_a, clk_b;
|
reg [data_width-1:0] ram [mem_size-1:0] ;
|
reg [data_width-1:0] ram [0:mem_size-1] ;
|
parameter memory_init = 0;
|
parameter memory_init = 0;
|
parameter memory_file = "vl_ram.vmem";
|
parameter memory_file = "vl_ram.vmem";
|
parameter debug = 0;
|
parameter debug = 0;
|
generate
|
generate
|
if (memory_init == 1) begin : init_mem
|
if (memory_init == 1) begin : init_mem
|
Line 1564... |
Line 1564... |
input we_a;
|
input we_a;
|
output [(data_width-1):0] q_b;
|
output [(data_width-1):0] q_b;
|
output reg [(data_width-1):0] q_a;
|
output reg [(data_width-1):0] q_a;
|
input clk_a, clk_b;
|
input clk_a, clk_b;
|
reg [(data_width-1):0] q_b;
|
reg [(data_width-1):0] q_b;
|
reg [data_width-1:0] ram [mem_size-1:0] ;
|
reg [data_width-1:0] ram [0:mem_size-1] ;
|
parameter memory_init = 0;
|
parameter memory_init = 0;
|
parameter memory_file = "vl_ram.vmem";
|
parameter memory_file = "vl_ram.vmem";
|
parameter debug = 0;
|
parameter debug = 0;
|
generate
|
generate
|
if (memory_init == 1) begin : init_mem
|
if (memory_init == 1) begin : init_mem
|
Line 1608... |
Line 1608... |
input [(data_width-1):0] d_b;
|
input [(data_width-1):0] d_b;
|
output reg [(data_width-1):0] q_a;
|
output reg [(data_width-1):0] q_a;
|
input we_b;
|
input we_b;
|
input clk_a, clk_b;
|
input clk_a, clk_b;
|
reg [(data_width-1):0] q_b;
|
reg [(data_width-1):0] q_b;
|
reg [data_width-1:0] ram [mem_size-1:0] ;
|
reg [data_width-1:0] ram [0:mem_size-1] ;
|
parameter memory_init = 0;
|
parameter memory_init = 0;
|
parameter memory_file = "vl_ram.vmem";
|
parameter memory_file = "vl_ram.vmem";
|
parameter debug = 0;
|
parameter debug = 0;
|
generate
|
generate
|
if (memory_init == 1) begin : init_mem
|
if (memory_init == 1) begin : init_mem
|
Line 1659... |
Line 1659... |
input [(data_width-1):0] d_b;
|
input [(data_width-1):0] d_b;
|
output reg [(data_width-1):0] q_a;
|
output reg [(data_width-1):0] q_a;
|
input we_b;
|
input we_b;
|
input clk_a, clk_b;
|
input clk_a, clk_b;
|
reg [(data_width-1):0] q_b;
|
reg [(data_width-1):0] q_b;
|
reg [data_width-1:0] ram [mem_size-1:0] ;
|
reg [data_width-1:0] ram [0:mem_size-1] ;
|
parameter memory_init = 0;
|
parameter memory_init = 0;
|
parameter memory_file = "vl_ram.vmem";
|
parameter memory_file = "vl_ram.vmem";
|
parameter debug = 0;
|
parameter debug = 0;
|
generate
|
generate
|
if (memory_init) begin : init_mem
|
if (memory_init) begin : init_mem
|