shankyD
Newbie
- Joined
- Nov 12, 2009
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- singapore
- Activity points
- 1,295
Hi,
My assignment is to build a 4-bit calculator. Basically, the input is a keypad from 0 to F. Where using A as '+' and E and '='. The components are the registers, full adders and a BCD segment display. Well, my group and I and kind of stuck figuring out the FSM for the calculator as our lecturer wants us to build the FSM using CedarLogic and from there to modify it. We have tried using the keypad as inputs and 2 states and the outputs are the 4 bits, 2 for resetting the register, 2 for loading the register and one for generating the display from the output of the adder. what we want to do is, when keying a number, it should appear on the display as well as going into to the register. Then, waiting for the A or E operation. Once A is pressed, the display will still show the first input till a second input number is keyed in. We are also wanting to make it a cascade addition. Once E is pressed, the output of the adder will be displayed. Pretty simple. We don't want the to be given the solution. just helping it would be really great.
Thank you in advance.
My assignment is to build a 4-bit calculator. Basically, the input is a keypad from 0 to F. Where using A as '+' and E and '='. The components are the registers, full adders and a BCD segment display. Well, my group and I and kind of stuck figuring out the FSM for the calculator as our lecturer wants us to build the FSM using CedarLogic and from there to modify it. We have tried using the keypad as inputs and 2 states and the outputs are the 4 bits, 2 for resetting the register, 2 for loading the register and one for generating the display from the output of the adder. what we want to do is, when keying a number, it should appear on the display as well as going into to the register. Then, waiting for the A or E operation. Once A is pressed, the display will still show the first input till a second input number is keyed in. We are also wanting to make it a cascade addition. Once E is pressed, the output of the adder will be displayed. Pretty simple. We don't want the to be given the solution. just helping it would be really great.
Thank you in advance.