Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a digital circuit that receives a 4 bits BCD - coded ( * ) number X = abcd and returns a signal M 5

Design a digital circuit that receives a 4 bits BCD-coded(*) number X = abcd and returns a signal M5=1 if X=0 or multiple of 5; and M5=0 otherwise. The algorithm below shows the functional description of the circuit ("dc" means a dont care combination).
Inputs and outputs of the circuit must be named as: a, b, c, d, and M5. Respect the upper and lowercases.
(*): BCD code (Binary Coded Decimal) encodes any base-10 number from 0 to 9 in base-2, using 4 bits. That is,0 is coded by 0000,1 by 0001,2 by 0010 and so on until 9, which is encoded by 1001. Base-10 numbers higher than 9 require at least 2 digits and, consequently, they will never enter to the circuit.
if X >1001 then M5<=dc;
elsif (X=0000 or X=0101) then M5<=1;
else M5<=0;
end if;
end if;
Instructions to answer this question
1) In the virtual machine, open VerilUOC_Desktop and draw the circuit.
2) Click in Simulate->Verification and then click in the VerilCirc tab.
3) In "Module" select "Graded Exercises" and click on exercise 3.3.b.
4) VerilCirc returns a 4 uppercase letters code. Type it in the answer box.

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

Students also viewed these Databases questions