Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Is this a block to be synthesised, or just a simulation model? It can make a real difference to the code, because waits might be very appropriate for a model. for the counter size, you know your clock speed, and you know how long you need to wait, so n bits can be easily calculated. --- Quote End --- This is something that is going into an actual test bench and talking to other subsystems via a C# application. I don't know what my clock speed is nor how long I should wait. I do realize thought that ns is overkill in trying to simulate the bounce / jitter of a relay switch when it flips. I'm thinking ms should be sufficient.