Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Hello Dears: I found i can use LCELL primitive in my project, but i can't use CARRY&CARRY_SUM primitive. My current QII version is 11.1+sp2. I remember i could use them in the old version. Also i found some words from the user guide as below: "■The cout port of the CARRY_SUM primitive can feed one or two cones of logic. If the CARRY_SUM primitive feeds two cones of logic, one and only one of the cones of logic must be buffered by another CARRY_SUM primitive. In this case, both cones of logic are implemented in the same logic cell. You must follow this rule to tie down the sum and carry-out functions for the first stage of an adder or counter. ■ A cone of logic that feeds the cin port of a CARRY_SUM primitive can have up to two inputs. A third input is allowed only if it is a CARRY_SUM input or a q feedback from the register. ■ The cout port of the CARRY_SUM primitive cannot feed an output pin. ■ The cin port of the CARRY_SUM primitive cannot be fed by an input pin. ■ The cout port of two different CARRY_SUM primitives cannot feed the same gate." I design my project follow above items exactly! I archived my project and attching here, anyone pls help to check it, thank you very much!!! --- Quote End --- It seems the primitive is optimized away, from attched JEP file! The sin is connected directly to sout!!!!