Title :
Dynamic hardware-software task switching and relocation mechanisms for reconfigurable systems
Author :
Kai-Jung Shih ; Hong-Yu Sun ; Pao-Ann Hsiung
Author_Institution :
Dept. of Comput. Sci. & Inf. Eng., Nat. Chung Cheng Univ., Chiayi, Taiwan
Abstract :
With technology development, hardware tasks can be configured at run-time. Idle hardware tasks in a reconfigurable logic should be replaced by other hardware tasks through a task switching mechanism. For the efficient use of system resources, task switching and relocation mechanism are proposed in this work. During task switching and relocation, three issues including the choice of switchable points, the maintenance of correct transparent communication, and the transfer of context data need to be solved. The methods for designing both hardware tasks and software tasks are proposed so as to allow users to integrate their designs into a system with task switching and relocation. Template functions are proposed and implemented to allow tasks to save/restore their context data. The control flows of task switching and relocation also guarantee the correctness and consistency of task communication relations after switching or relocation. Finally, several implementation examples are provided to prove the correctness of the proposed mechanism. For the greatest common divisor (GCD) example without an operating system, software task switching takes 2% of the total software execution time, while hardware task switching takes 23% of the total hardware execution time. As far as task relocation is concerned, the software to hardware relocation takes 3% of the total execution time, while the hardware to software relocation takes 5% of the total execution time. The high difference in software and hardware task switching time is due to the latency incurred by the context data transfer and the execution of the hardware driver process.
Keywords :
multiprocessing systems; reconfigurable architectures; dynamic hardware software task switching; greatest common divisor; hardware driver process; reconfigurable systems; relocation mechanisms; task communication; template functions; transparent communication; Reconfigurable Logic; Switchable Point; Task Design Flow; Task Relocation; Task Switching;
Conference_Titel :
Frontier Computing. Theory, Technologies and Applications, 2010 IET International Conference on
Conference_Location :
Taichung
DOI :
10.1049/cp.2010.0554