Question: / / File: projects / p 6 / JumpLogic . hdl / / This file is part of the CSE 3 9 0 B /

// File: projects/p6/JumpLogic.hdl
// This file is part of the CSE 390B
// project series, adapted from the
// Nand2Tetris project.
/**
* Computes and outputs the load and inc signals
* for the program counter based on the given instruction
* and the given zr and ng signals output from the ALU.
* The jump specification and table in chapter
*4.2.3 of the textbook will be very useful.
*/
CHIP JumpLogic {
IN instruction[16],// current instruction
aluzr, // zr output from the ALU
alung; // ng output from the ALU
OUT load, // load signal to be used by the program counter
inc; // inc signal to be used by the program counter
PARTS:
// Put your code here:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!