1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dmitriy555 [2]
4 years ago
12

Design a sequential circuit with two D flip-flops A and B, and one input x_in.

Engineering
1 answer:
DENIUS [597]4 years ago
7 0

Answer:

View Image

Explanation:

The question is basically asking you to build a 2-bit asynchronous counter.

What the counter does is it increase it's value by 01₂ every clock pulse. So at 0₂, nothing happens, but at 1₂ it'll count up by 1. It then reset to 00₂ when it overflows.

The design for it is pretty much universal so I kinda did this from memory.

a.) A count-up counter (from 00-11) is simply made by connecting Q' to D, and the output of the previous DFF to the clock of the next one.

b.) A count-down counter (from 11-00) is simply made by using the same circuit as the count-up counter, but you connect Q' to the clock instead of Q.

You might be interested in
Your program must output each student’s name in the form: last name followed by a comma, followed by a space, followed by the fi
Reptile [31]

Answer:

#include <iostream>

#include <string>

#include <fstream>

using namespace std;

char getStudentGrade(int testScore);

//Declare constant max students in file 10

const int maxStudents = 10;

struct StudentType

{

  string studentFName;

  string studentLName;

  int testScore;

  char grade;

};

void readStudentData(StudentType students[]){

  int i = 0;

 

  ifstream infile;

  infile.open("inputStudentData.txt");

 

 

  while (!infile.eof())

  {

   infile >> students[i].studentFName;

   infile >> students[i].studentLName;

   infile >> students[i].testScore;

   students[i].grade = getStudentGrade(students[i].testScore);

      i++;

  }

}

char getStudentGrade(int testScore){

  char grade;

  if(testScore >= 80) {

      grade = 'A';      

  }

  else if(testScore >= 60) {

      grade = 'B';

  }

  else if(testScore >= 50) {

      grade = 'C';  

  }

  else if(testScore >= 40) {

      grade = 'D';      

  }

  else {

      grade = 'F';  

  }

  return grade;

}

int main()

{

 

  StudentType students[10];

 

  readStudentData(students);

 

  for(int i=0;i<maxStudents;i++) {

      students[i].grade = getStudentGrade(students[i].testScore);

  }

 

  for(int i=0; i<maxStudents; i++){    

      cout << students[i].studentLName <<", " << students[i].studentFName << " " << students[i].grade << endl;

  }

  ofstream outputFile;

  outputFile.open ("outputStudentData.txt");

 

  for(int i=0; i<maxStudents; i++){    

      outputFile << students[i].studentLName <<", " << students[i].studentFName << " " << students[i].grade << endl;

  }

  outputFile.close();

  return 0;

}

3 0
4 years ago
What kind of situations breaks the causal link?
34kurt

Answer:A novus actus

8 0
3 years ago
Which dimensionless parameter tells whether flow disturbances will be attenuated or amplified? a. Pr b. Re C G d. St e. Fe
Aleonysh [2.5K]

Answer:

b. Re

Explanation:

Reynolds number describe the type of flow of fluid. If Reynolds number has a high value then it is called turbulent flow and if Reynolds number is low then it is called laminar flow. Reynolds number given as follows:

Re=\dfrac{\rho VD}{\mu }

For internal pipe flow, if Reynolds number greater than 4000 then, it is called turbulent flow and if Reynolds number less than 2000 then it is called laminar flow. The Reynolds number between 2000 to 4000 the flow is called transition flow.

7 0
4 years ago
Vacancy diffusion statement refer to that a mechanism that
belka [17]

Answer:

true

Explanation:

4 0
3 years ago
Copper (Cu) has FCC crystal structure. Atomic mass of Cu is 63.55 gmol-1 and radius of a copper atom is 0.128 nm, mean speed of
Ivenika [448]

Answer:

Explanation:

Copper (Cu) has FCC crystal structure. Atomic mass of Cu is 63.55 gmol-1 and radius of a copper atom is 0.128 nm, mean speed of conduction electrons in Cu is 1.5 × 10^6 m/s and frequency of vibration of the Cu atoms at 27 ° is 4 × 10^12 s-1. Nordheim’s Coefficient of Au in Cu is 5500 nΩ −m. a) Calculate the atomic density of copper b) Estimate the drift mobility of electrons in Cu c) Find the resistivity of pure Cu d) Find the resistivity of Cu if 1 at.% of Au is mixed in Cu. pls solve it

7 0
3 years ago
Other questions:
  • 2.11 Consider a 400 mm × 400 mm window in an aircraft. For a temperature difference of 90°C from the inner to the outer surface
    13·1 answer
  • What is cooking with a fossil fuel? What is a fossil fuel?
    7·1 answer
  • After the 2015 AFC Championship football game between the New England Patriots and the Indianapolis Colts, it was alleged that t
    10·1 answer
  • A gas is compressed isothermally in a piston-cylinder assembly from 7.6 bar, 77 °C to 3.05 bar. Determine the work and heat tran
    11·1 answer
  • In a flow over a flat plate, the Stanton number is 0.005: What is the approximate friction factor for this flow a)- 0.01 b)- 0.0
    8·1 answer
  • 50 for brainliest HELP ASAP<br> absurd answers will be recorded
    10·1 answer
  • To check for ripple voltage from the alternator, connect a digital multimeter and select
    9·1 answer
  • Acme Logistics provides "Less than truck load" (LTL) services throughout the U.S. They have several hubs where they use cross-do
    11·1 answer
  • Why do we drive in parking lots but park in driveways?
    10·1 answer
  • What is an automotive system in relation to a vehicle’s structure and operation?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!