This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to generate delay in CPU?

Hello,

I am trying to generate delay in CPU. For instance after writing a register, I want to read it again after 1000ns. What should be the C code or the assembly code for the same?

Thank you

Nishank Bansal

Parents
  • What exactly do you mean by precision? Does it mean precision in percentage or if I am trying to have a delay of 1us and delay generated is 1us±precision? If not, it would be very helpful if you can explain with some example. I am new to the industry. So please bare with me :)

Reply
  • What exactly do you mean by precision? Does it mean precision in percentage or if I am trying to have a delay of 1us and delay generated is 1us±precision? If not, it would be very helpful if you can explain with some example. I am new to the industry. So please bare with me :)

Children