From: Eddie Hung Date: Thu, 8 Aug 2019 17:44:26 +0000 (-0700) Subject: Fix copy-pasta typo X-Git-Tag: working-ls180~1039^2~261 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13cc106cf7409570936f441af2cc133896f4ecb4;p=yosys.git Fix copy-pasta typo --- diff --git a/techlibs/xilinx/cells_sim.v b/techlibs/xilinx/cells_sim.v index 8b6eaae5d..2731cb454 100644 --- a/techlibs/xilinx/cells_sim.v +++ b/techlibs/xilinx/cells_sim.v @@ -522,7 +522,7 @@ module DSP48E1 ( always @* Ar2 <= A_muxed; end - // Configurable A register + // Configurable B register if (BREG == 2) begin always @(posedge CLK) if (RSTB) begin @@ -532,7 +532,7 @@ module DSP48E1 ( if (CEB1) Br1 <= B_muxed; if (CEB2) Br2 <= Br1; end - end else if (AREG == 1) begin + end else if (BREG == 1) begin always @(posedge CLK) if (RSTB) begin Br1 <= 18'b0;