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
Select the four parts of the plasma system that
Mandarinka [93]

Answer:

Power

pressure

cup

Temperature

Explanation:

6 0
3 years ago
SMAW and GMAW use constant current arc welding machines.<br><br> True<br><br> False
Oksi-84 [34.3K]
It is true. Good luck
4 0
3 years ago
Write multiple if statements:
lora16 [44]
Zrizorzlzfxxxgoxxxxpgxtoxxxhxuxyf
3 0
3 years ago
Why are alternative energy sources not effective? (10 points) I will mark BRAINLIEST&gt;
zaharov [31]

Answer:

Access to energy underpins human comfort, mobility, economic prosperity and social progress. It touches nearly every aspect of modern life. Over the course of its long history of more than a century, ExxonMobil has evolved from a regional marketer of kerosene to an advanced energy and chemical innovator, and one of the largest publicly traded companies in the world. An industry leader in almost every aspect of the energy and chemical manufacturing businesses, we operate facilities or market products in most of the world’s countries, explore for oil and natural gas on six continents, and research and develop next-generation technologies to help meet the dual challenge of fueling global economies while addressing the risks of climate change.

Explanation:

hope we can be friends

can i please get brainliest

5 0
4 years ago
Three piezometers located 1000 m apart bottom in the same horizontal aquifer. Piezometer A is due south of piezometer B and piez
leva [86]

Answer:

Hydraulic gradient=0.0173

Explanation:

The hydraulic head at the points A, B and C will be as follows

A=95-5=90 m

B=110-30=80 m

C=135-35= 100 m

By drawing the equipotential lines, the direction of ground water can be seen as in the triangle

The length of flow will be

L=\sqrt {1000^{2}-500^{2}}\approx 866.025 m

The hydraulic gradient will be given by

i=\frac {\triangle h}{L}=\frac {95-80}{866.025}\approx 0.0173

3 0
3 years ago
Other questions:
  • 2. Similar to problem 1, assume your computer system has a 32-bit byte-addressable architecture where addresses and data are eac
    6·1 answer
  • What is a "gob" as described in the glass making process?
    9·1 answer
  • How nany degrées is the included angle of General Purpose Acme threads? A. 60 B. 29 c. 14.5 D. 10
    15·1 answer
  • Suppose a student rubs a Teflon rod with wool and then briefly touches it to an initially neutral aluminum rod suspended by insu
    6·1 answer
  • Does any1 know TERMS OF MEASUREMENT
    12·2 answers
  • 1. (15) A truck scale is made of a platform and four compression force sensors, one at each corner of the platform. The sensor i
    12·1 answer
  • "Transportation is the way of expanding business activies" justify this statement with long answer​
    10·1 answer
  • Please. my brain isn’t working right now
    13·1 answer
  • 4) What term describes the movement of electrons from one atom to another? A) Chain reaction B) Energy transfer C) Electricity D
    11·2 answers
  • Anything that is made to meet a need or desire is?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!