The objective of this lab is to practice your Verilog coding and the design of a Finite State Machine. Lab Goal: For this lab, you will code a Verilog module to implement the FSM described in this document. This lab will also require that you use the Seven - Segment Display on the DE0 - CV FPGA board. Design Specifications for the FSM Implem ent the following simple state machine on the DE0 - CV FPGA board. This FSM will have 5 states. The clock to this FSM will be provided by yourself using KEY0 (one of the push buttons on the board). Include a debounce module in your code but do not use it. S o you write the code as described in the lecture, but there should be no debounce module instance. I want you to understand this module but it is unnecessary on our board. The transitions from any one state to another are determined by switches 0 through 4 of the board (SW0, SW1, SW2, SW3, and SW4) as shown in the state diagram below. This will be easier than using pushbuttons for the inputs to switch to states. That means you set the switch and then clock it using KEY0. It really only matters what the swi t ch positions are when the clock edge occurs. NOTE reiterating this use slide s witches not pushbuttons for input. Use KEY0 for the clock, and generate the clock signal by hand by pushing KEY0. Any input transition not explicitly referenced in the diagram keeps the machine in the same state. Moreover, if two or more switches are asserted simultaneous ly, no transition should occur. SW0 acts as the rese t and should reset the FSM to S 00 regardless of all other switches or the pushbutton. (note you could use K EY1 pushbutton instead but it isn’t clear that would be better). How to write your code: Study Lecture 9 section 3 on how to write a Finite State Machine in Verilog. Your code will have two parts. There will be a synchronous part which is the part models the flip flops. An example of this is Lecture 9 slide 33. The other part is the combinatorial part, which is the part that feeds the inputs to the flip flops, that is like the code in Lecture 9 slides 29 through 32. This i
In: Electrical Engineering
CS3323
Homework 4 (Week 4: Chapter 12, 13)
1. List three characteristics that can serve as a guide to evaluate design quality.
(Section 12.2.1)
2. Explain how effective modular design is achieved through functional independence of the
individual modules?
(Section 12.3.5)
3. Describe the principle of information hiding as it applies to software design.
(Section 12.3.6)
4. What are the elements that make up a software architectural style?
(Section 13.3)
5. What is an archetype?
(Section 13.6.2)
6. Explain the key differences between thin client architectures and a rich client architectures.
(Section 13.6.6)
In: Computer Science
Read the following scenario and complete each of the seven problems below:
A new car manufacturing company has emerged and has claimed that its new hybrid car, the Pusho, gets a better gas mileage than the highest ranked Toyota Prius. Consumer Reports Magazine decides to test this claim at a 5% level of significance. Consumer Reports randomly selects 10 of each type of car, calculates the miles per gallon for each car in the study, and records the data in the table below. Assume miles per gallon of the cars is normally distributed.
Pusho 54.1 52.4 55.7 49.7 50.6 48.9 51.8 54.5 56.9 49.8
Prius 53.2 54.3 49.8 50.1 50.5 56.1 47.8 53.4 56.8 48.7
A. Evaluate the claim that the Pusho gets a better gas mileage than the highest ranked Prius using the data from the Consumer Reports study.
1. Identify the type of test you will use to test this claim. Explain your reasoning. 2. State the null and alternate hypotheses. 3. Conduct the hypothesis test and determine the p-value. 4. State your conclusion about the claim. 5. Construct a 90% confidence interval for this study.
1.
2.
3.
4.
5.
Suppose that Toyota makes a counter-claim that their Prius has a higher gas mileage than Pusho. How could the alternative hypotheses from Part A be changed to test Toyota’s claim? Conduct the hypothesis test at the 5% level of significance for Toyota’s claim using the data above and determine the p-value. State your conclusion about the claim. Construct a 98% confidence interval for this study.
1.
2.
3.
4.
C. Based on your analysis of both claims from the makers of Pusho and Prius, what statement can be made about the miles per gallon of the two cars? Explain your reasoning.
In: Statistics and Probability
For a binomial parameter, p, we would like to test H 0 : p 0 = 0.05 against H 1 : p 0 ≠ 0.05 at the 5% level of significance. Assume we have a sample of 200 trials.
a. Is 200 large enough to use our large-sample test for p? Answer Yes or No and present your evidence as a series of inequalities.
b. What test statistic would you use for the test?
c. What sampling distribution would you use for the test?
d. State the decision rule you would use to perform the test
e. What is your conclusion if your sample contains 16 successes out of the 200 trials? Explain your choice.
f. Would your conclusion change if we changed H 1 to p 0 > 0.05 ? Answer Yes or No and explain.
In: Statistics and Probability
(a) Calculate the five-number summary of the land areas of the states in the U.S. Midwest. (If necessary, round your answer to the nearest whole number.)
| minimum | square miles ? |
| first quartile | square miles ? |
| median | square miles ? |
| third quartile | square miles ? |
| maximum | square miles ? |
| State | Area (sq. miles) |
State | Area (sq. miles) |
|---|---|---|---|
| Illinois | 55,584 | Missouri | 68,886 |
| Indiana | 35,867 | Nebraska | 76,872 |
| Iowa | 55,869 | North Dakota | 68,976 |
| Kansas | 81,815 | Oklahoma | 68,595 |
| Michigan | 56,804 | South Dakota | 75,885 |
| Minnesota | 79,610 | Wisconsin | 54,310 |
(b) Explain what the five-number summary in part (a) tells us about
the land areas of the states in the midwest.
(c) Calculate the five-number summary of the land areas of the
states in the U.S. Northeast. (If necessary, round your answer to
the nearest whole number.)
| minimum | square miles |
| first quartile | square miles |
| median | square miles |
| third quartile | square miles |
| maximum | square miles |
| State | Area (sq. miles) |
State | Area (sq. miles) |
|---|---|---|---|
| Connecticut | 4845 | New York | 47,214 |
| Maine | 30,862 | Pennsylvania | 44,817 |
| Massachusetts | 7840 | Rhode Island | 1045 |
| New Hampshire | 8968 | Vermont | 9250 |
| New Jersey | 7417 |
(d) Explain what the five-number summary in part (c) tells us about
the land areas of the states in the Northeast.
(d) Contrast the results from parts (b) and (d).
In: Math
In: Accounting
In: Economics
Unemployment
How do economists measure unemployment? Why is unemployment not a perfect measure of joblessness? Visit the Bureau of Labor Statistics website and explore the national unemployment rate section. What is the current level of national unemployment? Has it increased or decreased? Explain why the unemployment rate has changed. (You can also talk about COVID-19)
In: Economics
In: Statistics and Probability
Every IRS agent's favorite code section... Practice Codebreaker
22 unread replies.22 replies.
This is a practice CodeBreaker -- it's worth just one point, so if you attempt to crack it, you get a point for trying. The better job you do, the better the feedback I can give you, but otherwise, it's just a free point. It's also a pretty easy section.
26 U.S. Code § 5203.Entry and examination of premises
(b)Right of entry and examination
It shall be lawful for any internal revenue officer at all times, as well by night as by day, to enter any distilled spirits plant, or any other premises where distilled spirits operations are carried on, or structure or place used in connection therewith for storage or other purposes; to make examination of the materials, equipment, and facilities thereon; and make such gauges and inventories as he deems necessary. Whenever any officer, having demanded admittance, and having declared his name and office, is not admitted into such premises by the proprietor or other person having charge thereof, it shall be lawful for such officer, at all times, as well by night as by day, to use such force as is necessary for him to gain entry to such premises.
Your task for these Codebreakers is to break down the meaning of a section of the Internal Revenue Code and explain it in plain English. DO NOT just summarize -- your response will probably be longer than the code section itself.
Note that, you will not be able to find these answers in your textbook. This is an exercise in close reading, research, interpretation, analysis, and probably some guessing. If you're wondering where you are supposed to find the answers to some of these questions, I'd start with the internet and really hard thinking; the library is probably your next best resource.
One piece of strategic advice for this and future Codebreakers -- print out the Code Section, double or triple-spaced, mark it up with highlighters and colored pencils and little notes to yourself. The Code is dense legal text and contains an infuriating maze of references to other Sections of itself. Just untangling all the commas can be a chore.
Although it would be great if you got the answer correct, that's not what you will be graded on, primarily. This is going to be a recurring theme in this course: quality work with wrong answers will often get you 90% or more; the right answers without good work will get you basically nothing. Remember, I already know what this Code Section means -- I'm not waiting on your explanation to reveal its true meaning -- what I am looking for is how much effort you put into it -- how resourceful you were -- how carefully you read -- how deeply you analyzed -- how clearly you explained. Show me how you are thinking about these things -- that's what I'm looking for, and that's what's worth improving.
The main thing I'm looking for from you in these is plainness, try not to recycle language from the code. The whole thing about the code it that it's not written the way normal people talk. You are trying to write it in exactly the way normal people talk.
In: Accounting