Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi daixiwen (http://www.alteraforum.com/forum/member.php?u=4443)! Thanks for replying my thread.
I realised i had left out the input length but for my case, i have a 2-bit input (AND gate) and it does not match with the 4-bit output! Instead i tried forcing my inputs to a LOW but then again i realised, i need to be able to switch my input to a HIGH too. Any idea on what should i do?
din1: in std_logic_vector:="0" ;
din2: in std_logic_vector:="0" ; This was what i did but i couldn't force it a high when after simulating it! What should i do? :confused: