mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-23 11:37:55 +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
|
@ -230,8 +230,10 @@ assign Q = ~A;
|
|||
|
||||
endmodule
|
||||
|
||||
(* abc9_box, lib_whitebox *)
|
||||
module MISTRAL_ALUT_ARITH(input A, B, C, D0, D1, (* abc9_carry *) input CI, output SO, (* abc9_carry *) output CO);
|
||||
// Despite the abc9_carry attributes, this doesn't seem to stop ABC9 adding illegal fanout to the carry chain that nextpnr cannot handle.
|
||||
// So we treat it as a total blackbox from ABC9's perspective for now.
|
||||
// (* abc9_box, lib_whitebox *)
|
||||
module MISTRAL_ALUT_ARITH(input A, B, C, D0, D1, /* (* abc9_carry *) */ input CI, output SO, /* (* abc9_carry *) */ output CO);
|
||||
|
||||
parameter LUT0 = 16'h0000;
|
||||
parameter LUT1 = 16'h0000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue