CPRE281_LAB09
pdf
keyboard_arrow_up
School
Iowa State University *
*We aren’t endorsed by this school
Course
281
Subject
Mechanical Engineering
Date
Apr 3, 2024
Type
Pages
2
Uploaded by EarlJackalMaster603
Cpr E 281 LAB 09
ELECTRICAL AND COMPUTER ENGINEERING IOWA STATE UNIVERSITY
Designing Latches and Flip-Flops 1 PRELAB! Read
the entire lab, and complete
the prelab questions (Q1-Q5) on the answer sheet before
coming to the laboratory. 1.0 Objectives In this Lab you will design the following storage elements: •
Basic SR Latch •
D Latch •
D Flip-Flop The objective is to observe, analyze, and understand the working and the timing behavior of these devices. You will do all the designs in this lab using a schematic block diagram and simulate each in ModelSim. Refer to Sections 5.1 through 5.4, and complete the circuit diagrams before you come to the lab. 2.0 Basic SR Latches Information on a Basic SR Latch can be found in Section 5.1 of the textbook. For the first step lab9step1
, build a Basic SR Latch with NOR gates using a block diagram/schematic file named lab9step1a.bdf
. This circuit is given in Figure 5.4a of your textbook. Name the inputs S
and R
; name the outputs Q
and QN
. Convert your BDF file to Verilog with the filename lab9step1a.v
. Use ModelSim with lab9step1.do to observe the behavior of this SR NOR Latch. Use the results to complete the characteristic table on the answer sheet. When you are convinced that the latch is performing as predicted, and you are confident you understand its behavior, demonstrate your circuit to the TA. Create a new BDF named lab9step1b.bdf
and copy your old SR NOR Latch over to this new file. Since latches and other memory devices can be built using either NAND or NOR gates, build another SR latch by replacing the NOR gates with NAND gates. Change the R
input to S
and the S
input to R
. Place an inverter on each input to create the ࠵?
̅
࠵?
$
case. Once your design is complete, convert this circuit to a Verilog file with the name lab9step1b.v
. Use ModelSim and lab9step1.do
to observe the behavior of this ࠵?
̅
࠵?
$
NAND Latch. Use the results to complete the characteristic table on the answer sheet. When you are convinced that the latch is performing as predicted, and you are confident you understand its behavior, demonstrate your circuit to the TA.
Cpr E 281 LAB 09
ELECTRICAL AND COMPUTER ENGINEERING IOWA STATE UNIVERSITY
Designing Latches and Flip-Flops 2 3.0 D Latches In a new project lab9step2,
build a Gated D Latch using NAND gates and a NOT gate. Refer to Section 5.3 for a detailed explanation of D Latches. Figure 5.7a shows how to build a D Latch using NAND gates and a NOT gate. Once you have built the latch, label the inputs Clk
and D
, and outputs Q
and QN
. Use ModelSim with the lab9step2and3.do
file to observe the behavior of the latch. When you are convinced that the latch is performing as predicted, and you are confident you understand its behavior, complete the timing diagram on the answer sheet and demonstrate your circuit to the TA. Create a Symbol
for this Gated D Latch as you will need it in the next section. 4.0 D Flip-Flops Refer to Section 5.4 for a detailed explanation of D Flip-Flops. In a new project (
lab9step3a
)
, use the Gated D Latch you built to design a Negative-
Edge-Triggered D Flip-Flop. Section 5.4.1 discusses this design. Refer to Figure 5.9a. Use ModelSim with lab9step2and3.do
again to observe the behavior of the flip-flop. When you are convinced that the flip-flop is performing as predicted, and you are confident you understand its behavior, complete the timing diagram on the answer sheet and demonstrate your circuit to the TA. In a new project (
lab9step3b
), you will design a Positive-Edge-Triggered D Flip-Flop using six NAND gates. Section 5.4.2 discusses this design. Please use Figure 5.11a as a guide for this step. Again, use ModelSim with lab9step2and3.do
to observe the behavior of the flip-flop. When you are convinced that the flip-flop is performing as predicted, and you are confident you understand its behavior, complete the timing diagram on the answer sheet, and demonstrate your circuit to the TA. 5.0 Complete You are done with this lab. Close all lab files, exit Quartus Prime, log off the computer, power down the DE2-115 board, and hand in your answer sheet. Don’t forget to write down your name and your lab section number
.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture
fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates
implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial
weight bearing activities.
Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to
verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into
solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending
test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the
yield stress for the Ti-6Al-4V…
arrow_forward
University of Babylon
Collage of Engineering\Al-Musayab
Department of Automobile
Engineering
Under Grad/Third stage
Notes:
1-Attempt Four Questions.
2- Q4 Must be Answered
3-Assume any missing data.
4 تسلم الأسئلة بعد الامتحان مع الدفتر
Subject: Mechanical
Element Design I
Date: 2022\01\25
2022-2023
Time: Three Hours
Course 1
Attempt 1
Q1/ Design a thin cylindrical pressure tank (pressure vessel) with hemispherical ends to the
automotive industry, shown in figure I below. Design for an infinite life by finding the
appropriate thickness of the vessel to carry a sinusoidal pressure varied from {(-0.1) to (6) Mpa}.
The vessel is made from Stainless Steel Alloy-Type 316 sheet annealed. The operating
temperature is 80 C° and the dimeter of the cylinder is 36 cm. use a safety factor of 1.8.
Fig. 1
(15 Marks)
Q2/ Answer the following:
1- Derive the design equation for the direct evaluation of the diameter of a shaft to a desired
fatigue safety factor, if the shaft subjected to both fluctuated…
arrow_forward
Please do not copy other's work and do not use ChatGPT or Gpt4,i will be very very very appreciate!!!
Thanks a lot!!!!!
arrow_forward
Hartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectors
arrow_forward
I need help solving this problem.
arrow_forward
Chapter 12 - Lecture Notes.pptx: (MAE 272-01) (SP25) DY...
Scores
arrow_forward
Please solve, engineering econ
arrow_forward
Solve correctly
arrow_forward
Learning Goal:
To understand the concept of moment of a force and how to calculate it using a scalar
formulation.
The magnitude of the moment of a force with a magnitude F around a point O is defined
as follows:Mo = Fdwhere d is the force's moment arm. The moment arm is the
perpendicular distance from the axis at point O to the force's line of action.
Figure
F₁
1 of 2
Part A
A stool at a restaurant is anchored to the floor. When a customer is in the process of sitting down, a horizontal force with magnitude F₁ is exerted at the top of the stool support as shown in the figure. (Figure 1)
When the customer is seated, a vertical force with magnitude F2 is exerted on the stool support. If the maximum moment magnitude that the stool support can sustain about point A is M₁ = 140 lb-ft, what is the
maximum height do that the stool can have if the magnitudes of the two forces are F₁ = 65.0 lb and F₂ = 140 lb ? Assume that moments acting counterclockwise about point A are positive whereas…
arrow_forward
You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:
arrow_forward
Instrumentation & Measurements
This homework measures your capability to design/analyze various components/variables of ameasurement system based on what you have studied.
Question is Attached in image. Thank you.
arrow_forward
Motiyo
Add explanation
arrow_forward
Follow the instructions carefully.
arrow_forward
Hello tutors, help me. Just answer "Let Us Try"
arrow_forward
Identify the lines
arrow_forward
Can i get help with these questions
arrow_forward
4. Documents business requirements use-case narratives.for only one process
note: please i want Documents like this in pic
arrow_forward
mylabmastering.pearson.com
Chapter 12 - Lecture Notes.pptx: (MAE 272-01) (SP25) DY...
P Pearson MyLab and Mastering
Scores
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
Related Questions
- You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial weight bearing activities. Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the yield stress for the Ti-6Al-4V…arrow_forwardUniversity of Babylon Collage of Engineering\Al-Musayab Department of Automobile Engineering Under Grad/Third stage Notes: 1-Attempt Four Questions. 2- Q4 Must be Answered 3-Assume any missing data. 4 تسلم الأسئلة بعد الامتحان مع الدفتر Subject: Mechanical Element Design I Date: 2022\01\25 2022-2023 Time: Three Hours Course 1 Attempt 1 Q1/ Design a thin cylindrical pressure tank (pressure vessel) with hemispherical ends to the automotive industry, shown in figure I below. Design for an infinite life by finding the appropriate thickness of the vessel to carry a sinusoidal pressure varied from {(-0.1) to (6) Mpa}. The vessel is made from Stainless Steel Alloy-Type 316 sheet annealed. The operating temperature is 80 C° and the dimeter of the cylinder is 36 cm. use a safety factor of 1.8. Fig. 1 (15 Marks) Q2/ Answer the following: 1- Derive the design equation for the direct evaluation of the diameter of a shaft to a desired fatigue safety factor, if the shaft subjected to both fluctuated…arrow_forwardPlease do not copy other's work and do not use ChatGPT or Gpt4,i will be very very very appreciate!!! Thanks a lot!!!!!arrow_forward
- Hartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectorsarrow_forwardI need help solving this problem.arrow_forwardChapter 12 - Lecture Notes.pptx: (MAE 272-01) (SP25) DY... Scoresarrow_forward
- Please solve, engineering econarrow_forwardSolve correctlyarrow_forwardLearning Goal: To understand the concept of moment of a force and how to calculate it using a scalar formulation. The magnitude of the moment of a force with a magnitude F around a point O is defined as follows:Mo = Fdwhere d is the force's moment arm. The moment arm is the perpendicular distance from the axis at point O to the force's line of action. Figure F₁ 1 of 2 Part A A stool at a restaurant is anchored to the floor. When a customer is in the process of sitting down, a horizontal force with magnitude F₁ is exerted at the top of the stool support as shown in the figure. (Figure 1) When the customer is seated, a vertical force with magnitude F2 is exerted on the stool support. If the maximum moment magnitude that the stool support can sustain about point A is M₁ = 140 lb-ft, what is the maximum height do that the stool can have if the magnitudes of the two forces are F₁ = 65.0 lb and F₂ = 140 lb ? Assume that moments acting counterclockwise about point A are positive whereas…arrow_forward
- You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:arrow_forwardInstrumentation & Measurements This homework measures your capability to design/analyze various components/variables of ameasurement system based on what you have studied. Question is Attached in image. Thank you.arrow_forwardMotiyo Add explanationarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning

Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning