Signal initialization VHDL

612 Views Asked by At

I have an entity which has this

TEMPERATURE: in STD_LOGIC_VECTOR(7 downto 0);

as one of the inputs and I need a signal that has the initial value TEMPERATURE. In the entity architecture I've declared the signal

signal temp:STD_LOGIC_VECTOR(7 downto 0):=TEMPERATURE;

but when simulating temp remains UU(unassigned). How do I fix this?

0

There are 0 best solutions below