







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth look at the process of converting code into hardware, focusing on the role of multiplexors and alus. It explains how a 14-bit code representation is used to control multiplexors, which can select one of 32 input voltages and send it to an output. The document also covers the structure and functionality of various alus, from simple 1-bit alus that perform and, or, and addition operations, to more complex 32-bit alus. Students will gain a better understanding of the hardware components involved in the conversion process.
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!








1
From Code To Hardware
2
4
From that code we get a 14-bitEquivalent Binary Representation. 19 05D3^3023
clrf^33 0
3 11 0000 0011
(^0011) C 0 511100 00 00110011 docsity.com
5
What the hardware looks like.Multiplexors SelectorInput bits^0 Output 31
SelectorOutputs Input
7
What the hardware looks like.ALUOn this and the next few pages,we look at increasinglycomplicated forms of ALU.These pictures are taken fromFigs 4.14, 4.17, 4.18, & 4.19 inthe text.
8
What the hardware looks like.ALU – Continued^ A 1-bit ALU that performs AND, OR, and ADDITION.
10
What the hardware looks like.
ALU – Continued
4 m 32 B^32 S^ ALU 32 A ovfc
11
What the hardware looks like.Registers R0 R8 R
MUXToALU MUXFromALU
ALU MUXToALU
Op A^ B Out
13
The hardware reads each of those fields.Registers R0 R8 R
MUXToALU MUXFromALU
ALU MUXToALU
Out 000000 01001
01010 01000
00000
100000 0 9
10 8
(^0 32) A^ B