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:20
Athin walled concentric tube exchanger is used to cool engine oil from 160°c to 60°c with water that is available at 25°c acting as a coolant. the oil and water flow rates are each at 2 kg/s, and the diameter of the inner tube is 0.5 m and the corresponding value of the overall heat transfer coefficient is 250 w/m2. oc. how long must the heat exchanger be to accomplish the desired cooling? cpwater=4.187 kj/kg-candcpengine el=2.035 kj/kg·°c, oil . 120]
Answers: 1
question
Engineering, 04.07.2019 18:20
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
question
Engineering, 04.07.2019 19:10
Asteel wire of 2 mm diameter is fixed between two points located 2 m apart. the tensile force in the wire is 250n, if its density of steel is given by 7830 kg/m3 the fundamental frequency of vibration hz? ?
Answers: 3
question
Engineering, 06.07.2019 03:20
Explain in your own word the concept of a solid solution, in alloys, and how it can be created.
Answers: 3
You know the right answer?
Description
SER232 - Assignment 7
[10 Points]
This assignment covers the sequentia...
Questions
question
Mathematics, 15.10.2021 02:50
question
Mathematics, 15.10.2021 02:50
question
Mathematics, 15.10.2021 02:50
question
Mathematics, 15.10.2021 02:50