Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Sequence of operations

Altera_Forum
Honored Contributor II
1,017 Views

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
Altera_Forum
Honored Contributor II
306 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
Altera_Forum
Honored Contributor II
306 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
Reply