1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
padilas [110]
3 years ago
13

This assignment covers the sequential circuit component: Register and ALU. In this assignment you are supposed to create your ow

n 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.
Engineering
1 answer:
Luba_88 [7]3 years ago
4 0

Answer:

The part I called command in the first diagram has been renamed to opcode, or operation code. This is a set of bits (a number) that will tell the ALU which action to perform. I can get the LC-3 opcodes for ADD and NOT and ADD from the book, so I'm not too worried.

Note the #? comment by the switch above opcode. This means I'm not sure how many switches I will need. How many bits do I need to perform all the operations I want? The textbook will tell me.

Materials

Now I make a list of all the materials you have accumulated so far. This list is just an example; yours may be different.

Two 4-bit inputs

One 4-bit output

Two keypads for 4-bit input

Three 7-segment displays (2 for input, 1 for output)

A bunch of switches for opcode (could use a keypad, I guess, but switches are so much more geeky)

A bunch of lights too

The "is zero" LED

One button for clock

One button for reset

One switch for carry-in

Include logic to perform a SUB instruction. That is, subtract the second operand from the first (out = in1 - in2). All three values -- both inputs and the output -- must be two's complement numbers (negative numbers must be represented). Your design may work in one (8 points) or two (4 points) clock cycles.

Explanation:

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.

You might be interested in
Two gage marks are placed exactly 250 mm apart on a 12-mm-diameter aluminum rod with E 5 73 GPa and an ultimate strength of 140
NNADVOKAT [17]

Answer:

81.76 N/mm² ( MPa), 1.71233

Explanation:

Modulus of elasticity = stress / strain

stress = modulus of elastic × strain

strain = ΔL / L = 250.28 mm - 250 mm / 250 mm = 0.00112

Modulus of elasticity E = 73 GPa = 73 × 10³ MPa where 1 MPa = 1 N/mm²

E = 73 × 10³N/mm²

stress =  73 × 10³N/mm²× 0.00112 = 81.76 N/mm² ( MPa)

b) Factor of safety = maximum allowable stress / induced stress = 140 MPa / 81.76 MPa = 1.71233

8 0
4 years ago
The thermal conductivity of a solid depends upon the solid’s temperature as k = a T+b where a and b are constants. The temperatu
Alexandra [31]

Answer:

Answer is Option (e) - None of these

Explanation:

The step by step derivation from the fourier's law of heat conduction is as shown in the attachment below.

Where K = thermal conductivity

7 0
4 years ago
Problem: design the following rectangular floor beam for a building.
sammy [17]

Answer:

Area required = 9.5 ft²

Explanation:

Step by step explanation is given in the attached document.

8 0
4 years ago
Read 2 more answers
An organization sets its standards for quality according to the best product it can produce.
Marianna [84]
I believe it’s True, but please correct me if I’m wrong!
6 0
3 years ago
Read 2 more answers
Giải giúp mình câu này được không ạ.em cảm ơn
sp2606 [1]

Answer:

çâdßèöñbvjsjaushdhshs

4 0
3 years ago
Other questions:
  • What is the pressure at the bottom of a 25 ft volume of hydraulic fluid with a weight density of 55 lb/ft3 a. 114.6 psi b. 1375p
    7·1 answer
  • A large piece of equipment in power plants (coal, petroleum, nuclear and geothermal) that converts mechanical energy into an ele
    10·1 answer
  • What is the specific volume of oxygen at 40 psia and 80°F?
    10·1 answer
  • (a) Determine the specific volume of nitrogen gas at 8.5 MPa and 139 K based on the generalized compressibility chart and compar
    15·1 answer
  • Put four red LED as a straight line and connect each of them to a corresponding analog output. Connect a potentiometer to a 5 Vo
    12·1 answer
  • Explain why many sustainable fishing and forestry practice depend on the actions of consumers like you.
    13·2 answers
  • 1. When measuring a cylinder for wear, the most wear will be found at the
    6·1 answer
  • while performing a running compression test how should running compression compare to static compression
    5·1 answer
  • Please help and thank u so much
    6·1 answer
  • At steady state, the power input of a refrigeration cycle is 500 kW. The cycle operates between hot and cold reservoirs which ar
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!