subject
Engineering, 25.02.2020 03:59 Manuel2019

Description
SER232 - Assignment 7
[10 Points]
This assignment covers the sequential circuit component: Register and ALU. In this as- signment you are supposed to create your own storage component for two numbers using registers. Those two numbers are then passed into a custom ALU that calculates the result of one of four possible operations. Key aspect of this assignment is to understand how to control registers, how to route signals and how to design a custom ALU.
Tasks
Use the provided template to implement your storage component and custom ALU.
Storage
The storage component must function as follows:
• Changing the value of Number Input is not allowed to have any effect on the register
outputs of the storage component (e. g. visible on hex display in main).
• Only pressing the Write button is allowed to have an effect on the outputs of the storage component and is supposed to store the current input value into the selected register.
• The Register Select input will determine which register is being written to. If the select value is 0, the value will be stored in register 1. If the value is 1, register 2 will be used.
• In order to route the input value to the correct register, you must use a demulti- plexer. Use the enable input of the demultiplexer to trigger the writing. Note: The non-selected outputs of the demultiplexer will always output 0. To prevent storing this value in the other register, which is currently not being written to, use the enable input of the registers to make sure only the correct register stores the value. If the register enable is 1, it will store with every rising edge of the clock. If 0, it will ignore all rising edges from the clock and keep its current value. Remember that the register select indicates which register is supposed to store the value.
• The two outputs (Register 1 and Register 2) will always show the value that is currently stored in the respective register.
Important: Always make sure the Logisim clock is running before you test anything (Simulate, Ticks Enabled; you can also increase the Tick Frequency to 64 Hz to make
the circuit respond faster).
Notes:
• You are allowed to use the Logisim built-in registers.
• The clear input of the register should not be used (do not connect anything to
them).
Custom ALU
Use the provided subcircuit in the template to implement your ALU. You do not have to create additional subcircuits to do this. The ALU has a total of three inputs: First number, second number and select operation input. And one output: Result. The first and second number are used as input for the operations the ALU performs. The select input decides which operation result will be on the single output of the ALU. The ALU is supposed to calculate: NumberA OPERATION NumberB. Register 1 of the storage contains NumberA and Register 2 contains NumberB. The ALU must be able to compute signals with a 4-bit width. Make sure to add labels to all inputs and outputs.
The following operations should be performed for each select input combination (s1s0): • 00: Logic Bitwise XOR
• 01: Multiplication
• 10: Division
• 11: Addition Notes:
• You can change the inputs bit width / data bits of any gate to more that 1-bit.
• The Logic Bitwise XOR operation can be done with a single XOR gate.
• You are also allowed to use the built-in arithmetic logic components and multi- plexer provided by Logisim.
• If the result is larger than 4 bits, it will be truncated (only 4 LSB will be shown). This behavior is intended for this assignment. Also, negative results do not have to be considered.
Once you have implemented the ALU circuit, connect the wires in the main circuit properly and test all four operations of your ALU in combination with the storage component.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
question
Engineering, 04.07.2019 18:20
Vibration monitoring this technique uses the noise or vibration created by mechanical equipment and in seme cases by plant systems to detemine their actual condtion. a)- true b)- false
Answers: 2
You know the right answer?
Description
SER232 - Assignment 7
[10 Points]
This assignment covers the sequentia...
Questions
question
Social Studies, 27.08.2019 23:00
question
Mathematics, 27.08.2019 23:10
question
Advanced Placement (AP), 27.08.2019 23:10
Questions on the website: 13722362