Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

ASM Chart for Full Adder

Hi Folks,

I am new to this subject and have been studying Algorithmic State Machine charts. I have drawn one for a 1 bit full adder (Mealy type). I want to convert the chart into VHDL code, from the ASM chart the code would appear to consist of switch case statements, however there is a much simpler way to implement it as

Sum=(A Ex-ored B ) Ex-ored C and

Cout =(A and B ) or Cin.(A Ex-or B )

May be the problem is I have drawn the ASM incorrectly. I also do not really know how to convert the ASM design for 1-bit full adder into a Moore type design. Any advice would be appreciated.
No RepliesBe the first to reply