fix: resolve OoO simulation timeout
This commit is contained in:
27
generated-ooo/data_1024x256.sv
Normal file
27
generated-ooo/data_1024x256.sv
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated by CIRCT firtool-1.139.0
|
||||
// VCS coverage exclude_file
|
||||
module data_1024x256(
|
||||
input [9:0] R0_addr,
|
||||
input R0_en,
|
||||
R0_clk,
|
||||
output [255:0] R0_data,
|
||||
input [9:0] W0_addr,
|
||||
input W0_en,
|
||||
W0_clk,
|
||||
input [255:0] W0_data
|
||||
);
|
||||
|
||||
reg [255:0] Memory[0:1023];
|
||||
reg _R0_en_d0;
|
||||
reg [9:0] _R0_addr_d0;
|
||||
always @(posedge R0_clk) begin
|
||||
_R0_en_d0 <= R0_en;
|
||||
_R0_addr_d0 <= R0_addr;
|
||||
end // always @(posedge)
|
||||
always @(posedge W0_clk) begin
|
||||
if (W0_en)
|
||||
Memory[W0_addr] <= W0_data;
|
||||
end // always @(posedge)
|
||||
assign R0_data = _R0_en_d0 ? Memory[_R0_addr_d0] : 256'bx;
|
||||
endmodule
|
||||
|
||||
Reference in New Issue
Block a user