Forum Discussion
FvM
Super Contributor
8 months agoUsing different numerical types has no effect on resource consumption, arithmetic operation is essentially the same.
Using carry chain is appropriate for fast comparator, Quartus selects it automatically as default implementation.
Most LUT are used for 32 mux output bits and have nothing to do with comparator function as such.
Using carry chain is appropriate for fast comparator, Quartus selects it automatically as default implementation.
Most LUT are used for 32 mux output bits and have nothing to do with comparator function as such.
- Kuru8 months ago
New Contributor
So, are there no alternatives? Is this the best solution?
Do you think I could write the VHDL code in a way that uses even fewer resources? - FvM8 months ago
Super Contributor
Forgot to mention, to perform numeric operations with std_logic_vector, you need to add VHDL2008 numeric_unsigned or numeric_signed library. Or non-standard Synopsis library before VHDL2008.