subject
Engineering, 10.03.2020 01:45 loredohome

1. Purpose:
Design a stopwatch using counters.

2. Prelab:
Design and simulate the circuit in Section 5.

3. Discussion:
Discussion 3.1
Generation of clock signal in simulation A system clock is frequently needed to simulate a sequential system. For the FPGA device on the DEI board, a 200-ns clock allows enough time for the circuit to settle down and provides a good visual observation. In Quartus II, it can be derived as follows:
Invoke the waveform editor and insert the clock signal.
• Select Edit and then Grid Size. Enter 100 ns. Select Edit and then Set End
• Time to specify the maximal simulation time. Determine the number of clock cycles needed and then enter the value. For example, enter 20 us if 100 cycles are desired (i. e., 100*200ns-20us)
• Highlight the clock signal in waveform editor and then click the clock-like icon and a sub-window appears. Enter 200 ns for the clock period and 50% for the duty cycle. The clock signal will be generated for the entire simulation period.
The input signal patterns can be entered afterward. The change of input value should be occurred at the falling edge of the clock signal to avoid setup time violation.

4. Project description:
We wish to design a two-digit stopwatch by using 74163s. The watch has the following input:
• clk: clock signal
• clear: clear the stopwatch to 00
• go: the stopwatch counts when go is 1 and pause (ie, keep the current value) when go is 0.

The output of the stopwatch is two seven-segment LED displays indicating the current count. The displays should be in BCD (binary coded decimal) format and count from 00 to 99. The stopwatch wraps around when reaching 99. In other words, the counting sequence is:
00, 01, 02, ..., 09, 10, 11, 12,..., 19, 20, 21, 22, ..., 98, 99, 00, 01, 02,

5. Procedure 5.1:
Decade counter (mod-10 counter) A decade counter counts from 0 to 9 and warps around. Its inputs are:
• clk 10: clock signal
• clear 10: clear the counter to 00
• en 10: enable the counting when en 10 is 1 and pause otherwise.
Its outputs are:
• 93, 92. 91.90: 4-bit counting value (93 is MSB)
• p10: an output pulse asserted when the counting value is 1001 and en 10 is 1.

Required:
(a) Design the decade counter using one 74163 and a minimal number of basic gates.
(b) Create a project in Altera Quartus II software and enter the schematic.
(c) Create a testing waveform with a clock period of 200ns.

ansver
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 14:10, makaylashrout77
Amass of 1.5 kg of air at 120 kpa and 24°c is contained in a gas-tight, frictionless piston-cylinder device. the air is now compressed to a final pressure of 720 kpa. during the process, heat is transferred from the air such that the temperature inside the cylinder remains constant. calculate the boundary work input during this process.
Answers: 2
image
Engineering, 04.07.2019 18:10, yasminothman02
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
image
Engineering, 04.07.2019 18:10, niicoleassssssf
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
image
Engineering, 04.07.2019 18:10, Fahaddie
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
You know the right answer?
1. Purpose:
Design a stopwatch using counters.

2. Prelab:
Design and simu...

Questions in other subjects:

Konu
Social Studies, 21.10.2020 22:01
Konu
Mathematics, 21.10.2020 22:01
Konu
Mathematics, 21.10.2020 22:01
Konu
Biology, 21.10.2020 22:01
Konu
Arts, 21.10.2020 22:01
Konu
History, 21.10.2020 22:01