Forum Discussion
LudoFd
New Contributor
5 years agoCompilation Error on Quartus 20.1 Lite
Hello
I can't handle a ccompilation Error on Quartus 20.1 Lite.
As you can see in the screenshot. Quartus have some problem with my code at the line74.
I'm declaring an unresolved s...
- 5 years ago
I think you're supposed to use shift_right instead of sra.
sstrell
Super Contributor
5 years agoWhat is u_unsigned? Do you mean to_unsigned?
LudoFd
New Contributor
5 years agoIt's the alias for unresolved unsigned.
Here is the declaration of this type in the quartus numeric_std package as i found it in the file numeric_std_vhdl2008 from quatus vhdl library file:
type UNRESOLVED_UNSIGNED is array (NATURAL range <>) of STD_ULOGIC;
type UNRESOLVED_SIGNED is array (NATURAL range <>) of STD_ULOGIC;
alias U_UNSIGNED is UNRESOLVED_UNSIGNED;
alias U_SIGNED is UNRESOLVED_SIGNED;
subtype UNSIGNED is (resolved) UNRESOLVED_UNSIGNED;
subtype SIGNED is (resolved) UNRESOLVED_SIGNED;
I have the same error even if I used the complete type name instead of the alias