NAND2TETRIS HARDWARE SIMULATOR (HARDWARE DESCRIPTION LANGUAGE (HDL)) ,USING SKELETON PROGRAM PROVIDED AND USING PREDIFINED GATES ATTACHED. CHIP HiLoMux { IN in[8], sel; OUT out[4]; PARTS: }   Implement HiLoMux - This has one 8-bit input bus, in, and one 4-bit output bus, out. Also present is a sel input, which is used to select what appears on out. If sel is false, then out should contain the lower 4-bits of in (i.e. in[0], in[1], in[2], in[3]). If sel is true, then out should contain the upper 4-bits of in (i.e. in[4] mapped to out[0], in[5], mapped to out[1], etc.).

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

NAND2TETRIS HARDWARE SIMULATOR (HARDWARE DESCRIPTION LANGUAGE (HDL)) ,USING SKELETON PROGRAM PROVIDED AND USING PREDIFINED GATES ATTACHED.

CHIP HiLoMux

{

IN in[8], sel;

OUT out[4];

PARTS:

}  

Implement HiLoMux - This has one 8-bit input bus, in, and one 4-bit output bus, out. Also
present is a sel input, which is used to select what appears on out. If
sel is false, then out should contain the lower 4-bits of in (i.e. in[0],
in[1], in[2], in[3]). If sel is true, then out should contain the
upper 4-bits of in (i.e. in[4] mapped to out[0], in[5], mapped to
out[1], etc.). 

Not 4
And4
Or4
Xor4
Add4C
Register8
This has one input bus, in, and one output bus, out. Each bit of the output is
the inverse (i.e. not) of the corresponding input bit.
This has two input buses, a and b, and one output bus, out. Each bit of the
output is the result of logically anding together the corresponding input bits in a
and b.
This has two input buses, a and b, and one output bus, out. Each bit of the
output is the result of logically oring together the corresponding input bits in a
and b.
This has two input buses, a and b, and one output bus, out. Each bit of the
output is the result of logically Xoring together the corresponding input bits in a
and b.
This has two input buses, a and b, and one output bus, out. Each bit of the
output is the result of adding together the corresponding input bits in a and b,
while making sure that any carry is propagated to the next bit.
Add4 also has an additional carryIn input, which is used to feed carry into first
addition, and a carryOut output which carries the carry out of the final addition.
This gate has one 8-bit input bus, in, and one output bus, out, and is designed
to store a single byte (8-bits) of information. As with pre-supplied Bit, a further
input load controls whether the output should be updated to reflect the new
input value (when true), or should preserve the output.
Transcribed Image Text:Not 4 And4 Or4 Xor4 Add4C Register8 This has one input bus, in, and one output bus, out. Each bit of the output is the inverse (i.e. not) of the corresponding input bit. This has two input buses, a and b, and one output bus, out. Each bit of the output is the result of logically anding together the corresponding input bits in a and b. This has two input buses, a and b, and one output bus, out. Each bit of the output is the result of logically oring together the corresponding input bits in a and b. This has two input buses, a and b, and one output bus, out. Each bit of the output is the result of logically Xoring together the corresponding input bits in a and b. This has two input buses, a and b, and one output bus, out. Each bit of the output is the result of adding together the corresponding input bits in a and b, while making sure that any carry is propagated to the next bit. Add4 also has an additional carryIn input, which is used to feed carry into first addition, and a carryOut output which carries the carry out of the final addition. This gate has one 8-bit input bus, in, and one output bus, out, and is designed to store a single byte (8-bits) of information. As with pre-supplied Bit, a further input load controls whether the output should be updated to reflect the new input value (when true), or should preserve the output.
Mux4
Mux8
This has two input buses, a and b and one output bus, out. Also
present is a sel input, which is used to select whether input a or b is
passed to out. If sel is false, input a should be selected, otherwise
input b should be selected.
This is an 8-bit version of Mux4. It has two input buses, a and b and one
output bus, out. Also present is a sel input, which is used to select
whether input a or b is passed to out. If sel is false, input a should be
selected, otherwise input b should be selected.
Mux4Way8 This is essentially the same a the Mux8 except it can select between
four different inputs (a, b, c, and d) and so sel is two bits wide -
hence, 4Way...
Mux8Way8 This is essentially the same as the Mux4way8 defined above, however
this time there are eight inputs and sel is three bits wide. You should
adapt your earlier implementation to reflect this change.
Transcribed Image Text:Mux4 Mux8 This has two input buses, a and b and one output bus, out. Also present is a sel input, which is used to select whether input a or b is passed to out. If sel is false, input a should be selected, otherwise input b should be selected. This is an 8-bit version of Mux4. It has two input buses, a and b and one output bus, out. Also present is a sel input, which is used to select whether input a or b is passed to out. If sel is false, input a should be selected, otherwise input b should be selected. Mux4Way8 This is essentially the same a the Mux8 except it can select between four different inputs (a, b, c, and d) and so sel is two bits wide - hence, 4Way... Mux8Way8 This is essentially the same as the Mux4way8 defined above, however this time there are eight inputs and sel is three bits wide. You should adapt your earlier implementation to reflect this change.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY