util_axis_fifo_asym: Fixes for simulation

Initialization of regs was not executed in always(*) blocks since
the block is not triggered due missing inputs.
main
Laszlo Nagy 2022-06-22 13:20:33 +01:00 committed by Laszlo Nagy
parent 4982104982
commit 1d4b27ea8c
1 changed files with 4 additions and 4 deletions

View File

@ -255,8 +255,8 @@ module util_axis_fifo_asym #(
generate
if (RATIO == 1) begin
always @(*) begin
s_axis_counter <= 1'b1;
initial begin
s_axis_counter = 1'b1;
end
end else if (RATIO > 1) begin
if (RATIO_TYPE) begin
@ -288,8 +288,8 @@ module util_axis_fifo_asym #(
generate
if (RATIO == 1) begin
always @(*) begin
m_axis_counter <= 1'b0;
initial begin
m_axis_counter = 1'b0;
end
end else if (RATIO > 1) begin
always @(posedge m_axis_aclk) begin