Forum Discussion
Altera_Forum
Honored Contributor
17 years agoData corrupted, any problem with VHDL codes
HI everyone. I just have a quick question to ask. When we use the LOOP in VHDL, is there any chances that the number of times the LOOP is repeated affects the data, say, in the following pie...
Altera_Forum
Honored Contributor
17 years agoAhhh. You didn't use the Global clock! In that case I definitely think you have a clock skew problem, basicaly the data from one latch is bing clocked out in advance of the data to the next latch being clocked in - it's a common problem with large shift registers (I used Actel devices nearly 20 years ago and experienced same) but using a Global clock rather than normal routing should cure it as the skew over the global clock will be much much less than if you've used local routing for the clock.
I assumed it was a correlator you were designing, couldn't think of any other reason for this arrangement.