Question: Need help with this verilog code please or some sort of verilog skeleton to get started ! If it helps this is on a Nexys-4

 Need help with this verilog code please or some sort ofNeed help with this verilog code please or some sort of verilog skeleton to get started ! If it helps this is on a Nexys-4 board.

1. State Machine to make a Non-Sequential 4 bit counter: Non-Sequential counter to count in 4 bits an 8 digit sequence according to the hand written list at the bottom of this page in order. The work should comply with the following points: The Count should be displayed in the first five 7-Segment digits slow enough to see it change (@ 1 Hz) a. i. Digits 3,2,1,0 should display the 4-bit count using only 1 or 0 digits (ie in binary) Digit 4 should display the Hex value ii. All 5 7-segment displays should show at the same time, ie multiplexed iv. The count should change with a slow, about 1 second clock so you can watch and read the sequence as it changes and you will also set PBC as the clock based on whether or not SW15 is 1 or 0 b. You can approach the problem solution in 3 different ways but just implement one way i. ii. By using a case statement and let the synthesizer generate the needed flip-flops ii By using a ROM with only 3 flip-flops, you can set the FF up as a register and let the synthesizer generate By using the logic equations and 4 flip-flops to hold the count the FF for you. You only need 3 FF because there are only 8 states and the ROM holds the 4 bit values of the sequence c. d. e. You must present a block diagram of your code, broken out into several functional blocks You can use an initial block to start the count on the correct first digit if needed You can do a test bench for extra credit that checks your sequence to report correct or wrong. 2. You can demonstrate your code individually in Lab Next week during one of the assigned Lab periods or in class next Friday Nov 2 which will be held in the lab for those who have not turned in and demoed in lab already. This next week we will have no scheduled other lab to do, only make ups. Your primary grade will be based on a correct demo of your code, your block diagram and a drawn out State Graph or SM Chart. You must also turn in this sheet. If you lose your sequence you will get 5 points off All demos must be done by end of class on next Friday. If you have demoed in your regular lab before Friday, you do not have to come to class. Your Sequence # 1. State Machine to make a Non-Sequential 4 bit counter: Non-Sequential counter to count in 4 bits an 8 digit sequence according to the hand written list at the bottom of this page in order. The work should comply with the following points: The Count should be displayed in the first five 7-Segment digits slow enough to see it change (@ 1 Hz) a. i. Digits 3,2,1,0 should display the 4-bit count using only 1 or 0 digits (ie in binary) Digit 4 should display the Hex value ii. All 5 7-segment displays should show at the same time, ie multiplexed iv. The count should change with a slow, about 1 second clock so you can watch and read the sequence as it changes and you will also set PBC as the clock based on whether or not SW15 is 1 or 0 b. You can approach the problem solution in 3 different ways but just implement one way i. ii. By using a case statement and let the synthesizer generate the needed flip-flops ii By using a ROM with only 3 flip-flops, you can set the FF up as a register and let the synthesizer generate By using the logic equations and 4 flip-flops to hold the count the FF for you. You only need 3 FF because there are only 8 states and the ROM holds the 4 bit values of the sequence c. d. e. You must present a block diagram of your code, broken out into several functional blocks You can use an initial block to start the count on the correct first digit if needed You can do a test bench for extra credit that checks your sequence to report correct or wrong. 2. You can demonstrate your code individually in Lab Next week during one of the assigned Lab periods or in class next Friday Nov 2 which will be held in the lab for those who have not turned in and demoed in lab already. This next week we will have no scheduled other lab to do, only make ups. Your primary grade will be based on a correct demo of your code, your block diagram and a drawn out State Graph or SM Chart. You must also turn in this sheet. If you lose your sequence you will get 5 points off All demos must be done by end of class on next Friday. If you have demoed in your regular lab before Friday, you do not have to come to class. Your Sequence #

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!