Engineering
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.

answer
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 19:10, gabrielaperezcz
Air inially occupying a volume of 1 m2 at 100 kpa, 27 c undergoes three internally reversible processes in series. process 1-2 compression to 500 kpa during which pv constant process 2-3 adiabatic expanslon to 100 kpa process 3-1: constant-pressure expansion to 100 kpa (a) calculate the change of entropy for each of the three processes. (b) calculate the heat and work involved in each process. (c) is this cycle a power cycle or refrigeration cycle?
Answers: 3
image
Engineering, 04.07.2019 19:10, LadyHolmes67
Apressure vessel with an r/t 20 cannot be treated as thin walled vessel. a)-trune b)- false
Answers: 3
image
Engineering, 04.07.2019 19:10, Lexi5170
A)-explain briefly the importance of standards in engineering design. b)- what is patent? c)-explain the relationship between these standards: b. s. and b. s.en d)- in engineering design concepts, types of loads and how they act are important factors. explain.
Answers: 3
image
Engineering, 04.07.2019 19:10, kelseiroll9759
Ahelical coil spring has a mean diameter of 50 mm, a wire diameter of 5.5 mm and is wound with a pitch of 10 mm. the spring steel has an ultimate strength of 1250 mpa. find the force needed to compress the spring solid and the wire stress in this condition. state whether the spring will return to its initial length.
Answers: 1
Do you know the correct answer?
1. Purpose:
Design a stopwatch using counters.

2. Prelab:
Design and simu...

Questions in other subjects:

Konu
World Languages, 27.03.2021 03:50
Konu
Mathematics, 27.03.2021 03:50