Question: I wrote Verilog code to display Hello world! and my student ID with initials on the FPGA LCD screen. Please write a test bench code

I wrote Verilog code to display "Hello world!" and my student ID with initials on the FPGA LCD screen. Please write a test bench code to create a simulation that verifies the state changes correctly. Also, I want the LCD screen to display a single line with "HELLO WORLD! + student ID and initials" without clearing the LINE2 state code. How should I modify the code? And please let me know how to modify the code by changing only two lines to make the text shift three spaces to the right on the display. Finally, Please tell me how to change the code to make the letters shift one letter at a time like an LED light.
(I have attached only a part of the code because of the limited number of characters.)
LINEI:
begin
case(cnt)
00: {Icd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b0_(0)_(1000)_(0000):
01 : {Icd_(r)s, Icd_(r)w., Icd_(d)ata}=10'b1_(0)_(0010)_(0000);
02 : (lcd_(r)s, Icd_(r)w, Icd_(d)ata)=10'b1_(0)_(0100)_(1000);
03 : {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0100)_(0101):
04: {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0100)_(1100):
05: {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0100)_(1100);
06 : {lcd_(r)s, Icd_(r)iv, Icd_(d)ata}=10'b1_(0)_(0010)_(1111);
07 : {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0010)_(1111):
08: {lod_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0101)_(0111);
09: {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0100)_(1111):
10: {Icd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0101)_(0010):
11 : {Icd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0100)_(1100);
12: {Icd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0100)_(0100);
13 : {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0010)_(0001);
14 : {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0010)_(0000);
15 : {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0010)_(0000):
16 : {Icd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0010)_(0000);
default : {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0010)_(0000);
LINE2 :
begin
case(cnt)
00:{lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10.b0_(0)_(1100)_(0000);
01:{lod_(r)s, Icd_(r)w, Icd_(d)ata}=10.b1_(0)_(0011)_(0010);
02:{licd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0011)_(0000):
03: {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10.b1_(0)_(0011)_(0010);
04: {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0011)_(0001):
05 : {lcd_(r)s, Icd_(r)w. Icd_(d)ata}=10'b1_(0)_(0011)_(0001):
06: {lod_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0011)_(0001);
07 : {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0011)_(0001);
08:{lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0011)_(0000);
09: : {lod_(r)s, lod_(r)w, Icd_(d)ata}=10'b1_(0)_(0011)_(0000);
10: {lcd_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0011)_(0000);
11 : {led_(r)s, Icd_(r)w, Icd_(d)ata}=10'b1_(0)_(0010)_(0000);

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 Programming Questions!