Question
I'm designing an 8-bit calculator in Logism, however the design is beyond my scope at the moment. I need help designing the circuity layot for
I'm designing an 8-bit calculator in Logism, however the design is beyond my scope at the moment. I need help designing the circuity layot for the controller and datapath circuits. Here's the details:
In this assignment you will convert a high-level state machine into a datapath and integrate it with a corresponding controller. You are provided a state diagram of the calculator display controller, which must be converted into a controller circuit. This controller will be integrated into the datapath of an 8-bit calculator and used to control the output of the calculator. Multiple other components must be implemented and used in the datapath to make the 8-bit calculator work, like an ALU and a number storage. The calculator has one 8-bit input, 5 buttons (equal, add, subtract, multiply and divide) and two 4-bit outputs for two hex displays (see figure 1). The user can interact with the calculator by changing the input and pressing the buttons.
To use the calculator, the user will follow these steps: 1. Set the value of the first number on the 8-bit input. Changing this input value should not be visible on the display. 2. Once the user has set the correct value of the first number, an operator must be pressed. This stores the first number, the selected operator and shows the first number on the display in hexadecimal representation. 3. Optionally, the user can change the value of the first number (again, changing the input should not be visible on the output) and/or change the operator by pressing a different operator button than before. Pressing any of the operator buttons updates the stored value of the first number, updates the stored operator and shows the updated first number on the display. 4. After storing the first number by selecting an operator, the user can now input the value of the second number using the 8-bit input. Once the input value is set, the user can press the equal button to see the correct result of the calculation on the display in hexadecimal representation. 5. Optionally, the user can change the value of the second number by changing the 8-bit input and pressing equal again. This updates the result on the display with the changed second number. 6. Now the calculator is ready to do the next calculation: Setting the input value to the first number and pressing an operator starts a new calculation (see step 1 and 2). The result of the previous calculation does not have an effect on the following (e.g. must not be used for the following calculation in any way).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started