Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 The Two-bit Computer In this lab, you are to design a simple 2-bit computer. The circuit takes three (word-level) inputs AL1:0 Bl1 : 0]

image text in transcribed
image text in transcribed
1 The Two-bit Computer In this lab, you are to design a simple 2-bit "computer". The circuit takes three (word-level) inputs AL1:0 Bl1 : 0] : oj: where A, B, 1 are each 2-hit vectors. In other words. All : 01 = (ai, ao), are binary variables. A:,B1:0 are the "data inputs of the design and 1:0 corresponds to the "control" or the "instruction" input. The output is also a 2-bit vector, Fl!= (f.fo). Circuit functionality: The values of the input control signals ( circuit. The instructions are : 01) decide the operation of this When III : = (ii,io) = (0,0). the output Fli : 0] is a bit-wise complement of All : O! (i.e., f and fi = a, ). . when/11 : = (il, o) = (0.1), the output Fli : oj is a bit-wise AND of the inputs (ie..h = ai-b1; oa 60) . when 1[1 : 0] = (11:10) = (1,0), the output FII : oj is the sum of A and B. . when 1[1 :0] = (h,6) = (1,1), the output Fli :0 is the difference of A from B. Note that when the result of the sum or difference requires more than two bits that the error output is asserted Schematic entry: Using the Altera Quartus tool, draw the schematic corresponding to your design using AND, OR, NOT, XOR, etc. gates. Do not use pre-designed multiplexors (MUXs). Using a Verilog testbench, simulate the schematic and verify the correctness of your design. Your testbench should apply ALL. possible inputs to the design

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions

Question

What attracts you about this role?

Answered: 1 week ago

Question

How many states in India?

Answered: 1 week ago

Question

HOW IS MARKETING CHANGING WITH ARTIFITIAL INTELIGENCE

Answered: 1 week ago

Question

5. Describe how contexts affect listening

Answered: 1 week ago