The present invention provides a processor device and technique having the capability of providing a two-processor solution with only one processor. In accordance with the principles of the present invention, a
host processor is programmed in its native source and
machine code language, and an emulated second processor is programmed in a different native source or
machine code language particular to that emulated processor, to allow
programming specialists in the different processors to develop
common code for use on the same
host processor. A multitasking
operating system is included to allow
time sharing operation between instructions from
program code relating to the
host processor (e.g., a DSP in the disclosed embodiment), and different
program code relating to the emulated processor. The
program code relating to the host processor (e.g., DSP) is written in program code which is native to the DSP, while the program code relating to the emulated processor (e.g.,
microcontroller) is written in program code which is native to the
microcontroller. The SoftCore emulation module allows both DSP code and control code written for a
microcontroller to execute independently on the same processor by multi-tasking resources in the faster, host processor (e.g., in the DSP), giving
equal time slots of
processor time to each processor (real and emulated).