05-17-2012 05:34 AM
Suppose I'm trying to set my whole signals into 0s after 276 us...how do I declare that variable in my process? I put some numbers like 28, 276, and bigger numbers and simulated them but it seemed that the signals were still not all 0s...does this have to do with timing?
05-18-2012 08:33 AM
Counters count with each clock cylce. To understand how long it takes for a counter to read a particular time you need to know the frequency of the clock. This can be set in the System Generator token.
If the clock is 100MHz, then the period of the clock is 10ns. That means in order to get 1 us you will need a counter that counts to 1000.