F
fl
Guest
Hi,
I see the following on a tutorial, but it is not clear about the differences
between type qualifier and type casting.
How do I use either one from "1010" and B_slv?
Thanks,
â VHDL type qualifier (type_name') is a mechanism that specifies the type
of an operand or return value of a subprogram (or operator).
Z_sv <= A_sv + signed'("1010") ;
â Without ', it is type casting. Use type casting for:
Z_sv <= A_sv + signed(B_slv) ;
I see the following on a tutorial, but it is not clear about the differences
between type qualifier and type casting.
How do I use either one from "1010" and B_slv?
Thanks,
â VHDL type qualifier (type_name') is a mechanism that specifies the type
of an operand or return value of a subprogram (or operator).
Z_sv <= A_sv + signed'("1010") ;
â Without ', it is type casting. Use type casting for:
Z_sv <= A_sv + signed(B_slv) ;