Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow can I design a 2 BIT ADDER using AHDL
Hi all I am having difficulty designing this circuit using AHDL. I have the truth table and the actual circuit built, I just do not know where to begin on writing the actual tdf code. I am using 3 XO...
Altera_Forum
Honored Contributor
16 years agoYou can do anything in AHDL like you could in Verilog or VHDL. Just with a lot less typing. But the drawback is it seems to be a dying langage as it is just used by Altera.
Anyway why not just add. e.g. in variables s[2..0] : NODE; a[1..0] : NODE; b[1..0] : NODE; in main section s[2..0] = (0,a[1..0]) + (0,b[1..0]) ; regards DaveLuscher