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

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 15:10, breannaasmith1122
Two flowing streams of argon gas are adiabatically mixed to form a single flow/stream. one stream is 1.5 kg/s at 400 kpa and 200 c while the second stream is 2kg/s at 500 kpa and 100 ? . it is stated that the exit state of the mixed single flow of argon gas is 150 c and 300 kpa. assuming there is no work output or input during the mixing process, does this process violate either the first or the second law or both? explain and state all your assumptions.
Answers: 1
image
Engineering, 04.07.2019 18:10, ashleybaber4966
If a particle moves along a path such that r : (3 sin t) m and ? : 2t rad, where t is in seconds. what is the particle's acceleration in m/s in 4 seconds? a)- 16.43 b)- 16.29 c)- 15.21 d)- 13.79
Answers: 1
image
Engineering, 04.07.2019 18:10, xboxdude06
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
image
Engineering, 04.07.2019 18:10, mirmir62
Machinery that is a key part of the process and without which the plant or process cannot function is classifed as: (clo4) a)-critical machinery b)-essential machinery c)-general purpose machinery d)-none of the specified options.
Answers: 1
You know the right answer?
Description
SER232 - Assignment 7
[10 Points]
This assignment covers the sequentia...

Questions in other subjects: