- Joined
- Jan 22, 2008
- Messages
- 53,140
- Helped
- 14,792
- Reputation
- 29,871
- Reaction score
- 14,293
- Trophy points
- 1,393
- Location
- Bochum, Germany
- Activity points
- 301,182
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.