Week 5 - Digital Systems: From Logic Gates to Processors

Graded quiz 5

Question 1 Which statement is true?:

The frequency of a clock signal with period T=10ns is 100MHz.

Question 1 Which statement is true?

The clock signal controls that the outputs of all the logic gates of the circuit change their value at the same time.

Question 2 Complete the following time chart Chart Not Fixed Instructions to answer this question 1) In the virtual machine, open VerilUOC_Desktop, click on Simulate-> Verification and then click on the VerilChart tab. 2) In "Module" select "Graded Exercises", click on exercise <Variable> and enter the time chart. 3) Click on Verify (bottom-right corner). VerilChart returns a 4 uppercase letters code. Type it in the answer box.

Variable: 5.2.a
GXTC
Variable: 5.2.b
UIMI

Question 3 The graph shown in figure 1 describes a 2-input (x1, x0), 1-output (Z) sequential circuit Assume that the initial state is “A” and write the sequence of states and outputs reached by the circuit when the input pattern shown in table 1 is received. Note: Write the state/output pairs at t0, t1, t2 and t3, separated by a space. Example: If in t0 the circuit goes from A to C with output 0, then in t1 remains at C with output 1; in t2 changes to state D with output 0 and finally in t3 changes to state C with output 1, you should write C/0 C/1 D/0 C/1

D/0 C/0 A/1 A/0

Question 4 We want to design a circuit that controls the opening and closing of an access gate for vehicles. The control system receives 4 input signals:

  1. Request: Comes from a button that the vehicle’ driver presses (Request=1) to open the gate.
  2. Upper: Comes from a sensor in the gate. Takes value 1 when the gate is fully open.
  3. Lower: Comes from a sensor in the gate. Takes value 1 when the gate is fully closed.
  4. Sensors: Comes from sensors located in the "gate area" (see figure). Takes value 0 when that area is free of vehicles.
The control circuit generates 2 outputs:
  • ON/OFF: Motor power off (ON/OFF=0) or power on (ON/OFF=1)
  • UP/DOWN: Indicates the direction of the gate movement.
  • Open the gate: ON/OFF=1, UP/DOWN=0
  • Close the gate: ON/OFF=1, UP/DOWN=1
The control circuit must perform the following sequence of operations:
  1. Wait for an access request signal (Request=1)
  2. Open the gate (ON/OFF=1, UP/DOWN=0)
  3. Wait until the gate is fully open (Upper=1)
  4. Wait until the gate area is clear of vehicles (Sensors=0) and begin to close the door (ON/OFF=1, UP/DOWN=1)
  5. Wait until the gate fully closed (Lower=1) and return to the initial state, waiting for a new “Request” signal.

No new access request will be attended until this sequence of events is completed.
Which of the following graphs defines the circuit?

(Note: Let’s see that only one signal appears on every edge. That means that the transition to the new state depends only on this signal, independently of the values of the rest of the signals)

Question 5 Assuming that states S0, S1 and S2 have been codified as S0: 00; S1: 01; y S2: 11, complete the following state transition table and the output table of figure 1. Be carefull with the states' codes Note: Write the table entering the "Next state" column from top to bottom, separating the states with a white space, and then the "Output" column, in the same order, with a white space between outputs. Example: Table of figure 2 should be entered as 11 11 00 00 xx xx 00 01 1 0 1 0 x x 1 0 ("x" lowercase)

01 00 11 00 xx xx 11 00 0 1 0 0 x x 0 1

Question 6 Design and draw a sequential circuit having one input X and one output Y that implements the behavior shown in table 1.Name inputs and outputs of the circuit as shown in figure1 (X, RST, clk, Y).State S0 should be coded as 00. Very important note: The VerilUOC_Desktop verifier requires that all inputs of the flip flops are connected to some value. So, it is necessary to connect "S" inputs to 0 and "load" inputs to 1. To do so, click in "wiring", select "Constant" and connect the constant (a logical 1) to the “load" inputs. Repeat the process and, in the Value property of the left menu, replace the 0x1 by 0x0 (this will set the constant to 0). Connect the resulting constant to the "S" inputs. Not Fixed 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 <Variable>. 4) VerilCirc returns a 4 uppercase letters code. Type it in the answer box.

Variable: 5.6.a
NA
Variable: 5.6.b
NA
Variable: 5.6.c
NA

3 comments

  1. there are some wrong answers
    1. Which one is wrong?
  2. Some questions are different, upload answers for those too
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.