I have a adc which needs a Convert pulse to be given. As a response i get a BUSY Pulse which goes low on completion of conversion. After this i need to send 20 clock pulses on a different channel to acquire the 20 bits of data.
The problem i am facing is
1) I can't use pattern match while sending the 20 clock pulses. It says pattern match should be used on acquire signals only. I need to check for falling edge of busy and then accordingly send 20 clock pulses.
2) Also since each channel initiates at a different time, i tried defining them individually. But that doesn't seem to work.
I was suggested to use semaphores, but i couldn't find any example on similar lines.
Can anyone suggest how i should go about it.
I am using pxie - 6556