Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are required to modify the Tristate Bus to add an Adder. The adder will add the contents of registers A and B and store

You are required to modify the Tristate Bus to add an Adder.  The adder will add the contents of registers A and B and store the result into register A, B, or C.  

Eni Tristate bus Input data Ena 8 Enb 8% Enc Lda Reg. A Ldb Reg. B Ldc Reg. C Clock

module datapathBus(
  inout [7:0] dataBus,
  // Control Signals
  input enbIn, enbA, enbB, enbC,
  input ldA, ldB, ldC,
  //
  input reset,
  input clock);

  wire [7:0] dataOutA, dataOutB, dataOutC;

  tristateBuf triBufIn(dataBus, dataBus, enbIn);

  tristateBuf triBufA(dataOutA, dataBus, enbA);
  tristateBuf triBufB(dataOutB, dataBus, enbB);
  tristateBuf triBufC(dataOutC, dataBus, enbC);

  eightBitRegister regA(dataBus, dataOutA, ldA, reset, clock);
  eightBitRegister regB(dataBus, dataOutB, ldB, reset, clock);
  eightBitRegister regC(dataBus, dataOutC, ldC, reset, clock);

endmodule

1. How many cycles do you need to perform the operation A = A + B. Show all control signal sin each cycle. 2. How many cycles
 

Input data Eni Lda Clock Ena Reg. A 8 Enb Ldb- Tristate bus Reg. B 8X Ldc Enc Reg. C

Step by Step Solution

3.47 Rating (177 Votes )

There are 3 Steps involved in it

Step: 1

Answer 1 The operation A A B can be performed in 2 cycles In the first cycle the contents of registers A and B must be read into the bus In the second cycle the result of the addition will be stored i... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Accounting The Impact on Decision Makers

Authors: Gary A. Porter, Curtis L. Norton

9th edition

130565417X, 1305654174, 9781285972572 , 978-1285182964

More Books

Students also viewed these Mathematics questions

Question

What is peptization and how is it avoided?

Answered: 1 week ago

Question

Describe the contributions of Keller and Marion Breland.

Answered: 1 week ago