We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Observer monica_4780
Registered: ‎05-04-2018

uC/OS-II on MicroBlaze

I am trying to measure context switching time for MicroBlaze Processor running on ucos ii. I have created two tasks with different priorities that posts and pends on a semaphore from another task. I have measured the time using Oscilloscope by writing 0 and 1 to the GPIO pin. When the code (.text) is stored in BRAM of MicroBlaze then context switching time is as low as 4 microseconds. However, when the code (.text) is stored in DDR of Zynq Ultrascale over Instruction and Data Cache(64 kb), then the context switch time is around 180 microseconds. Is there any way to execute the code from DDR and yet obtain high performance?

0 Kudos