Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Complete the code above for all 26 letters and 10 numbers Write a Verilog module that displays the letters in this message Hello OLH (actually
Complete the code above for all 26 letters and 10 numbers
Write a Verilog module that displays the letters in this message Hello OLH (actually this should be your initials) With the prototype board 7-segment displays as described, it will really look like "HELLO" with Keyo up and with Keyo down " OLH" This module should have an instance of the module (like the one shown below) that will decode any letter from ASCII to the values needed to display on the LEDs. The module that converts ASCII codes to Hex LED Bits should look something like this 11 ascii to 7 segment display conversion a module ASCII27Seg (input [7:0] AsciiCode, output reg (6:0) HexSeg); always @ (*) begin HexSeg = 7'00; // initialization of variable HexSeg $display("AsciiCode $b", AsciiCode); case (AsciiCode) A 8'h41 : HexSeg[3] = 1; 17 8'h6l : HexSeg[3] = 1; B 8'h42 : begin HexSeg[0] = 1; HexSeg[1] = 1; end b 8'h62 : begin HexSeg[0] = 1; HexSeg [1] = 1; end 8'h43 : begin HexSeg [1] = 1; HexSeg[2] = 1; HexSeg[6] = 1; end 8'h63 : begin HexSeg[1] = 1; HexSeg[2] = 1; HexSeg[6] = 1; end the rest of your code should go here // // // turn all the bits off by default default : HexSeg = 8'b11111111; // default of variable HexSegStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started