Hardware Questions

Q:

Write an RTL Description for D latch and D flip flop?

Answer

For D latch: always@(enable) q<=d;


For D flip flop: always@(opsedge clock) q<=d; 

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1831
Q:

What is the difference between, page directive include, action tag include?

Answer

One difference is while using the include page directive, in translation time it is creating two servelts. But, while using the include action tag, in translation time it is creating only one servlet.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1827
Q:

Give the truth table for a Half Adder. Give a gate level Implementation of the same.

Answer

TRUTH TABLE FOR HALF ADDER


A    B  SUM  CARRY


0    0    0         0


0    1    1         0


1    0    1         0


1    1    0         1


INPLEMENTATION:


For SUM, The two inputs A and B are given to XOR gate.


For Carry, The two inputs A and B are given to AND gate.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1820
Q:

What does the EU do?

Answer

Execution Unit receives program instruction codes and data from BIU, executes these instructions and store the result in general registers.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1819
Q:

what is the interrupt?

Answer

interrupt is a signal send by external device to the processor so as to request the processor to perform a particular work.


A signal informing a program that an events has occurred. when a program receives an interrupt signal, it takes a specified action (which can be to ignore the signal).

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1815
Q:

Name 5 different addressing modes?

Answer

Immediate, Direct, Register, Register indirect, Implied addressing modes.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1802
Q:

What is LATCH?

Answer

Latch is a D-type flip-flop used as a temporary tsorage device controlled by a tiing singnal, which can store 0 or 1. the primary function of a Latch is data storage. It is used in output devices such as LED, to hold the data for display.


To Store Monitor programs.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1798
Q:

Why the temporary registers W and Z are named so i mean we start from A, B, C, D, E then H and L coz H stands for higher bit and L for lower bit of the address pinted by memory pointer.. but wats W and Z for?

Answer

As W and Z alphabets are not widely used similarly as W and Z is internally used they would have been named so

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 1797