Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
716 Views

Sequence of operations

Hi there, 

 

I'm trying to build a module that initializes an LCD and at the beginning a series of operations must be performed to initialize the LCD, so far a solution is to use a counter and decode each step into the required series of data sent to the LCD. 

 

I'm new to HDL and was wondering what other solutions are available? 

Thank you.
0 Kudos
2 Replies
Highlighted
Valued Contributor III
5 Views

I would think more along the lines of a state machine than a counter, but either approach would work. A state machine would be more flexible and IMO easier to look at and debug. 

 

Hope that helps.
0 Kudos
Highlighted
Valued Contributor III
5 Views

I gues this aproach is somewhat better. I was also thinking of a LUT for each step but a state machine sounds better.

0 Kudos