fpga: x300: sfpp: Fix warning about duplicate reg
This removes a duplicate code section that causes build warnings. It also references a wire that gets declared further down and the removed and remaining code sections were incorrectly indented. Original-commit: e8084eb4cb4ec6ff6476feb6e77ab3ea45dd969e
This commit is contained in:
@@ -395,16 +395,6 @@ generate
|
|||||||
.bist_checker_errors(bist_checker_errors)
|
.bist_checker_errors(bist_checker_errors)
|
||||||
);
|
);
|
||||||
|
|
||||||
reg mac_crit_err_latch;
|
|
||||||
always @(posedge bus_clk) begin
|
|
||||||
if (bus_rst | mac_clear) begin
|
|
||||||
mac_crit_err_latch <= 1'b0;
|
|
||||||
end else begin
|
|
||||||
if (mac_crit_err_bclk)
|
|
||||||
mac_crit_err_latch <= 1'b1;
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
assign m_axis_tuser = 4'd0;
|
assign m_axis_tuser = 4'd0;
|
||||||
|
|
||||||
wire set_stb;
|
wire set_stb;
|
||||||
|
|||||||
Reference in New Issue
Block a user