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
parent
4982104982
commit
1d4b27ea8c
|
@ -255,8 +255,8 @@ module util_axis_fifo_asym #(
|
||||||
|
|
||||||
generate
|
generate
|
||||||
if (RATIO == 1) begin
|
if (RATIO == 1) begin
|
||||||
always @(*) begin
|
initial begin
|
||||||
s_axis_counter <= 1'b1;
|
s_axis_counter = 1'b1;
|
||||||
end
|
end
|
||||||
end else if (RATIO > 1) begin
|
end else if (RATIO > 1) begin
|
||||||
if (RATIO_TYPE) begin
|
if (RATIO_TYPE) begin
|
||||||
|
@ -288,8 +288,8 @@ module util_axis_fifo_asym #(
|
||||||
|
|
||||||
generate
|
generate
|
||||||
if (RATIO == 1) begin
|
if (RATIO == 1) begin
|
||||||
always @(*) begin
|
initial begin
|
||||||
m_axis_counter <= 1'b0;
|
m_axis_counter = 1'b0;
|
||||||
end
|
end
|
||||||
end else if (RATIO > 1) begin
|
end else if (RATIO > 1) begin
|
||||||
always @(posedge m_axis_aclk) begin
|
always @(posedge m_axis_aclk) begin
|
||||||
|
|
Loading…
Reference in New Issue