We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343abf8 commit c3362fbCopy full SHA for c3362fb
true_dual_port_write_first_2_clock_ram.sv
@@ -54,10 +54,16 @@ module true_dual_port_write_first_2_clock_ram #( parameter
54
output [RAM_WIDTH-1:0] doutb
55
);
56
57
+
58
59
logic [RAM_WIDTH-1:0] BRAM [RAM_DEPTH-1:0];
60
logic [RAM_WIDTH-1:0] ram_data_a = {RAM_WIDTH{1'b0}};
61
logic [RAM_WIDTH-1:0] ram_data_b = {RAM_WIDTH{1'b0}};
62
63
+ // ONLY FOR QUARTUS IDE
64
+ // You can provide initialization in convinient .mif format
65
+ //(* ram_init_file = INIT_FILE *) logic [RAM_WIDTH-1:0] BRAM [RAM_DEPTH-1:0];
66
67
// either initializes the memory values to a specified file or to all zeros
68
generate
69
if (INIT_FILE != "") begin: use_init_file
0 commit comments