- Joined
- Jan 22, 2008
- Messages
- 53,454
- Helped
- 14,799
- Reputation
- 29,887
- Reaction score
- 14,366
- Trophy points
- 1,393
- Location
- Bochum, Germany
- Activity points
- 302,513
Your question has been already answered, the problem is that you apparently don't understand the answers.
Just run the code in post #1 with any simulation time step resolution according to your requirements, e.g. 10 ps, 1 ps, as you like. The time variable is a real type with sufficient resolution, but the actual wait time interval is rounded according to the simulation time step.
Just run the code in post #1 with any simulation time step resolution according to your requirements, e.g. 10 ps, 1 ps, as you like. The time variable is a real type with sufficient resolution, but the actual wait time interval is rounded according to the simulation time step.