Consider the circuit in Figure 1. It is a 4-bit synchronous counter which uses four T-type...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the circuit in Figure 1. It is a 4-bit synchronous counter which uses four T-type flip-flops. The counter increments its value on each positive edge of the clock if the Enable signal is high. The counter is reset to 0 on the next positive clock edge if the synchronous Clear input is low. You are to implement a 8- bit counter of this type. Enable- TQ Q -7 0% Clock Clear TQ Q Figure 1: A 4-bit counter. 1. Write a VHDL file that defines an 8-bit counter by using the structure depicted in Figure 1. Your code should include a T flip-flop entity that is instantiated 8 times to create the counter. Compile the circuit. How many logic elements (LES) are used to implement your circuit? 2. Simulate your circuit in Modelsim to verify its correctness. 3. Augment your VHDL file to use the pushbutton KEYO as the Clock input and switches SW1 and SWO as Enable and Clear inputs, and 7-segment displays HEX1-0 to display the hexadecimal count as your circuit operates. 4. Implement a 4-bit version of your circuit and use the Quartus II RTL Viewer to see how the Quartus Il software synthesized your circuit. What are the differences in comparison with Figure 1? Consider the circuit in Figure 1. It is a 4-bit synchronous counter which uses four T-type flip-flops. The counter increments its value on each positive edge of the clock if the Enable signal is high. The counter is reset to 0 on the next positive clock edge if the synchronous Clear input is low. You are to implement a 8- bit counter of this type. Enable- TQ Q -7 0% Clock Clear TQ Q Figure 1: A 4-bit counter. 1. Write a VHDL file that defines an 8-bit counter by using the structure depicted in Figure 1. Your code should include a T flip-flop entity that is instantiated 8 times to create the counter. Compile the circuit. How many logic elements (LES) are used to implement your circuit? 2. Simulate your circuit in Modelsim to verify its correctness. 3. Augment your VHDL file to use the pushbutton KEYO as the Clock input and switches SW1 and SWO as Enable and Clear inputs, and 7-segment displays HEX1-0 to display the hexadecimal count as your circuit operates. 4. Implement a 4-bit version of your circuit and use the Quartus II RTL Viewer to see how the Quartus Il software synthesized your circuit. What are the differences in comparison with Figure 1?
Expert Answer:
Answer rating: 100% (QA)
Given data 1 VHDL Code for 8bit Counter VHDL library ieee use ieeest... View the full answer
Related Book For
Digital Systems Principles And Application
ISBN: 9780134220130
12th Edition
Authors: Ronald Tocci, Neal Widmer, Gregory Moss
Posted Date:
Students also viewed these programming questions
-
An economist claims that the proportion of people who plan to purchase a fully electric vehicle as their next car is greater than 65%. To test this claim, a random sample of 750 people are asked if...
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Automobiles air bags are filled via the decomposition of sodium azide, according to the following equation: 2 NaN3 (s) 2 Na (s) +3 N2 (g) Calculate the work (in L atm) when 2.25 g of sodium azide...
-
PENCOMP's balance sheet at December 31, 2014, is as follows. Additional information concerning PENCOMP's defined benefit pension plan is as follows. Projected benefit obligation at...
-
Under what circumstances would a discriminating monopolist produce a more socially optimal quantity than a nondiscriminating monopolist? Is there any situation under which a discriminating monopolist...
-
From table 5.1, what do you see as the main differences between individual lending contracts in microfinance relative to their group lending counterparts? What kinds of additional information would...
-
Suppose the School Company has this book value balance sheet: The current liabilities consist entirely of notes payable to banks, and the interest rate on this debt is 10 percent, the same as the...
-
4. The graph of the first derivative f' of a function f is shown. (Assume the function is defined only for 0 x 9.) Just write your answers from the graph. YA y= f(x) a) On what interval(s) is f...
-
During 2023, a township issued $3,000 in fines for failure to keep real property in 'acceptable' condition. The township estimates that $300 of the fines issued in 2023 will be uncollectible. The...
-
York Company shows data from the production and sale of 60,000 musical picture frames as follows. Per unit Total Sales $900,000 $15 360.000 S540,000 280,000 $260,000 CM $9 FC NI A customer has...
-
Internal control is strengthened when the quantity of merchandise or- dered is omitted from the copy of the purchase order sent to the a. Department that initiated the requisition. b. Receiving...
-
The NCHS keeps statistics on ____ . a. The licensing information on all healthcare providers in the 50 states b. Cancer and other deadly diseases in the 50 states and the US-owned territories c....
-
Negative confirmation of accounts receivable is less effective than posi- tive confirmation of accounts receivable because a. A majority of recipients usually lack the willingness to respond...
-
In a properly designed accounts payable system, a voucher is prepared after the invoice, purchase order, requisition, and receiving report are verified. The next step in the system is a. Cancellation...
-
Which user of statistics has the primary job of supporting terminally ill patients and their families? a. Home health agencies b. Nursing facilities c. Hospice d. MCOs
-
Sinaloa Appliance, Incorporated, a private firm that manufactures home appliances, has hired you to estimate the company's beta. You have obtained the following equity betas for publicly traded firms...
-
The percentage of completion and completed contract methods are described in the FASB ASC. Search the codification to find the paragraphs covering these topics, cite them, and copy the results.
-
(a) What is the range of unsigned decimal values that can be represented in 10 bits? What is the range of signed decimal values using the same number of bits? (b) Repeat both problems using eight...
-
Use graphic design techniques and the BCD counter described in Figure 10-31, the MUX, and the control signal generator design to create the entire timing and control block for the frequency counter...
-
Assume the following input levels in Figure 6-6: A 4 A 3 A 2 A 1 A 0 = 01001; B 4 B 3 B 2 B 1 B 0 = 00111; C 0 = 0. (a) What are the logic levels at the outputs of FA #2? (b) What is the logic level...
-
In the late 19th century, more than half of all Americans lived on farms. New farming techniques, based on science, were being developed through university research, but older generations of farmers...
-
Review the minutes of recent meetings by Bank of Japan officials. Summarize at least one recent meeting that was associated with possible or actual intervention to affect the yens value.
-
Why might the foreign exchange intervention strategies of the Bank of Japan be relevant to the U.S. government and to U.S.-based MNCs?
Study smarter with the SolutionInn App