I've managed to solve the issues on my old topic, and here is a newer one. I want to scroll the text I've written on the seven segment display wrto clock, but system clock too fast. I tried to mux the clocks but I got multiple clocks error. Now I am trying to do it by counter. Here is the code:
Most synthesis tools will generate warnings for the latches generated with bytes and first_letter and complain that the bytes value isn't kept between clock cycles.
To make the design work, you should change two things:
- enclose the whole case doShift construct by a clock edge sensitive condition, not only the when '0' code.
- synchronize doShift to the clock, similar to Scan_Dav.
The others case can be empty, because it's never true in synthesized logic (presuming it's required at all by your synthesis tool).