Guest
#3741709
we have state machine in the main function that has a clock . in the transition between two states we need to wait for a period of time (the time varies from time to time and we need to calculate it seperatly) and then to move to the next state. In order to implement this we want to use a counter as a function. but we can't use process (CLK) in a function. what can we do else?