JimmyTW
Newbie level 1
- Joined
- Feb 5, 2015
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 7
--##
sig1 : std_logic_vector(11 downto 0);
sigN : std_logic_vector(N-1 downto 0);
sig1assign : std_logic_vector(15 downto 0);
sigNassign : std_logic_vector(15 downto 0);
sigAassign = "0000" & sig1;
sigNassign = ???? & signN; -- how do you define the 16-N width of the ???? vector?
--##
sigNassign = signN + conv_std_logic_vector(0, 16);
sig1 : std_logic_vector(11 downto 0);
sigN : std_logic_vector(N-1 downto 0);
sig1assign : std_logic_vector(15 downto 0);
sigNassign : std_logic_vector(15 downto 0);
sigAassign = "0000" & sig1;
sigNassign = ???? & signN; -- how do you define the 16-N width of the ???? vector?
--##
sigNassign = signN + conv_std_logic_vector(0, 16);