cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
2,024 Views
Registered: ‎01-22-2014

Null instruction in XPS SDK

Dear ALL,

 

i am writing some code with vhdl and connect it by FSL from Microblaze side. 

 

Now I have a question, I should write some C++ code in SDK to perform data sending and receiving, 

 

I need to know how to write code for waiting for several cycle or waiting for some time(ns), during this waiting time, 

 

the system do noting. 

 

I konw there is instrunction like NULL in keil, but I do not know same in XPS.

 

Thanks for you help.

0 Kudos
1 Reply
Highlighted
Anonymous
Not applicable
2,005 Views

You can use a sleep function, or you can insert asm code in c, __asm__("NULL");
0 Kudos