Verilog LCD1602

OP #3645507
Rate this post
useful
not useful
Hi guys, I am a newbie here, I just wanna know if there is something 
wrong with my code, I converted the vhdl code in the attached link to 
verilog and it is not working. I am not sure if I used the correct 
syntax. (btw, i removed the counter and replaced it with just a single 
character A).

http://www.cosmiac.org/pdfs/09Tutorial7.pdf
Attached files:
Guest #3645532
Rate this post
useful
not useful
This is totally broken.

The orginal VHDL code uses enumrations for its state values, verilog 
doesn't have an equivalent concept.

You have to replace each enumerated state value, with unique constant. 
You can use localparam or `define to assign the values a meaningful 
name.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now