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 agoUnless you are being forced to use AHDL then I would pick a modern language like verilog or VHDL. For example this is much easier (verilog)
assign sum = a + b; .... that's it, if you wanted to do this two one bit adders you would code up the individual sum bits and carries manually.