mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 03:15:50 +00:00
intel_alm: Fix illegal carry chains
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
eb106732d9
commit
34a08750fa
4 changed files with 9 additions and 7 deletions
|
@ -34,7 +34,7 @@ wire [Y_WIDTH:0] ALM_CARRY;
|
|||
|
||||
// Start of carry chain
|
||||
generate
|
||||
if (_TECHMAP_CONSTMSK_CI_ == 1) begin
|
||||
if (_TECHMAP_CONSTMSK_CI_ == 1 && _TECHMAP_CONSTVAL_CI_ == 1'b0) begin
|
||||
assign ALM_CARRY[0] = _TECHMAP_CONSTVAL_CI_;
|
||||
end else begin
|
||||
MISTRAL_ALUT_ARITH #(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue