I have 6 inputs to my entity, 4 switches (integer type), one clock, one reset. And a 4 bit o/p AN0-AN3 to control the anodes of the display and Data(6:0) which represents the data fed to the seven segments.
I am trying to write a program where at each positive edge of the clock, I have to pass the values of the 4 integers to the 4 seven segment displays.for example. i/p i0 goes to the rightmost seven segment and i3 goes to the left most. I have a process statement with a slower clock in my sensitivity list. Anyone has any ideas of what construct would be the best to use to pass the data from i0,i1,i2 and i3 to the seven segment displays inside the process statement?
thanks
-VJ