Question: write the code Your NOR gate will be 16 bits wide, and can be built from two 8 input OR gates, one 2 input OR
write the code
Your NOR gate will be 16 bits wide, and can be built from two 8 input OR gates, one 2 input OR gate, and one Not gate (to generate NOR from OR). Use the built-in nand2tetris 8 - and 2 input OR gates with the following HDL syntax: Or (a=,b=, out =);// two input Or gate Or8Way(in= ,out= ); //8 input Or gate note: use bus notation Use the following HDL as a starting point for your Nor8Way16 chip: // This file is for use with www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // Create this file in your nand2tetris projects/02 folder with // the name Nor16Way.hdl // e.g. File name: projects/02/Nor16Way.hdl /** * 16-way Nor: * out =not( in[0] or in[1] or ... or in[15]) / CHIP Nor16Way \{ IN in[16]; OUT out; PARTS: // Put your code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
