Forum Discussion
Altera_Forum
Honored Contributor
11 years agoVerliog - & and | operations backwards?
I am learning Verilog and at a stage in which I would like to see some results from my dev board. I have started with a very simple program which takes two inputs and uses the "&" function to outp...
Altera_Forum
Honored Contributor
11 years agoFound a solution to my own problem! I invert the inputs and then the output which gives a normal gate operation.
out_1 <= ~(~in_1 & ~in_2); Many thanks for your help!