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
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 19:10
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
You know the right answer?
Description
SER232 - Assignment 7
[10 Points]
This assignment covers the sequentia...
Questions
question
Mathematics, 06.06.2021 23:20
question
Mathematics, 06.06.2021 23:20
question
Mathematics, 06.06.2021 23:20
question
Mathematics, 06.06.2021 23:20
question
Mathematics, 06.06.2021 23:20
question
Mathematics, 06.06.2021 23:20
question
Mathematics, 06.06.2021 23:20
Questions on the website: 13722362