Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 . 3 Exercise 3 Change mode String bit LED circuit. Use Verilog HDL to model a state machine for a circuit that changes display

2.3 Exercise 3
Change mode String bit LED circuit.
Use Verilog HDL to model a state machine for a circuit that changes display mode of a bit string.
In initial, LEDs show the default 4-bit random string which is performed by a reset signal, example
string: 0011. And buttons in board will set the display mode as follow:
Logic Design with HDL - Semester 2222/3
Faculty of Computer Science and Engineering Department of Computer Engineering
Button 0: Mode Reset: Show the default 4-bit string on LEDs.
Button 1: Mode Circular Shift Left Ring : Shift 4-bit string to left in a ring every 1s.
Button 2: Mode Circular Shift Right Ring: Shift 4-bit string to right in a ring every 1s.
Button 3: Pause: Pause the current shifting string.
Draw a state diagram to illustrate the designed FSM. Student can use Moore or Mealy model.
Write a test bench to simulate the circuit and test the circuit on the Arty-Z7 board.
Hint: Students should do the following steps:
Partitioning the design into blocks, may draw a block diagram. Separate the state machine and the
string display logic.
Define the inputs, outputs of the FSM, then design the FSM.
Modeling the FSM using Verilog HDL. Use the FSMs outputs to control the string display.
Simulate and test the circuit on board. 2.3 Exercise 3
Change mode String bit LED circuit.
Use Verilog HDL to model a state machine for a circuit that changes display mode of a bit string.
In initial, LEDs show the default 4-bit random string which is performed by a reset signal, example
string: 0011. And buttons in board will set the display mode as follow:
Logic Design with HDL - Semester 222
Button 0: Mode Reset: Show the default 4-bit string on LEDs.
Button 1: Mode Circular Shift Left Ring : Shift 4-bit string to left in a ring every 1s.
Button 2: Mode Circular Shift Right Ring: Shift 4-bit string to right in a ring every 1s.
Button 3: Pause: Pause the current shifting string.
Draw a state diagram to illustrate the designed FSM. Student can use Moore or Mealy model.
Write a test bench to simulate the circuit and test the circuit on the Arty-Z7 board.
Hint: Students should do the following steps:
Partitioning the design into blocks, may draw a block diagram. Separate the state machine and the
string display logic.
Define the inputs, outputs of the FSM, then design the FSM.
Modeling the FSM using Verilog HDL. Use the FSM's outputs to control the string display.
Simulate and test the circuit on board.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions

Question

13. How is DSS different from MIS?

Answered: 1 week ago

Question

2. Be clear and descriptive about your own emotions.

Answered: 1 week ago