Showing results for 
Search instead for 
Did you mean: 
Honored Contributor I

FPGA 8x8 matrix periodically changing letters

Hello, i wanna make 8x8 led matrix which will change some letters with 3 Hz periode. I dont know how can i force the code to make it. I have some process to both letters, to activate rows and some reset but i need to know how to switch from 1 letter to other, then back to the first one and again with that periode. Can someone give me an advice that would help?

0 Kudos
1 Reply
Honored Contributor I



I assume you plan is to do this entirely in VHDL or Verliog, right? 


Are you familiar with state machines? They provide an excellent way to implement this sort of sequential logic in VHDL or Verilog. Google should spit out tons of articles about that topic. 


So I'd suggest you first implement some counter that generates a single pulse every 3 s. Then your state machine listens to that pulse, and whenever it receives one, it switches to the next state which generates the next letter. 


In order to do that, you should have an entity that drives all signals for the LED matrix, and has some inputs that let you select letters. I assume you already have something like that (i.e. if-this-signal-is-applied-then-display-a-capital-A-otherwise-display-a-capital-B, something like that). 


It's very likely the easiest if you separate your design into at least those three entitites (counter, state machine, matrix driver). 



Best regards,