I am just learning vhdl, and am trying to use a 3-input nand gate. The code I have is:
G => (A nand B nand C) after 3 ns;
but this does not compile.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not an expert on VHDL but I think you have a couple of mistakes there – it should probably be:
i.e. the assignment is in the wrong direction and I’m not sure that nand commutes in the way that you need it to for 3 inputs, hence the use of
andfor the inputs and thennotto invert the output.