Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Multiplexed Display Provide a system Verilog code to display 1,2,3,4 on a 4 digit-7 segment display. Requirements: Each digit should be displayed at a frequency

image text in transcribedimage text in transcribedimage text in transcribed

Multiplexed Display Provide a system Verilog code to display 1,2,3,4 on a 4 digit-7 segment display. Requirements: Each digit should be displayed at a frequency of 100+ n Hz where n is the last two digits of your number. Since there are four digits, your circuit must divide the 50 MHz clock by 50x106/14-(100+n)). The following table shows how the last digit of your number determines the order the display digits are enabled: last digit digit of your ID sequence 0 3, 0, 1, 2 1 1, 2, 0,3 2 0, 1, 2, 3 3 0, 1, 3, 2 4 2, 1, 3,0 5 2, 1, 3,0 1, 2, 0,3 7 0, 2, 1,3 8 0, 3, 2, 1 9 2, 0, 3, 1 For example, if your ID 1,2,3,4 then you would assert eno (rightmost digit), then en3 (leftmost), then en2 and finally en1. This sequence would repeat at 178 Hz and each digit would be turned on for = 1.4 ms at a time (1/(4.178)). 6 Please use the pins from the previous labs for this assignment below: TO LED Pin wire seg. colour ment CPLD pin 30 e dp Assignment Name Location Location Location Location Location Location Location Location Location Location Location Location Value PIN_33 PIN_44 PIN_38 PIN_34 PIN_36 PIN_30 PIN_35 PIN_50 PIN_48 PIN_42 PIN_52 PIN_40 en(3) en[2] en[U] en[0] 1 black 2 brown d 3 red dp 4 orange 5 yellow g 6 green en[@] 7 blue b 8 violet en[1] 9 gray en[2] 10 white f 11 black a 12 brown en[3] 34 36 38 40 42 44 48 50 52 33 35 reset_n clock50 Weak Pull-Up Resistor on Location PIN_12 top side of display LD5643B 12 en[3] 11 a 9 en[2] 101f 8 en[1] 7b e 1 d2 dp 3 C14 915 en[0] 6 part number Design Ideas: Your circuit will need a clock divider that controls a digit counter. The digit counter will change once per clock period (as given above). For the example period given above the divider would count down from 50 X 106/4-178 - 1 = 70 224 to zero. Your digit counter can sequence over the enable values (e.g. 4'b0001, 4'b1000, 4'b0100, 4'b0010) or over a value that represents the digit of your ID (e.g. 3, 2, 1, 0). The digit counter value is then used to enable the correct digit enables (unless you used the enable value as the counter values) and the correct segment enables. This can be done with multiplexers or lookup tables. 12:39

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_2

Step: 3

blur-text-image_3

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

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

Students also viewed these Databases questions