Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow to set a input as fixed binary pattern?
I'm working on a input string, and need to set around 100 bits as input, however, I don't know how to set a input with a fixed pattern, say, "11101001110000......." as input. So, where should set for...
Altera_Forum
Honored Contributor
14 years agoIf I understood you, you need to design a 16 bit shift register as above replacing 64 bits with 16 bits then kick it on every clock edge.
For changing value every 16 clock cycles then simply load new value into shift register. You will need a small counter say 0 ~ 3 to load a specific value at each count. if count 0 load x"...", else if count 1 load x"...." and so on.