I defined my condition as follows:
type state_type is (s0, s1, s2, s3);
signal state : state_type;
Now I would like to use this status information to form another signal
signal data : std_logic_vector(3 downto 0);
signal data_plus_state : std_logic_vector(5 downto 0);
....
data_plus_state <= data & state;
Does anyone know how I can coordinate the state in std_logic_vector so that I can combine these two signals?
Thanks a lot Rob
source
share