How to correctly assign the value of 2x+10 to y in the following VHDL code?
TYPE long IS INTEGER RANGE -1000 TO 1000;
TYPE short IS INTEGER RANGE -10 TO 10;
SIGNAL x : short;
SIGNAL y : long;

Posted on by