-
公开(公告)号:IL99744A
公开(公告)日:1995-05-26
申请号:IL9974491
申请日:1991-10-15
Applicant: IBM ISRAEL
Inventor: LISLE RONALD JAY
Abstract: A system is provided including a host processor 22 and an audio capture and playback adapter 24 having a DSP co-processor 26. The adapter includes shared memory 28 accessible from both the DSP and the host. A DSP program is periodically written to the shared memory by the host and executed by the DSP. A non ping-pong dual buffer technique is disclosed wherein alternately one buffer is executed by the DSP while the remaining buffer is updated or linked by the host. In one embodiment, two pointer variables are used, each indicating respectively which buffer is currently being executed by the DSP and which has been updated by the host. Initially both pointer and pointer B point to buffer A containing the initial DSP code. Each time the DSP requires execution of the configurable program, it reads pointer B, copies it to pointer A, and then branches to the buffer pointer A points to. When the host begins to relink to a buffer, it first sets pointer B equal to pointer A, relinks into the opposite buffer as pointer A, and then sets pointer B to this opposite buffer. The host is thereby prevented from updating a buffer currently being executed by the DSP. Real time dynamic linking of code segments in a tightly coupled co-processing system is thereby provided.