WO2008008662A2 - External memory interface engine and serial communication input output interface engine - Google Patents

External memory interface engine and serial communication input output interface engine Download PDF

Info

Publication number
WO2008008662A2
WO2008008662A2 PCT/US2007/072675 US2007072675W WO2008008662A2 WO 2008008662 A2 WO2008008662 A2 WO 2008008662A2 US 2007072675 W US2007072675 W US 2007072675W WO 2008008662 A2 WO2008008662 A2 WO 2008008662A2
Authority
WO
WIPO (PCT)
Prior art keywords
memory
data
external memory
processor
subsystem
Prior art date
Application number
PCT/US2007/072675
Other languages
French (fr)
Other versions
WO2008008662A3 (en
Inventor
James D. Pennock
Ronald Baker
Brian R. Parker
Christopher Belcher
Original Assignee
Harman International Industries, Incorporated
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US11/771,743 external-priority patent/US9141567B2/en
Priority claimed from US11/771,764 external-priority patent/US20080016289A1/en
Application filed by Harman International Industries, Incorporated filed Critical Harman International Industries, Incorporated
Publication of WO2008008662A2 publication Critical patent/WO2008008662A2/en
Publication of WO2008008662A3 publication Critical patent/WO2008008662A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1694Configuration of memory controller to different memory types
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1673Details of memory controller using buffers

Definitions

  • This disclosure relates to an external device interface engine.
  • this disclosure relates to an external interface engine for digital signal processors or other types of processors.
  • DSPs digital signal processors
  • Some processors use state machines to facilitate the communication with an external device. These processors may require one state machine for each type of external device with which the processor5 communicates. Additionally, a separate state machine may be required for each operation that each external device performs.
  • a processor such as a DSP
  • Some systems directly connect an output of the processor to a serial device. These systems reduce the processor's efficiency since the processor may need to match the rate of data transfer to that of the serial device as well as synchronize the timing of the data rate transfer to the serial device.
  • Other systems may implement an interface between the processor and a serial device. In these systems, the processor must synchronize the timing of the data transfer to the serial interface. Failure to synchronize the timing can result in multiple channels creating a temporal mismatch with respect to one another which may lead to the erroneous processing of the data by the processor and/or the serial device. [0006] Therefore, there is a need for an improved external device interface engine, such as an external memory interface engine or a serial communication input output interface engine.
  • An external memory interface engine permits a data processor to operate independently of external memories.
  • the external memory interface engine provides programmers with an efficient mechanism for communicating with a wide variety of external memories, each of which may have their own unique interface requirements.
  • the external memory interface engine permits the data processor to operate without hard coded dedicated state machines, and without waiting for an external memory to complete an instruction before the data processor may perform its next instruction.
  • the external memory interface engine includes a memory subsystem, a swap controller, and an external memory control subsystem.
  • the memory subsystem includes a set of memory spaces, each one of which may alternately and independently communicate with a data processor or the external memory control subsystem.
  • the swap controller controls the communication paths between the data processor accessible memory space and the external memory control subsystem accessible memory.
  • the external memory control subsystem accesses its current memory space and communicates with an external memory while the data processor is allowed full access to its current memory space and can independently process data at the data processor's desired data rate.
  • a serial communication input output interface engine permits a processor to process data up to substantially the end of a processing period and still have the processed data accessible to a serial device at the beginning of the next processing period; maximizing serial data throughput without delays or temporal mismatches in the data samples. Additionally, the serial communication input output interface engine permits the data processor to operate free of potential time delays imposed by a serial device.
  • the serial communication interface engine includes a memory subsystem, a swap controller, and a serial controller subsystem.
  • the memory subsystem includes a set of memory spaces, each one of which may alternately and independently communicate with a data processor or the serial controller subsystem.
  • the swap controller controls the communication paths between the data processor accessible memory space and the serial controller subsystem accessible memory.
  • the serial controller subsystem accesses its current memory space and communicates with one or more serial device while the data processor is allowed full access to its current memory space and can independently process data at the data processor's desired data rate.
  • Figure 1 shows a block diagram of an external memory interface engine.
  • Figure 2 is a block diagram of a swap controller and memory subsystem of an external memory interface engine.
  • Figure 3 is a block diagram of an external device control subsystem of an external memory interface engine.
  • Figure 4 is a memory timing diagram and instruction data set.
  • Figure 5 shows the acts taken by a data processor to access a data processor accessible buffer memory.
  • Figure 6 shows the acts taken by an external memory interface engine to implement an access to an external memory.
  • Figure 7 is a block diagram of a serial communication input output interface engine.
  • Figure 8 is an alternate block diagram of a serial communication input output interface engine.
  • Figure 9 shows the acts taken by a data processor and a serial controller subsystem to access a data processor accessible buffer memory.
  • Figure 10 shows the acts taken by a serial communication input output interface engine to communicate with a serial device.
  • Figure 1 shows a block diagram of an external memory interface engine 100.
  • the external memory interface engine 100 may encompass hardware and/or software that are capable of running on one or more processors in conjunction with one or more operating systems.
  • the external memory interface engine 100 facilitates communication between a data processor 102, such as a microcontroller; a microprocessor; an embedded controller; or a digital signal processor, and one or more external memories, such as Read
  • the external memory interface engine 100 may include a swap controller 116, a memory subsystem 118, and an external memory control subsystem 120.
  • the memory subsystem 118 may include a set of buffer memory spaces.
  • the set of buffer memory spaces may include a first buffer memory 122 and a second buffer memory 124.
  • the buffer memories 122 and 124 store external memory control information, address information and/or data which are processed by the external memory control subsystem 120 when an access operation (e.g., a read or write) to an external memory 1 14 is performed.
  • an access operation e.g., a read or write
  • one of the buffer memories is accessible by the data processor 102 while the other buffer memory is accessible by the external memory control subsystem 120.
  • the swap controller 116 controls the communication paths between the buffer memories 122 and 124, the data processor 102, and the external memory control subsystem 120. More specifically, the swap controller 1 16 controls which buffer memory is accessible by the data processor 102 and which buffer memory is accessible by the external memory control subsystem 120. At the beginning of a new processing period, the swap controller 1 16 swaps the communication paths between the data processor 102, the external memory control subsystem 120, and the buffer memories such that a buffer memory that was previously accessible to the data processor 102 is now accessible to the external memory control subsystem 120, and vice-versa. Table 1, below, shows the accessibility of the first and second buffer memories 122 and 124 for four different processing periods.
  • the first buffer memory 122 is accessible by the data processor 102 and the second buffer memory 124 is accessible by the external memory control subsystem 120, which may communicate with an external memory 114.
  • the data processor 102 may execute an access operation with respect to the first buffer memory 122 while the external memory control system 120 may use information stored in the second buffer memory 124 to access an external memory 114.
  • the swap controller 116 switches the accessibility of the first and second buffer memories 122 and 124. Data that was stored in the first buffer memory 122 during the first processing period may be used to access an external memory 1 14 during the second processing period.
  • data that was stored in the second buffer memory 124 during the first processing period may be accessed by the data processor 102 during the second processing period. Accordingly, read and/or write operations may be performed by the data processor 102 and to an external memory 114 without direct communication between the two devices.
  • the external memory control subsystem 120 may analyze one or more data elements in the buffer memory that is currently accessible to the external memory control subsystem 120.
  • the external memory control subsystem 120 may execute an external memory access operation.
  • a host device 126 may provide the external memory control subsystem 120 with one or more customizable parameters which configure the external memory control subsystem 120 to communicate with the buffer memory subsystem 1 18 and an external memory 1 14.
  • Address information stored in the buffer memories 122 and 124 may identify a data storage location of an external memory 1 14 to which data is written or from which data will be read. Additionally, the buffer memories 122 and 124, may store additional information relating to an external memory 1 14, such as external memory control information.
  • the external memory control information may indicate which external memory 1 14 will be accessed when multiple external memories are connected to the external memory interface engine 100, the type of external memory, whether data is to be written to or read from a selected external memory, and/or may provide formatting information.
  • the formatting information may indicate whether the address information should be split into two or more addresses, and/or whether an offset should be added to the address information, or provide other formatting information.
  • a buffer memory 122, 124 may be configured as a circularly addressed memory. In these systems, synchronous data signal processing may be performed in a more efficient manner. Depending on the desired implementation, different types of external memory control information may be used, and may be appended to the beginning and/or end of the address data. [0029]
  • the data stored in the buffer memories 122 and 124 may be digital samples of an audio signal, such as samples received from an analog to digital converter, or any other type of digital data.
  • the data stored in the buffer memories 122 and 124 may be accessed at regular intervals based on a clock signal (e.g., synchronously) and/or at irregular intervals (e.g., asynchronously) depending on the type of external memory to be accessed.
  • Buffer memories 122 and/or 124 may vary in size and width. In some interface engines, one or more buffer memories may be 256 words deep by 32 bits wide. In other interface engines, the size and/or width of one or more buffer memories may depend on the implementation desired. [0030] In an alternative implementation, memory subsystem 1 18 includes a single dual port buffer memory instead of the first and second buffer memories 122 and 124.
  • the swap controller 116 controls the communication paths between the data processor 102, the external memory control subsystem 120, and the ports of the dual port buffer memory.
  • the memory subsystem 1 18 includes multiple buffer memories that are grouped together as sets. Each set of buffer memories may include one or more data buffer memories, one or more address buffer memories, and/or one or more control buffer memories.
  • the data buffer memory stores data associated with an address stored in the corresponding address buffer memory or with an address and external memory control information stored in an address buffer memory.
  • one set of buffer memories is accessible by the data processor 102 while the other set of buffer memories is accessible by the external memory control subsystem 120, which may also access an external memory 114.
  • FIG. 1 is a block diagram of a swap controller and a memory subsystem of an external memory interface engine.
  • the swap controller 116 receives multiple clock signals.
  • One clock signal supplied to the swap controller 116 may be the clock signal that drives a data processor while a second clock signal may be the clock signal that drives an external memory.
  • the clock signals may be related to one another and may be a selectable multiple of a sampling rate, such as 44.1 KHz for audio sampling. Although the data processor clock signal and the external memory clock signal may be related to one another, these clock signals may run at different frequencies.
  • a third clock signal such as a synchronization signal may be received by the swap controller 116.
  • the synchronization signal may represent the data rate at which digital data is received by the data processor or another processing period, as dictated by a data processor program or a host program running in conjunction with the external memory interface engine, such as a synchronization event.
  • the synchronization signal may be the data processor clock signal.
  • the synchronization signal may be the external memory clock signal.
  • the synchronization signal may be a signal unrelated to the data processor clock signal or the external memory clock signal.
  • the synchronization signal may be used by the swap controller 116 to determine the external memory interface engine's processing period. For instance, the swap controller 116 may analyze the data processor clock signal, the external memory clock signal, and the synchronization clock signal. When the synchronization signal indicates the beginning of a new period (e.g., processing period), the swap controller 1 16 verifies that neither the data processor 102 nor the external memory 1 14 is executing an access operation, and swaps the accessibility of the memory subsystem's 1 18 buffer memories. When the buffer memories are swapped, swap controller 1 16 may provide a synchronization signal to the external memory controller subsystem.
  • a new period e.g., processing period
  • the external memory controller subsystem may use this synchronization signal to clear its associated counters, registers, and/or logic to prepare to process new address information and/or data.
  • the external memory control subsystem may use this synchronization signal to increment or decrement its associated counters, registers, and/or logic by a predetermined value to prepare to process new address information and/or data.
  • the memory subsystem 1 18 includes a first set of buffer memories
  • Each set of buffer memories 202 and 204 includes an address buffer memory 206 and a data buffer memory 208 that operate together to store address and external memory control information, in an address buffer memory 206, for an external memory 1 14 and data to be written to or read from that address location.
  • An advantage to using separate buffer memories for address/external memory control information and data is that if a data element exceeds the width of one location in a data buffer memory 208, the remainder of the data element may be stored in another data buffer memory location, without storing multiple addresses for that data element.
  • An additional advantage to using separate buffer memories for address/external memory control information and data is that when a read operation is performed from an external memory, an associated address is not overwritten and is therefore available to the data processor during the subsequent processing period.
  • Each of the buffer memories included in the memory subsystem 1 18 are coupled to the swap controller 1 16, the data processor clock signal, and the external memory clock signal through multiplexers.
  • the multiplexers select between the clock signals used by a buffer memory.
  • Each buffer memory in the first or second set of buffer memories 202 and 204 may use the same clock signal during a particular processing period.
  • Each buffer memory in the memory subsystem 118 may receive a write signal, an address signal, and/or a data input signal over a bus line. Additionally, a data output signal may be output from a buffer memory across a bus line. Multiplexers may connect similar input and output bus lines from the data processor and the external memory control subsystem such that the accessibility to the sets of buffer memories may be controlled by the swap controller 1 16.
  • FIG 3 is a block diagram of an external memory control subsystem.
  • the external memory control subsystem 120 may include a timing section 302, a data section 304, and an access section 306.
  • the timing section 302 may include a timing controller 308, a timing memory 310, a timing instruction decoder 312, and a refresh controller 314.
  • the timing memory 310 stores instruction data strings related to accessing an external memory. Multiple instruction data strings may be executed in sequence to perform an access to an external memory. The instruction data strings may be loaded into the timing memory 310 by a host upon power up or during a reset/re-initialization command prior to enabling the external memory interface engine. Alternatively, the timing memory may be wholly or partially implemented as a ROM that is preprogrammed with instruction data strings. Each instruction data string may provide control bits used to configure the access section 306 for accessing an external memory.
  • the control bits may represent such control signals as output enable, write enable, column address strobe ("CAS”), row address strobe ("RAS”), latch enable, one or more chip selects, and/or other signals depending on the type of external memory to be accessed.
  • the access section 306 may extract some or all of the control bits from an instruction data string.
  • the control bits may be extracted on a bit-by-bit basis, or may be decoded through a combination of bits.
  • the size and width of the timing memory 310 may be selected based on a desired implementation. In one implementation, the timing memory 310 may be 128 words deep by 16 bits wide.
  • the type of memory used for the timing memory 310 may also be selected based on a desired implementation.
  • the timing memory 310 may be Random Access Memory ("RAM") which provides a programmer with flexibility in defining the control bits of the instruction data strings.
  • the control bit definition may vary on a per external memory basis (e.g., the instruction data strings may be programmable). For instance, a programmer may select to use the first bit of the instruction data string for the output enable control signal for a first external memory, such as a SRAM, and may select to use the third bit of the instruction data string for the output enable control signal for a second external memory, such as a DRAM.
  • timing memory 310 provides a programmer with the capability of quickly changing the types of external memories connected to the external memory interface engine, or connecting newly designed external memories to the external memory interface engine with a minimal amount of programming changes.
  • the timing memory 310 may be wholly or partially implemented with a ROM which is preprogrammed with instruction data strings.
  • the refresh controller 314 provides a refresh signal to the timing controller 308.
  • the refresh signal may be used when the external memory control subsystem 120 communicates with a dynamic external memory.
  • a counter which may be resident to the refresh controller 314.
  • the refresh controller 314 transmits a refresh signal to the timing controller 308.
  • the timing controller 308 pauses operation of the access section 306 and causes a data refresh cycle of the dynamic external memory. After the refresh cycle, the access section 306 resumes operation at the point at which it was paused.
  • the amount of time between transmissions of refresh signals may be controlled by a configurable refresh parameter written to a host register 316 which interfaces with the host. The host may read and write to and from the host register 316, while the refresh controller 314 has read access to the host register 316.
  • the host register 316 may be defined in other memory spaces.
  • the timing controller 308 may read parameters from one or more host registers 340.
  • the host registers 340 include an enable host register that stores enable data controlling when the external memory interface engine is enabled or disabled.
  • one or more timing memory host registers such as eight, may store pointers that identify the starting location within the timing memory 310 of the instruction data strings for a particular operation of a particular external memory. For instance, the contents of a first timing memory host register may point to the starting location in the timing memory 310 where the first customizable instruction data string for a read operation of an external SDRAM is stored. Another timing memory host register may point to the starting location in the timing memory 310 where the first customizable instruction data for a write operation of an external SDRAM is stored.
  • the number of timing memory host registers may be configured based on the number of different types of external memories connected to the external memory interface engine and the number of operations to be performed.
  • One or more timing memory count host registers such as eight, may include data defining the number of instruction data strings that are used to perform an operation. For instance, a timing memory count host register associated with a DRAM read operation may specify that 12 instruction data strings define the read operation.
  • the timing controller 308 may identify the location and number of instruction data strings, stored in the timing memory 310, for reading data from a DRAM external memory. The timing controller 308 may provide this information to the timing memory 310 on a timing address bus.
  • the timing controller 308 may provide an update address counter signal and/or an update data counter signal on the bus lines 318 to the data section 304.
  • the update address counter signal and update data counter signals may increment or decrement the address counter 320 and/or the data counter 322 by one or more locations to indicate the next location within the buffer memories that the external memory control subsystem 120 should access.
  • the data section 304 may include the address counter 320, the data counter 322, address decoder 324, and an address modifier 326.
  • the address counter 320 is a counter configured to indicate an address storage location within the buffer memory set that is accessible to the external memory control subsystem 120.
  • the data counter 322 is a counter configured to identify a data storage location with the buffer memory set that is accessible to the external memory control subsystem 120.
  • the external memory address counter 320 and the external memory data counter 322 may be configured to receive an offset value from the timing instruction decoder 312.
  • the offset value output by the timing instruction decoder 312 may be configured through one or more control bits of an instruction data string. When enabled, the offset value may increment or decrement the counters in the address counter 320 and/or the data counter 322 by one or more numerical values.
  • Address/external memory control information and data output by a buffer memory set accessible by the external memory control subsystem 120 is provided to the address decoder 324 and the access section 306, respectively.
  • Address/external memory control information and data output by a buffer memory set to the data processor is provided through data output buses to the data processor where it may be stored, further processed, and/or transmitted to another device.
  • the address decoder 324 may be logic configured to receive address/external memory control information output from a buffer memory accessible by the external memory control subsystem 120. The received address information may be decoded to separate out an external memory address and control information. Some or all of the external memory control information may be provided to the timing section 302 and/or the access section 306. The address decoder 324 may obtain the external memory control information by selecting specific bits or by decoding a predetermined combination of bits from the address/control information received.
  • the external memory control information may include an offset signal to be added to or subtracted from the external memory address, an address split signal which may be used to split an external memory address at a specific bit location (such as to obtain a low, medium, and/or high address if required by a specific external memory), a read/write phase signal which may be used to control whether a read/write operation for a synchronous external memory occurs on a positive or negative clock cycle, and/or a memory type pointer used to identify which timing memory host registers 340 should be used by the timing controller 308.
  • the address decoder 324 may include and/or have access to a register location that may store data which may be used to dynamically update a data buffer memory accessible by the external memory control subsystem 120.
  • the external memory address may be provided to an address modifier 326.
  • the address modifier 326 may enable the implementation of a circularly addressable memory space within an external memory.
  • the address modifier 326 may modify the information representing the external memory address by adding or subtracting an offset value at the beginning of a new processing period or during a processing period.
  • the address modifier 326 may include logic such that when an offset value is added to or subtracted from the external memory address, the modified external memory address does not store data into another memory space.
  • the logic may include hardware and/or software that checks to make sure the memory is wrapped around when a circularly memory space is to be implemented. Alternatively, if no modification is required, the address modifier 326 may pass the received address data through to the access section 306.
  • the access section 306 may include clock phase logic 328, control logic 330, address reformatter logic 332, data input reformatter logic 334 and data output reformatter logic 336.
  • the clock phase logic 328 may be employed when communicating with a synchronous external memory.
  • the clock phase logic 328 may generate an external memory clock signal based on read/write phase signal of the address decoder 324 and the external memory clock signal received by swap controller 116. Based on the read/write phase signal, the clock phase logic 328 may generate an output external memory clock signal that is the inverse of the input external memory clock signal, or that is a modified or delayed version of the input external memory clock signal.
  • the control logic 330 may extract control bits from the instruction data strings output by the timing memory 310.
  • the control logic 330 may use the extracted control bits to generate signals for accessing the external memory.
  • the control bits output by the control logic 330 may be derived from the bits of an instruction data string, or may be decoded from a combination of instruction data string bits.
  • the address reformatter logic 332 may receive the external memory address data (or modified external memory address data, if modified), as well as optional control data.
  • the control data may be used if the external memory address is to be split, or if the external memory identifies its memory locations on an address and sub-address basis (e.g., bank configuration).
  • the address reformatter logic 332 may split the external memory address into smaller sections, if necessary.
  • Bank configuration may be supplied to the address reformatter logic by a bank configuration host register. If the external memory address does not need to be reformatted, the address reformatter logic 332 may operate as flow through logic.
  • the data input reformatter logic 334 may receive one or more control bits and may pass data received from an external memory to an external memory control system 1 14 accessible buffer memory set. Data may be received at the data input reformatter logic 334 when data is being read from an external memory. Because the width of data used by an external memory may differ from the width used by the data processor, data input reformatter logic 334 may reformat received data to a different width. Reformatting may include splitting received data into smaller sections, concatenating multiple received data portions to form a data element with a larger section, or passing through the data received.
  • the data output reformatter logic 336 may receive one or more control bits and may pass data received from an external memory control system 120 accessible buffer memory set to an external memory. Because the width of data used by an external memory may differ from the width used by the data processor, data output reformatter logic 336 may reformat received data to a different width. Reformatting may include splitting received data into smaller sections, concatenating multiple received data portions to form a data element with a larger section, or passing through the data received. [0054]
  • the data input reformatter logic 334 and the data output reformatter logic 336 may both be coupled to a bidirectional bus that is coupled to an external memory. A control bit output from the timing memory 310 may be used to select which reformatter logic is connected to the bidirectional bus during a particular instruction.
  • Figure 4 shows an exemplary timing diagram and instruction set for reading data from an external memory, such as a DRAM.
  • the following instruction set 400 is performed: (1) Drive row address, (2) Drive xRD and xCS, (3) Drive RAS, (4) Drive Column Address, (5) Drive CAS, (6) Drive Data, (7) Release CAS, (8) Drive Column Address, (9) Drive CAS, (10) Read Data, (1 1) Release CAS, (12) Release Column Address, (13) Release RAS, and (14) Release xRD and xCS.
  • the timing diagram 402 shows the timing configuration of control bits (406-414) that may be included as part of an instruction data string stored in the timing memory.
  • DRAM data 416 represents when during the timing diagram the data is read.
  • Clock signal 402 is shown being trigger on a rising edge. Therefore, the control bits transition at substantially the same time as the clock signal's rising edge. Alternatively, the instruction set may be processed on a falling edge of the clock signal. [0057]
  • the instruction data string may include control bits that may be used by other components of the external memory control subsystem, such as the address reformatter logic, the address counter, the data input reformatter logic, and the data counter. Tables 3-6 show exemplary control bits for these components as well as exemplary operations.
  • the instruction data strings shown in table 7, which correspond to instruction set 400 may be stored in the timing memory.
  • the timing controller may use the timing memory pointer and timing memory counter to determine where in the timing memory these instruction data strings are stored.
  • the timing memory may process the instruction data strings sequentially until completion of the operation.
  • Figure 5 shows the acts taken by a data processor to access a data processor accessible buffer memory.
  • a check may be performed to determine if a new processing period indicator (e.g., a synchronization signal) has been received (act 500).
  • a buffer memory set swap occurs coupling the data processor to a buffer memory set that was accessible by the external memory control subsystem during the previous processing period (act 502).
  • a clear signal may be transmitted to the external memory control subsystem indicating that counters and clearable registers should be cleared in anticipation of receiving new information.
  • Address/external memory control information provided by the data processor is stored in an address memory space of the buffer memory set accessible by the data processor (act 504). This address/external memory control information will be for a future operation because before the operation (read or write) can be executed, the buffer memory sets must swap and this information must be provided to the external memory control subsystem.
  • a check may be performed by the data processor to determine if data will be written to or read from an external memory (act 506). If the data processor has data associated with the address stored in the address memory space at act 504, the data processor is preparing to write this data to an external memory. This data is stored in a data memory space of the buffer memory set accessible by the data processor (act 508) and is associated with the address stored at act 504. During the next processing period, this data will be accessible by the external memory control subsystem and will be stored in an external memory. [0062] If the data processor does not have data associated with the address stored in the address memory space at act 504, the address stored at act 504 represents a future read request.
  • the data processor may perform a read operation from the data processor accessible buffer memory set (act 510).
  • the data read from the data processor accessible buffer memory set corresponds to a read request that was stored in the accessible address buffer memory two processing cycles earlier.
  • the buffer memory set has access to this data because the location in which the data is stored is associated with the address that was stored in the address memory space two processing cycles earlier.
  • the two processing cycle lag results from swapping the buffer memory sets. For instance, a read request is stored in an address memory space during processing period n.
  • the buffer memory sets are swapped, this read request is accessible by the external memory control subsystem, the corresponding data is read out of the external memory and stored in a data memory space accessible by the external memory control subsystem.
  • the buffer memory sets swap again, and the data retrieved from the external memory is now accessible by the data processor.
  • the external memory interface engine may check to see if a swap request, such as a synchronization signal, has been received (act 512). Determination of a swap request may be performed by the swap controller analyzing the synchronization signal.
  • a buffer memory swap may be performed (act 502), and the process of figure 5 continues.
  • the data processor may check to see if there are additional external accesses to be performed (act 514). If additional external accesses exist, the process may restart at point "A.” If no additional external accesses exist, the data processor may remain idle with respect to external access operations and the external memory interface engine may continue to check if a swap request has been received.
  • FIG. 6 shows the acts taken by an external memory interface engine to implement an access to an external memory. A check may be performed to determine if a new processing indicator (e.g., a synchronization signal) has been received (act 600). When a synchronization signal is detected, a buffer memory set swap occurs coupling the external memory device control subsystem to a buffer memory set (act 602).
  • a new processing indicator e.g., a synchronization signal
  • the external memory control subsystem retrieves and evaluates address/external memory control information from the address buffer memory to which it has access (act 604).
  • the external memory control subsystem may decode the retrieved external memory control information to determine external memory related information, such as the type of external memory to access, external memory address formatting information, and/or other external memory control information.
  • the external memory control subsystem may decode the retrieved external memory control information to determine whether to perform a read or write operation (act 606). Based on the type of external memory to be accessed and the operation to be performed, the starting location of instruction data strings in the timing memory are identified (act 608), such as by a timing controller's use of one or more of the host registers. Additionally, based on the type of external memory to be accessed and the operation to be performed, the numbers of instructions involved in the operation are identified (act 610), such as by information stored in one or more of the host registers. [0070] The first instruction data string is executed by the external memory control subsystem (act 612).
  • a check may be performed by the timing memory to see if the number of executed instruction data strings is less than the number of instruction data string involved in the operation (act 614). Additional instruction data strings may be executed (act 618). When no additional instruction data strings exist, the external memory control subsystem may determine whether there are additional external accesses to perform (act 620).
  • the process may restart at point "B.” If no additional external accesses exist, the external memory interface engine may check to see if a swap request, such as a synchronization signal, has been received (act 622). Determination of a swap request may be performed by the swap controller analyzing the synchronization signal. If the swap controller determines that a swap request was received ⁇ e.g., a rising synchronization signal) a buffer memory swap may be performed (act 602), and the process of figure 6 continues. If no swap request has been received, the external memory control subsystem may remain idle and the external memory interface engine may continue to check if a swap request has been received.
  • a swap request such as a synchronization signal
  • Address/external memory control information read from or written to a buffer memory set by the external memory control subsystem may be transmitted through either a serial or parallel process.
  • data read from or written to a buffer memory set by the external memory control subsystem may be transmitted through either a serial or parallel process.
  • the external memory interface engine shields the data processor from external memory imposed time delays.
  • the data processor communicates with a buffer memory set, instead of directly communicating with an external memory. Accordingly, the data processor communicates with the one or more buffer memories such that a write operation to an external memory will occur during the next sample cycle, and data to be retrieved from the external memory will be provided back to the data processor two sample cycles later. Because the data processor does not communicate directly with the external memory, the data processor can continue to perform read and write operations to a buffer memory instead of remaining in a wait state while an external memory executes its operations.
  • Figure 7 shows a block diagram of a serial communication input output ("I/O") interface engine.
  • the serial communication I/O interface engine 700 may encompass hardware and/or software that are capable of running on one or more processors in conjunction with one or more operating systems.
  • the serial communication I/O interface engine 700 may be used to serially transfer data (e.g., send or receive) between a data processor 702 and one or more serial device 704.
  • the serial device 704 may be a digital signal processor, an analog to digital converter, a digital to analog converter, or other external processor, a microcontroller, embedded controller, a general purpose processor, or other type of processor. Additionally, the serial communication I/O interface engine may communicate with a host 716.
  • the serial communication I/O interface engine 700 may include a swap controller 706, a memory subsystem 708, and a serial controller subsystem 710.
  • the memory subsystem 708 may include a set of buffer memory spaces.
  • the set of buffer memory spaces may include a first buffer memory 712 and a second buffer memory 714.
  • the buffer memories may be partitioned into separate memory spaces, with each partition of a memory space being associated with one of multiple shift registers, as will be explained later.
  • the buffer memories 712 and 714 store data which is processed by the serial controller subsystem 710 when a transfer to/from a serial device 704 is performed. During a processing period, one of the buffer memories is accessible by the data processor 702 while the other buffer memory is accessible by the serial controller subsystem 704.
  • the swap controller 706 may control the communication paths between the buffer memories, the data processor 702, and the serial controller subsystem 710, which may also communicate with a serial device 704. More specifically, the swap controller 706 may control which buffer memory is accessible by the data processor 702 and by the serial controller subsystem 706. At the beginning of a new processing period, the swap controller 706 may swap the communication paths between the data processor 702, the serial controller subsystem 710, and the buffer memories, such that a buffer memory that was previously accessible to the data processor 102 is now accessible to the serial controller subsystem 710 and vice-versa. Table 8, below shows the accessibility of the first and second buffer memories 712 and 714 for four different processing periods.
  • the first buffer memory 712 is accessible by the data processor and the second buffer memory 714 is accessible by the serial controller subsystem 710, which may also communicate with a serial device 704.
  • the data processor 702 may execute a transfer operation with respect to the first buffer memory 712 while the serial controller subsystem 710 may use data stored in the second buffer memory 714 to execute a transmission operation to the serial device 704.
  • the swap controller 706 switches the accessibility of the first and second buffer memories, 712 and 714. Data that was stored in the first buffer memory 712 during the first processing period may be transmitted to the serial device 704, via the serial controller subsystem 710, during the second processing period. Accordingly, the data processor 702 and the serial device 704 may exchange data without directly communicating with one another.
  • swap controller 706 is shown integrated into the serial controller subsystem 710.
  • swap controller may be discrete from the serial controller subsystem 710 and may be coupled to the memory subsystem 708 and the serial controller subsystem 710.
  • the serial controller subsystem 710 may perform the operations of the swap controller 706.
  • the data stored in the buffer memories 712 and 714 may be digital samples of an audio signal, such as samples received from an analog to digital converter, or any other type of digital data.
  • Each of the buffer memories 712 and 714 may vary in size and width. In one implementation, the buffer memories 712 and 714 may be 64 words deep by 32 bits wide.
  • FIG. 8 is an alternative block diagram of a serial communication I/O interface engine 700.
  • the serial controller 810 controls the swapping of the buffer memory communication paths that may otherwise be controlled by a swap controller. Accordingly, the serial controller 810 receives multiple clock signals.
  • One clock signal supplied to the serial controller 810 may be the clock signal that drives the data processor 702, while a second supplied clock signal may be the clock signal that drives the serial device 704. Because the clock signal driving the data processor 702 and the clock signal driving the serial device 704 may run at different frequencies, a third clock signal, such as a synchronization signal may also be received by the serial controller 810.
  • the synchronization signal may represent the data rate at which data is received by the data processor 702, or another processing period as dictated by a data processor program or host program running in conjunction with the serial communication I/O interface engine
  • the synchronization signal may synchronize the operation of the serial communication I/O interface engine between the data processor clock signal and the serial device clock.
  • the serial controller 810 may analyze the data processor clock signal, the serial device clock signal, and the synchronization signal. When the synchronization signal indicates the beginning of a new processing period, the serial controller 810 verifies that no accesses to the buffer memories are pending, and swaps the accessibility of the memory subsystem's 708 buffer memories. Configuration information may be supplied to the serial controller 810 by one or more host registers which may be defined in another memory space.
  • the serial controller subsystem 710 may be coupled to the memory subsystem 708, and more specifically to the first and second buffer memories 712 and 714.
  • the serial controller subsystem 710 may include advance logic 814, and one or more (e.g., 8) shift register sections 816.
  • the advance logic 814 may comprise combination logic configured to identify a particular memory address location and may capture the data stored in that memory location. In some systems, the advance logic 814 may identify address location separated by a predetermined amount. For example, the advance logic 814 may be configured to identify every 8th memory address location (e.g., the zero memory address location, the 7th memory address location, and the 15th memory address location - for a memory that has 16 memory address locations numbered using a zero based system). Other configurations may be contemplated depending on the implementation desired.
  • Each shift register section 816 may be coupled to a bidirectional serial communication port that connects to a serial device.
  • the serial communication port may be configured as either a transmitter or a receiver. In some applications, the serial communication port may transmit and/or receive serial data that is multiple bits wide. In some systems, the data transmitted through and/or received at a serial communication port may be
  • Each shift register section 816 includes an input register 818, a shift register 820 - such as a staging register which may store data to be transmitted later, an output register 822, an advance register 824, and a shift controller 826.
  • the shift controller 826 may receive the highest available serial clock signal that is driving a serial device 704 which may be the same serial clock signal that is received by the serial controller 810.
  • the shift controller 826 may operate at the rate of the received serial clock signal, or may divide this signal down to a lower rate, such as half rate, quarter rate, or one eighth rate.
  • the shift controller 826 is coupled to the shift register 820 and the output register 822 and provides the whole or divided clock signal to these registers.
  • each shift controller 826 in a shift register section 816 may be configured to operate at a different rate.
  • the shift register section 816 is configured to transmit data to a serial device.
  • the input register 818 may load a channel of data into the shift register 820 in a parallel load, such that the data, for example a word 32 bits wide, may be loaded into the shift register 820 at one time.
  • the shift register 820 may process bits starting with the most significant bit (“MSB”) (e.g., the left most bit of the data string) and shift out bits one at a time until the least significant bit (“LSB”) (e.g., the right most bit of the data string) is shifted out. In other applications, the shift register 820 may process the LSB bit first and shift out bits until the MSB is shifted out.
  • MSB most significant bit
  • LSB least significant bit
  • the shift register 820 may process the LSB bit first and shift out bits until the MSB is shifted out.
  • the shift register section 816 is configured to receive data from a serial device. In this configuration, the shift register may receive bits one at a time until a full value, such as 32 bits have been received.
  • the shift register 820 may output its contents in a parallel load into the output register 822. When this parallel shift occurs, the entire contents of the shift register 820 are transferred to the output register 822 at one time.
  • Each output register 820 of the one or more serial register sections 816 may be coupled to the serial controller 810 through data input buses, and coupled to the buffer memories through a data output bus. [0088] Once the full value is transferred to the output register 822, the serial controller
  • the 810 may multiplex a data input bus from one of the output registers 822 with the serial controller's 810 data output bus. As the serial controller 810 cycles through each output register 822 of the one or more serial register sections 816 the data from the output register 822 is written to the buffer memory that is accessible to the serial controller subsystem 710. At the conclusion of the processing period, the buffer memories may swap accessibility, and a data processor will have access to this data while any data written into the buffer memory during the last processing period by the data processor may now be used to perform a transmission (e.g., send) operation to a serial device.
  • a transmission e.g., send
  • the buffer memory swap may undergo a momentary delay as a result of the serial controller 810 transferring the data from the output registers 822 to the serial controller subsystem accessible buffer memory.
  • the shift registers 820 configured as transmitters during the next processing period may receive the data to be transmitted after the momentary delay.
  • the advance logic 814 may monitor when the data processor writes data to a buffer memory for each of the shift register sections 816. More specifically, the advance logic 814 monitors when data is written by the data processor to a predetermined location of a buffer memory space associated with one of the shift register sections 816.
  • the predetermined location may be a first position of a buffer memory space (e.g., a zero memory address location). In other systems, the predetermined location may be positions separated by a predetermined amount, such as every fourth position of a buffer memory space (e.g., a zero memory address location, a 3rd memory address location, and a 7th memory address location - for a memory that has 8 memory address locations numbered using a zero based system).
  • the data in the predetermined location may be transmitted by the serial controller subsystem 710 at the beginning of a processing period or a synchronization event.
  • the advance logic 814 determines that the data processor has written data to a predetermined location of a buffer memory space, the advance logic 814 causes this same data to be written to an associated advance register 824. There may be one advance register for each shift register section 816.
  • Advance registers 824 are always accessible to the associated shift register section 816, and therefore the associated shift register 820. Because the data stored in an advance register 824 is the first data that will be serially transmitted at the start of a processing period, the associated shift register 820 may receive this data in parallel when the serial controller 810 identifies a new processing period, such as from the synchronization signal. If the swap process encounters a momentary delay, this momentary delay will not effect the transmission of a first data element to be transmitted by the shift registers.
  • the receive channel processing e.g., the transferring of the received data from the output register to the serial controller accessible buffer memory
  • the buffer memories will swap their accessibility, and the next data element to be transmitted to a serial device will be accessible by the associated shift register sections 816.
  • Figure 9 shows the acts taken by a data processor and serial controller subsystem to access a data processor accessible buffer memory.
  • the data processor receives an indication that a new processing period has begun (act 902). This indication may be the result of a synchronization signal transition.
  • a check may be performed by the data processor to determine whether data should be sent to or received from a serial device via the buffer memory (act 904). If data is to be received, the data processor may read the data from a data processor accessible buffer memory (act 906).
  • the data processor accessible buffer memory is the buffer memory that was accessible to the serial controller subsystem during the preceding processing period.
  • the data processor may determine if a new processing period indicator has been received. If a new processing period indicator has been received, the process of figure 9 may return to point "C.” If a new processing period indicator has not been received, the data processor may check if there is an addition transfer to perform (act 910). If there is an additional transfer to perform, the data processor may determine whether data is to be sent to or received from a serial device (act 904). If there are no additional transfers to perform, the data processor may remain in an idle state with respect to transfer operations until a new processing period indicator is received.
  • the advance logic may check to determine whether the data processor is storing data in a predetermined position of a buffer memory space accessible to the data processor (act 912). If the data processor is storing data in the first position of a buffer memory space accessible to the data processor, this same data is also stored in the advanced register that is associated with this buffer memory space (act 914). If the data processor is not storing data in the predetermined position of a buffer memory space accessible to the data processor, then the data is stored within a buffer memory space accessible to the data processor (act 916).
  • Figure 10 shows the acts taken by a serial communication I/O interface engine to communicate with a serial device.
  • the serial controller Upon power up or a reset/re-initialization command, the serial controller receives a synchronization signal (act 1002). A check is performed by the serial controller to determine whether data is being sent or received over a communication channel port (act 1004).
  • the serial controller may determine whether data is being sent or received over a communication channel port by determining whether the communication channel port is configured as a transmitter or a receiver. If data is being sent over the communication channel port (e.g., the serial controller subsystem is configured to send data), data stored in the advance register, is transferred in parallel to the shift register (act 1006). After the full value of data is transferred to the shift register, the serial controller begins transmitting the contents of the shift register to a serial device on a bit-by-bit basis (act 1008). While this data is being sent to a serial device, a buffer memory swap occurs, coupling the serial controller subsystem to a buffer memory that was previously accessible by the data processor (act 1010).
  • data (e.g., the next word) is loaded from the buffer memory accessible to the serial controller subsystem into the input register.
  • the data loaded into the input register is transferred in parallel to the shift register (act 1014).
  • the serial controller transfers the data from the shift register to a serial device on a bit-by-bit basis (act 1016).
  • a check may be performed by the serial controller to determine if there is additional data to send to the data processor (act 1018). If there is additional data to send to the data processor, the process of figure 10 may restart at point "D.” If there is no additional data to send to the data processor, the serial controller may check to determine if a new processing period is beginning (e.g., a synchronization signal has been received)(act 1020). If a new processing period or synchronization event is beginning, the current value stored in the advance register, which was stored in the predetermined location of the buffer memory accessible to the data processor during the last processing period, is transferred to the shift register (act 1006) and the transmission process of figure 10 continues. Otherwise, the serial controller may remain idle with respect to serial data transmissions and await a synchronization signal.
  • a new processing period is beginning (e.g., a synchronization signal has been received)(act 1020). If a new processing period or synchronization event is beginning, the current value stored in the advance register, which was stored in the predetermined location of the
  • the serial controller determines that data is to be received, the data may be collected in the shift register on a bit-by-bit basis (act 1022). Once a full value is received, the data may be transferred in parallel to the output register (act 1024). The serial controller may then transfer the data from the output register to its accessible buffer memory space (act 1026). [0098] A check may be performed by the serial controller to determine if there is additional data to be received from the data processor (act 1028). If there is additional data to be received from the data processor, the process of figure 10 may restart at point "E.” If there is no additional data to be received from the data processor, the serial controller may check to determine if a synchronization signal has been received (act 1028). If there is additional data to be received from the data processor, the process of figure 10 may restart at point "E.” If there is no additional data to be received from the data processor, the serial controller may check to determine if a synchronization signal has been received (act 1028). If there is additional data to be received from the data processor, the process
  • the serial interface engine permits a data processor to process data up to substantially the end of a processing period and still have the processed data accessible to a serial device during the next processing period without delays or temporal mismatches in the data samples. Additionally, the serial interface engine permits the data processor to operate free of potential time delays imposed by a serial device.

Abstract

A configurable device interface enhances the ability of a processor to communicate with other devices. The configurable device interface provides programmers with an efficient mechanism for communicating with a wide variety of external memories, each of which may have their own unique interface requirements. As a result, the configurable device interface permits a data processor to operate without hard coded dedicated state machines, and without waiting for an external memory to complete an instruction before the data processor may perform its next instruction. A configurable device interface enhances the ability of a processor to communicate with other devices. A configurable serial interface promotes efficient data transmission and reception. The configurable serial interface includes a source of transmit data that the configurable serial interface may access even while data reception is simultaneously completing.

Description

EXTERNAL MEMORY INTERFACE ENGINE AND SERIAL COMMUNICATION INPUT OUTPUT INTERFACE ENGINE
i o BACKGROUND OF THE INVENTION
1. Priority Claim.
[0001] This application claims the benefit of priority from U.S. Provisional Application No. 60/830,283, filed July 1 1, 2006, U.S. Patent Application No. 1 1/771,743, filed June 29, 2007, and U.S. Patent Application No. 1 1/771,764, filed June 29, 2007, all of which 15 are incorporated by reference.
2. Technical Field.
[0002] This disclosure relates to an external device interface engine. In particular, this disclosure relates to an external interface engine for digital signal processors or other types of processors. 0 3. Related Art.
[0003] Processors, such as digital signal processors ("DSPs"), communicate with external devices, including other processors and/or memories. Some processors use state machines to facilitate the communication with an external device. These processors may require one state machine for each type of external device with which the processor5 communicates. Additionally, a separate state machine may be required for each operation that each external device performs.
[0004] The proliferation of state machines adds significant time and monetary costs to the design and fabrication of processors. Furthermore, because the state machines and processors often operate at different data rates, wait states must be added to a processor to0 match the data rate of the state machines. The wait states reduce the processor's efficiency by preventing the processor from proceeding with its operations until it receives a data ready response from the state machine.
[0005] Additionally, when a processor, such as a DSP, communicates with a serial device it sends and receives data on a bit-by-bit basis. Some systems directly connect an output of the processor to a serial device. These systems reduce the processor's efficiency since the processor may need to match the rate of data transfer to that of the serial device as well as synchronize the timing of the data rate transfer to the serial device. Other systems may implement an interface between the processor and a serial device. In these systems, the processor must synchronize the timing of the data transfer to the serial interface. Failure to synchronize the timing can result in multiple channels creating a temporal mismatch with respect to one another which may lead to the erroneous processing of the data by the processor and/or the serial device. [0006] Therefore, there is a need for an improved external device interface engine, such as an external memory interface engine or a serial communication input output interface engine.
SUMMARY
[0007] An external memory interface engine permits a data processor to operate independently of external memories. In addition, the external memory interface engine provides programmers with an efficient mechanism for communicating with a wide variety of external memories, each of which may have their own unique interface requirements. As a result, the external memory interface engine permits the data processor to operate without hard coded dedicated state machines, and without waiting for an external memory to complete an instruction before the data processor may perform its next instruction. [0008] The external memory interface engine includes a memory subsystem, a swap controller, and an external memory control subsystem. The memory subsystem includes a set of memory spaces, each one of which may alternately and independently communicate with a data processor or the external memory control subsystem. The swap controller controls the communication paths between the data processor accessible memory space and the external memory control subsystem accessible memory. The external memory control subsystem accesses its current memory space and communicates with an external memory while the data processor is allowed full access to its current memory space and can independently process data at the data processor's desired data rate. [0009] A serial communication input output interface engine permits a processor to process data up to substantially the end of a processing period and still have the processed data accessible to a serial device at the beginning of the next processing period; maximizing serial data throughput without delays or temporal mismatches in the data samples. Additionally, the serial communication input output interface engine permits the data processor to operate free of potential time delays imposed by a serial device.
[0010] The serial communication interface engine includes a memory subsystem, a swap controller, and a serial controller subsystem. The memory subsystem includes a set of memory spaces, each one of which may alternately and independently communicate with a data processor or the serial controller subsystem. The swap controller controls the communication paths between the data processor accessible memory space and the serial controller subsystem accessible memory. The serial controller subsystem accesses its current memory space and communicates with one or more serial device while the data processor is allowed full access to its current memory space and can independently process data at the data processor's desired data rate. [0011] Other systems, methods, features and advantages will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] This disclosure may be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like referenced numerals designate corresponding parts throughout the different views. [0013] Figure 1 shows a block diagram of an external memory interface engine.
[0014] Figure 2 is a block diagram of a swap controller and memory subsystem of an external memory interface engine.
[0015] Figure 3 is a block diagram of an external device control subsystem of an external memory interface engine.
[0016] Figure 4 is a memory timing diagram and instruction data set.
[0017] Figure 5 shows the acts taken by a data processor to access a data processor accessible buffer memory.
[0018] Figure 6 shows the acts taken by an external memory interface engine to implement an access to an external memory.
[0019] Figure 7 is a block diagram of a serial communication input output interface engine.
[0020] Figure 8 is an alternate block diagram of a serial communication input output interface engine. [0021] Figure 9 shows the acts taken by a data processor and a serial controller subsystem to access a data processor accessible buffer memory.
[0022] Figure 10 shows the acts taken by a serial communication input output interface engine to communicate with a serial device.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] Figure 1 shows a block diagram of an external memory interface engine 100.
The external memory interface engine 100 may encompass hardware and/or software that are capable of running on one or more processors in conjunction with one or more operating systems. The external memory interface engine 100 facilitates communication between a data processor 102, such as a microcontroller; a microprocessor; an embedded controller; or a digital signal processor, and one or more external memories, such as Read
Only Memory ("ROM") 104, Static Random Access Memory ("SRAM") 106, Dynamic Random Access memory ("DRAM") 108, Synchronous DRAM ("SDRAM") 110, Flash RAM 112, and/or any other type of volatile and/or non-volatile memory, storage location, or storage device, hereafter collectively referred to as external memory 1 14. The external memory interface engine 100 may include a swap controller 116, a memory subsystem 118, and an external memory control subsystem 120.
[0024] The memory subsystem 118 may include a set of buffer memory spaces. The set of buffer memory spaces may include a first buffer memory 122 and a second buffer memory 124. The buffer memories 122 and 124 store external memory control information, address information and/or data which are processed by the external memory control subsystem 120 when an access operation (e.g., a read or write) to an external memory 1 14 is performed. During a processing period, one of the buffer memories is accessible by the data processor 102 while the other buffer memory is accessible by the external memory control subsystem 120.
[0025] The swap controller 116 controls the communication paths between the buffer memories 122 and 124, the data processor 102, and the external memory control subsystem 120. More specifically, the swap controller 1 16 controls which buffer memory is accessible by the data processor 102 and which buffer memory is accessible by the external memory control subsystem 120. At the beginning of a new processing period, the swap controller 1 16 swaps the communication paths between the data processor 102, the external memory control subsystem 120, and the buffer memories such that a buffer memory that was previously accessible to the data processor 102 is now accessible to the external memory control subsystem 120, and vice-versa. Table 1, below, shows the accessibility of the first and second buffer memories 122 and 124 for four different processing periods.
Figure imgf000007_0001
[0026] For instance, during a first processing period, the first buffer memory 122 is accessible by the data processor 102 and the second buffer memory 124 is accessible by the external memory control subsystem 120, which may communicate with an external memory 114. During this first processing period, the data processor 102 may execute an access operation with respect to the first buffer memory 122 while the external memory control system 120 may use information stored in the second buffer memory 124 to access an external memory 114. At the beginning of the second processing period, the swap controller 116 switches the accessibility of the first and second buffer memories 122 and 124. Data that was stored in the first buffer memory 122 during the first processing period may be used to access an external memory 1 14 during the second processing period. Similarly, data that was stored in the second buffer memory 124 during the first processing period may be accessed by the data processor 102 during the second processing period. Accordingly, read and/or write operations may be performed by the data processor 102 and to an external memory 114 without direct communication between the two devices.
[0027] During each processing period, such as the time between buffer memory swaps, the external memory control subsystem 120 may analyze one or more data elements in the buffer memory that is currently accessible to the external memory control subsystem 120.
Based on the analyzed data elements, the external memory control subsystem 120 may execute an external memory access operation. A host device 126 may provide the external memory control subsystem 120 with one or more customizable parameters which configure the external memory control subsystem 120 to communicate with the buffer memory subsystem 1 18 and an external memory 1 14.
[0028] Address information stored in the buffer memories 122 and 124 may identify a data storage location of an external memory 1 14 to which data is written or from which data will be read. Additionally, the buffer memories 122 and 124, may store additional information relating to an external memory 1 14, such as external memory control information. The external memory control information may indicate which external memory 1 14 will be accessed when multiple external memories are connected to the external memory interface engine 100, the type of external memory, whether data is to be written to or read from a selected external memory, and/or may provide formatting information. The formatting information may indicate whether the address information should be split into two or more addresses, and/or whether an offset should be added to the address information, or provide other formatting information. In some systems, all or part of a buffer memory 122, 124 may be configured as a circularly addressed memory. In these systems, synchronous data signal processing may be performed in a more efficient manner. Depending on the desired implementation, different types of external memory control information may be used, and may be appended to the beginning and/or end of the address data. [0029] The data stored in the buffer memories 122 and 124 may be digital samples of an audio signal, such as samples received from an analog to digital converter, or any other type of digital data. The data stored in the buffer memories 122 and 124 may be accessed at regular intervals based on a clock signal (e.g., synchronously) and/or at irregular intervals (e.g., asynchronously) depending on the type of external memory to be accessed. Buffer memories 122 and/or 124 may vary in size and width. In some interface engines, one or more buffer memories may be 256 words deep by 32 bits wide. In other interface engines, the size and/or width of one or more buffer memories may depend on the implementation desired. [0030] In an alternative implementation, memory subsystem 1 18 includes a single dual port buffer memory instead of the first and second buffer memories 122 and 124. The swap controller 116 controls the communication paths between the data processor 102, the external memory control subsystem 120, and the ports of the dual port buffer memory. [0031] In yet another implementation, the memory subsystem 1 18 includes multiple buffer memories that are grouped together as sets. Each set of buffer memories may include one or more data buffer memories, one or more address buffer memories, and/or one or more control buffer memories. The data buffer memory stores data associated with an address stored in the corresponding address buffer memory or with an address and external memory control information stored in an address buffer memory. During a processing period, one set of buffer memories is accessible by the data processor 102 while the other set of buffer memories is accessible by the external memory control subsystem 120, which may also access an external memory 114. The swap controller 1 16 controls the communication paths between the data processor 102, the external memory control subsystem 120, and the sets of buffer memories. [0032] Figure 2 is a block diagram of a swap controller and a memory subsystem of an external memory interface engine. In figure 2, the swap controller 116 receives multiple clock signals. One clock signal supplied to the swap controller 116 may be the clock signal that drives a data processor while a second clock signal may be the clock signal that drives an external memory. The clock signals may be related to one another and may be a selectable multiple of a sampling rate, such as 44.1 KHz for audio sampling. Although the data processor clock signal and the external memory clock signal may be related to one another, these clock signals may run at different frequencies. Because the clock signal driving the data processor and the clock signal driving an external memory may run at different frequencies, a third clock signal, such as a synchronization signal may be received by the swap controller 116. The synchronization signal may represent the data rate at which digital data is received by the data processor or another processing period, as dictated by a data processor program or a host program running in conjunction with the external memory interface engine, such as a synchronization event. In some systems, the synchronization signal may be the data processor clock signal. In other systems, the synchronization signal may be the external memory clock signal. In yet other systems, the synchronization signal may be a signal unrelated to the data processor clock signal or the external memory clock signal. [0033] The synchronization signal may be used by the swap controller 116 to determine the external memory interface engine's processing period. For instance, the swap controller 116 may analyze the data processor clock signal, the external memory clock signal, and the synchronization clock signal. When the synchronization signal indicates the beginning of a new period (e.g., processing period), the swap controller 1 16 verifies that neither the data processor 102 nor the external memory 1 14 is executing an access operation, and swaps the accessibility of the memory subsystem's 1 18 buffer memories. When the buffer memories are swapped, swap controller 1 16 may provide a synchronization signal to the external memory controller subsystem. The external memory controller subsystem may use this synchronization signal to clear its associated counters, registers, and/or logic to prepare to process new address information and/or data. In some systems, the external memory control subsystem may use this synchronization signal to increment or decrement its associated counters, registers, and/or logic by a predetermined value to prepare to process new address information and/or data. [0034] In figure 2, the memory subsystem 1 18 includes a first set of buffer memories
202 and a second set of buffer memories 204. Each set of buffer memories 202 and 204 includes an address buffer memory 206 and a data buffer memory 208 that operate together to store address and external memory control information, in an address buffer memory 206, for an external memory 1 14 and data to be written to or read from that address location. An advantage to using separate buffer memories for address/external memory control information and data is that if a data element exceeds the width of one location in a data buffer memory 208, the remainder of the data element may be stored in another data buffer memory location, without storing multiple addresses for that data element. An additional advantage to using separate buffer memories for address/external memory control information and data is that when a read operation is performed from an external memory, an associated address is not overwritten and is therefore available to the data processor during the subsequent processing period.
[0035] Each of the buffer memories included in the memory subsystem 1 18 are coupled to the swap controller 1 16, the data processor clock signal, and the external memory clock signal through multiplexers. The multiplexers select between the clock signals used by a buffer memory. Each buffer memory in the first or second set of buffer memories 202 and 204 may use the same clock signal during a particular processing period.
[0036] Each buffer memory in the memory subsystem 118 may receive a write signal, an address signal, and/or a data input signal over a bus line. Additionally, a data output signal may be output from a buffer memory across a bus line. Multiplexers may connect similar input and output bus lines from the data processor and the external memory control subsystem such that the accessibility to the sets of buffer memories may be controlled by the swap controller 1 16.
[0037] Figure 3 is a block diagram of an external memory control subsystem. The external memory control subsystem 120 may include a timing section 302, a data section 304, and an access section 306. The timing section 302 may include a timing controller 308, a timing memory 310, a timing instruction decoder 312, and a refresh controller 314.
[0038] The timing memory 310 stores instruction data strings related to accessing an external memory. Multiple instruction data strings may be executed in sequence to perform an access to an external memory. The instruction data strings may be loaded into the timing memory 310 by a host upon power up or during a reset/re-initialization command prior to enabling the external memory interface engine. Alternatively, the timing memory may be wholly or partially implemented as a ROM that is preprogrammed with instruction data strings. Each instruction data string may provide control bits used to configure the access section 306 for accessing an external memory. The control bits may represent such control signals as output enable, write enable, column address strobe ("CAS"), row address strobe ("RAS"), latch enable, one or more chip selects, and/or other signals depending on the type of external memory to be accessed. [0039] Based on the type of external memory to be accessed, the access section 306 may extract some or all of the control bits from an instruction data string. The control bits may be extracted on a bit-by-bit basis, or may be decoded through a combination of bits. The size and width of the timing memory 310 may be selected based on a desired implementation. In one implementation, the timing memory 310 may be 128 words deep by 16 bits wide.
[0040] The type of memory used for the timing memory 310 may also be selected based on a desired implementation. The timing memory 310 may be Random Access Memory ("RAM") which provides a programmer with flexibility in defining the control bits of the instruction data strings. The control bit definition may vary on a per external memory basis (e.g., the instruction data strings may be programmable). For instance, a programmer may select to use the first bit of the instruction data string for the output enable control signal for a first external memory, such as a SRAM, and may select to use the third bit of the instruction data string for the output enable control signal for a second external memory, such as a DRAM. Additionally, the ability to load customized instruction data strings into the timing memory 310 provides a programmer with the capability of quickly changing the types of external memories connected to the external memory interface engine, or connecting newly designed external memories to the external memory interface engine with a minimal amount of programming changes. Alternatively, the timing memory 310 may be wholly or partially implemented with a ROM which is preprogrammed with instruction data strings.
[0041] The refresh controller 314 provides a refresh signal to the timing controller 308. The refresh signal may be used when the external memory control subsystem 120 communicates with a dynamic external memory. Upon expiration of a counter, which may be resident to the refresh controller 314, the refresh controller 314 transmits a refresh signal to the timing controller 308. Upon receipt of the refresh signal, the timing controller 308 pauses operation of the access section 306 and causes a data refresh cycle of the dynamic external memory. After the refresh cycle, the access section 306 resumes operation at the point at which it was paused. The amount of time between transmissions of refresh signals may be controlled by a configurable refresh parameter written to a host register 316 which interfaces with the host. The host may read and write to and from the host register 316, while the refresh controller 314 has read access to the host register 316. The host register 316 may be defined in other memory spaces.
[0042] The timing controller 308 may read parameters from one or more host registers 340. In one implementation, the host registers 340 include an enable host register that stores enable data controlling when the external memory interface engine is enabled or disabled. In addition, one or more timing memory host registers, such as eight, may store pointers that identify the starting location within the timing memory 310 of the instruction data strings for a particular operation of a particular external memory. For instance, the contents of a first timing memory host register may point to the starting location in the timing memory 310 where the first customizable instruction data string for a read operation of an external SDRAM is stored. Another timing memory host register may point to the starting location in the timing memory 310 where the first customizable instruction data for a write operation of an external SDRAM is stored. The number of timing memory host registers may be configured based on the number of different types of external memories connected to the external memory interface engine and the number of operations to be performed. [0043] One or more timing memory count host registers, such as eight, may include data defining the number of instruction data strings that are used to perform an operation. For instance, a timing memory count host register associated with a DRAM read operation may specify that 12 instruction data strings define the read operation. Through the combination of the timing memory host registers and the timing memory count host registers, the timing controller 308 may identify the location and number of instruction data strings, stored in the timing memory 310, for reading data from a DRAM external memory. The timing controller 308 may provide this information to the timing memory 310 on a timing address bus. Other host registers may contain other configuration parameters, such as the number of instructions to perform during a refresh cycle, the number of access during a processing period or a portion of a processing period, or other interface engine related parameters. [0044] The timing controller 308 may provide an update address counter signal and/or an update data counter signal on the bus lines 318 to the data section 304. The update address counter signal and update data counter signals may increment or decrement the address counter 320 and/or the data counter 322 by one or more locations to indicate the next location within the buffer memories that the external memory control subsystem 120 should access.
[0045] The data section 304 may include the address counter 320, the data counter 322, address decoder 324, and an address modifier 326. The address counter 320 is a counter configured to indicate an address storage location within the buffer memory set that is accessible to the external memory control subsystem 120. Similarly, the data counter 322 is a counter configured to identify a data storage location with the buffer memory set that is accessible to the external memory control subsystem 120.
[0046] The external memory address counter 320 and the external memory data counter 322 may be configured to receive an offset value from the timing instruction decoder 312. The offset value output by the timing instruction decoder 312 may be configured through one or more control bits of an instruction data string. When enabled, the offset value may increment or decrement the counters in the address counter 320 and/or the data counter 322 by one or more numerical values. [0047] Address/external memory control information and data output by a buffer memory set accessible by the external memory control subsystem 120 is provided to the address decoder 324 and the access section 306, respectively. Address/external memory control information and data output by a buffer memory set to the data processor is provided through data output buses to the data processor where it may be stored, further processed, and/or transmitted to another device. [0048] The address decoder 324 may be logic configured to receive address/external memory control information output from a buffer memory accessible by the external memory control subsystem 120. The received address information may be decoded to separate out an external memory address and control information. Some or all of the external memory control information may be provided to the timing section 302 and/or the access section 306. The address decoder 324 may obtain the external memory control information by selecting specific bits or by decoding a predetermined combination of bits from the address/control information received. The external memory control information may include an offset signal to be added to or subtracted from the external memory address, an address split signal which may be used to split an external memory address at a specific bit location (such as to obtain a low, medium, and/or high address if required by a specific external memory), a read/write phase signal which may be used to control whether a read/write operation for a synchronous external memory occurs on a positive or negative clock cycle, and/or a memory type pointer used to identify which timing memory host registers 340 should be used by the timing controller 308. Additionally, the address decoder 324 may include and/or have access to a register location that may store data which may be used to dynamically update a data buffer memory accessible by the external memory control subsystem 120.
[0049] The external memory address may be provided to an address modifier 326. The address modifier 326 may enable the implementation of a circularly addressable memory space within an external memory. The address modifier 326 may modify the information representing the external memory address by adding or subtracting an offset value at the beginning of a new processing period or during a processing period. The address modifier 326 may include logic such that when an offset value is added to or subtracted from the external memory address, the modified external memory address does not store data into another memory space. The logic may include hardware and/or software that checks to make sure the memory is wrapped around when a circularly memory space is to be implemented. Alternatively, if no modification is required, the address modifier 326 may pass the received address data through to the access section 306. [0050] The access section 306 may include clock phase logic 328, control logic 330, address reformatter logic 332, data input reformatter logic 334 and data output reformatter logic 336. The clock phase logic 328 may be employed when communicating with a synchronous external memory. The clock phase logic 328 may generate an external memory clock signal based on read/write phase signal of the address decoder 324 and the external memory clock signal received by swap controller 116. Based on the read/write phase signal, the clock phase logic 328 may generate an output external memory clock signal that is the inverse of the input external memory clock signal, or that is a modified or delayed version of the input external memory clock signal.
[0051] The control logic 330 may extract control bits from the instruction data strings output by the timing memory 310. The control logic 330 may use the extracted control bits to generate signals for accessing the external memory. The control bits output by the control logic 330 may be derived from the bits of an instruction data string, or may be decoded from a combination of instruction data string bits. The address reformatter logic 332 may receive the external memory address data (or modified external memory address data, if modified), as well as optional control data. The control data may be used if the external memory address is to be split, or if the external memory identifies its memory locations on an address and sub-address basis (e.g., bank configuration). The address reformatter logic 332 may split the external memory address into smaller sections, if necessary. Bank configuration may be supplied to the address reformatter logic by a bank configuration host register. If the external memory address does not need to be reformatted, the address reformatter logic 332 may operate as flow through logic. [0052] The data input reformatter logic 334 may receive one or more control bits and may pass data received from an external memory to an external memory control system 1 14 accessible buffer memory set. Data may be received at the data input reformatter logic 334 when data is being read from an external memory. Because the width of data used by an external memory may differ from the width used by the data processor, data input reformatter logic 334 may reformat received data to a different width. Reformatting may include splitting received data into smaller sections, concatenating multiple received data portions to form a data element with a larger section, or passing through the data received.
[0053] The data output reformatter logic 336 may receive one or more control bits and may pass data received from an external memory control system 120 accessible buffer memory set to an external memory. Because the width of data used by an external memory may differ from the width used by the data processor, data output reformatter logic 336 may reformat received data to a different width. Reformatting may include splitting received data into smaller sections, concatenating multiple received data portions to form a data element with a larger section, or passing through the data received. [0054] The data input reformatter logic 334 and the data output reformatter logic 336 may both be coupled to a bidirectional bus that is coupled to an external memory. A control bit output from the timing memory 310 may be used to select which reformatter logic is connected to the bidirectional bus during a particular instruction. [0055] Figure 4 shows an exemplary timing diagram and instruction set for reading data from an external memory, such as a DRAM. As shown in figure 4, the following instruction set 400 is performed: (1) Drive row address, (2) Drive xRD and xCS, (3) Drive RAS, (4) Drive Column Address, (5) Drive CAS, (6) Drive Data, (7) Release CAS, (8) Drive Column Address, (9) Drive CAS, (10) Read Data, (1 1) Release CAS, (12) Release Column Address, (13) Release RAS, and (14) Release xRD and xCS. [0056] In figure 4, the timing diagram 402 shows the timing configuration of control bits (406-414) that may be included as part of an instruction data string stored in the timing memory. DRAM data 416 represents when during the timing diagram the data is read. Clock signal 402 is shown being trigger on a rising edge. Therefore, the control bits transition at substantially the same time as the clock signal's rising edge. Alternatively, the instruction set may be processed on a falling edge of the clock signal. [0057] In addition to the control bits 406-414, the instruction data string may include control bits that may be used by other components of the external memory control subsystem, such as the address reformatter logic, the address counter, the data input reformatter logic, and the data counter. Tables 3-6 show exemplary control bits for these components as well as exemplary operations.
Table 3
Address Reformatter Logic Control Bits
Control Bits Operation
00 Release address bus
01 Drive row address
10 Drive column address
11 Drive column address + 1
Figure imgf000018_0001
Table 6
Data Counter Control Bits
Control Bits Operation
00 No offset
01 Data buffer position + 1
10 Data buffer position - 1
11 reserved
[0058] To read from a DRAM external memory, the instruction data strings shown in table 7, which correspond to instruction set 400, may be stored in the timing memory. When the DRAM read is to be performed, the timing controller may use the timing memory pointer and timing memory counter to determine where in the timing memory these instruction data strings are stored. The timing memory may process the instruction data strings sequentially until completion of the operation.
Figure imgf000019_0001
[0059] Figure 5 shows the acts taken by a data processor to access a data processor accessible buffer memory. A check may be performed to determine if a new processing period indicator (e.g., a synchronization signal) has been received (act 500). When a synchronization signal is detected, a buffer memory set swap occurs coupling the data processor to a buffer memory set that was accessible by the external memory control subsystem during the previous processing period (act 502). When the buffer memory swap occurs, a clear signal may be transmitted to the external memory control subsystem indicating that counters and clearable registers should be cleared in anticipation of receiving new information. [0060] Address/external memory control information provided by the data processor is stored in an address memory space of the buffer memory set accessible by the data processor (act 504). This address/external memory control information will be for a future operation because before the operation (read or write) can be executed, the buffer memory sets must swap and this information must be provided to the external memory control subsystem.
[0061] A check may be performed by the data processor to determine if data will be written to or read from an external memory (act 506). If the data processor has data associated with the address stored in the address memory space at act 504, the data processor is preparing to write this data to an external memory. This data is stored in a data memory space of the buffer memory set accessible by the data processor (act 508) and is associated with the address stored at act 504. During the next processing period, this data will be accessible by the external memory control subsystem and will be stored in an external memory. [0062] If the data processor does not have data associated with the address stored in the address memory space at act 504, the address stored at act 504 represents a future read request. At substantially the same time the address is stored at act 504, or in delayed time, the data processor may perform a read operation from the data processor accessible buffer memory set (act 510). The data read from the data processor accessible buffer memory set corresponds to a read request that was stored in the accessible address buffer memory two processing cycles earlier. The buffer memory set has access to this data because the location in which the data is stored is associated with the address that was stored in the address memory space two processing cycles earlier. [0063] The two processing cycle lag results from swapping the buffer memory sets. For instance, a read request is stored in an address memory space during processing period n. During processing period n+1, the buffer memory sets are swapped, this read request is accessible by the external memory control subsystem, the corresponding data is read out of the external memory and stored in a data memory space accessible by the external memory control subsystem. During the next processing period, n+2, the buffer memory sets swap again, and the data retrieved from the external memory is now accessible by the data processor. [0064] The external memory interface engine may check to see if a swap request, such as a synchronization signal, has been received (act 512). Determination of a swap request may be performed by the swap controller analyzing the synchronization signal. If the swap controller determines that a swap request was received (e.g., a transitioning synchronization signal) a buffer memory swap may be performed (act 502), and the process of figure 5 continues. [0065] If a swap request has not been received, the data processor may check to see if there are additional external accesses to be performed (act 514). If additional external accesses exist, the process may restart at point "A." If no additional external accesses exist, the data processor may remain idle with respect to external access operations and the external memory interface engine may continue to check if a swap request has been received.
[0066] Address/external memory control information read from or written to a buffer memory set by the data processor may be transmitted through either a serial or parallel process. Similarly, data read from or written to a buffer memory set by the data processor may be transmitted through either a serial or parallel process. [0067] Figure 6 shows the acts taken by an external memory interface engine to implement an access to an external memory. A check may be performed to determine if a new processing indicator (e.g., a synchronization signal) has been received (act 600). When a synchronization signal is detected, a buffer memory set swap occurs coupling the external memory device control subsystem to a buffer memory set (act 602). When the buffer memory swap occurs, a clear signal may be transmitted to the external memory control subsystem indicating that counters and clearable registers should be cleared in anticipation of receiving new information. [0068] The external memory control subsystem retrieves and evaluates address/external memory control information from the address buffer memory to which it has access (act 604). The external memory control subsystem may decode the retrieved external memory control information to determine external memory related information, such as the type of external memory to access, external memory address formatting information, and/or other external memory control information.
[0069] The external memory control subsystem may decode the retrieved external memory control information to determine whether to perform a read or write operation (act 606). Based on the type of external memory to be accessed and the operation to be performed, the starting location of instruction data strings in the timing memory are identified (act 608), such as by a timing controller's use of one or more of the host registers. Additionally, based on the type of external memory to be accessed and the operation to be performed, the numbers of instructions involved in the operation are identified (act 610), such as by information stored in one or more of the host registers. [0070] The first instruction data string is executed by the external memory control subsystem (act 612). A check may be performed by the timing memory to see if the number of executed instruction data strings is less than the number of instruction data string involved in the operation (act 614). Additional instruction data strings may be executed (act 618). When no additional instruction data strings exist, the external memory control subsystem may determine whether there are additional external accesses to perform (act 620).
[0071] If additional external accesses exist, the process may restart at point "B." If no additional external accesses exist, the external memory interface engine may check to see if a swap request, such as a synchronization signal, has been received (act 622). Determination of a swap request may be performed by the swap controller analyzing the synchronization signal. If the swap controller determines that a swap request was received {e.g., a rising synchronization signal) a buffer memory swap may be performed (act 602), and the process of figure 6 continues. If no swap request has been received, the external memory control subsystem may remain idle and the external memory interface engine may continue to check if a swap request has been received.
[0072] Address/external memory control information read from or written to a buffer memory set by the external memory control subsystem may be transmitted through either a serial or parallel process. Similarly, data read from or written to a buffer memory set by the external memory control subsystem may be transmitted through either a serial or parallel process.
[0073] The external memory interface engine shields the data processor from external memory imposed time delays. As configured, the data processor communicates with a buffer memory set, instead of directly communicating with an external memory. Accordingly, the data processor communicates with the one or more buffer memories such that a write operation to an external memory will occur during the next sample cycle, and data to be retrieved from the external memory will be provided back to the data processor two sample cycles later. Because the data processor does not communicate directly with the external memory, the data processor can continue to perform read and write operations to a buffer memory instead of remaining in a wait state while an external memory executes its operations. [0074] Figure 7 shows a block diagram of a serial communication input output ("I/O") interface engine. The serial communication I/O interface engine 700 may encompass hardware and/or software that are capable of running on one or more processors in conjunction with one or more operating systems. The serial communication I/O interface engine 700 may be used to serially transfer data (e.g., send or receive) between a data processor 702 and one or more serial device 704. The serial device 704 may be a digital signal processor, an analog to digital converter, a digital to analog converter, or other external processor, a microcontroller, embedded controller, a general purpose processor, or other type of processor. Additionally, the serial communication I/O interface engine may communicate with a host 716. The serial communication I/O interface engine 700 may include a swap controller 706, a memory subsystem 708, and a serial controller subsystem 710.
[0075] The memory subsystem 708 may include a set of buffer memory spaces. The set of buffer memory spaces may include a first buffer memory 712 and a second buffer memory 714. The buffer memories may be partitioned into separate memory spaces, with each partition of a memory space being associated with one of multiple shift registers, as will be explained later.
[0076] The buffer memories 712 and 714 store data which is processed by the serial controller subsystem 710 when a transfer to/from a serial device 704 is performed. During a processing period, one of the buffer memories is accessible by the data processor 702 while the other buffer memory is accessible by the serial controller subsystem 704.
[0077] The swap controller 706 may control the communication paths between the buffer memories, the data processor 702, and the serial controller subsystem 710, which may also communicate with a serial device 704. More specifically, the swap controller 706 may control which buffer memory is accessible by the data processor 702 and by the serial controller subsystem 706. At the beginning of a new processing period, the swap controller 706 may swap the communication paths between the data processor 702, the serial controller subsystem 710, and the buffer memories, such that a buffer memory that was previously accessible to the data processor 102 is now accessible to the serial controller subsystem 710 and vice-versa. Table 8, below shows the accessibility of the first and second buffer memories 712 and 714 for four different processing periods.
Figure imgf000024_0001
[0078] For instance, during a first processing period, the first buffer memory 712 is accessible by the data processor and the second buffer memory 714 is accessible by the serial controller subsystem 710, which may also communicate with a serial device 704. During this first processing period, the data processor 702 may execute a transfer operation with respect to the first buffer memory 712 while the serial controller subsystem 710 may use data stored in the second buffer memory 714 to execute a transmission operation to the serial device 704. At the beginning of the second processing period, the swap controller 706 switches the accessibility of the first and second buffer memories, 712 and 714. Data that was stored in the first buffer memory 712 during the first processing period may be transmitted to the serial device 704, via the serial controller subsystem 710, during the second processing period. Accordingly, the data processor 702 and the serial device 704 may exchange data without directly communicating with one another.
[0079] In figure 7, swap controller 706 is shown integrated into the serial controller subsystem 710. In an alternative implementation, swap controller may be discrete from the serial controller subsystem 710 and may be coupled to the memory subsystem 708 and the serial controller subsystem 710. In yet another alternative, the serial controller subsystem 710 may perform the operations of the swap controller 706. [0080] The data stored in the buffer memories 712 and 714 may be digital samples of an audio signal, such as samples received from an analog to digital converter, or any other type of digital data. Each of the buffer memories 712 and 714 may vary in size and width. In one implementation, the buffer memories 712 and 714 may be 64 words deep by 32 bits wide. In other implementations, the buffer memories may be separate memories spaces of a dual port memory, or may be implemented in other manners. [0081] Figure 8 is an alternative block diagram of a serial communication I/O interface engine 700. The serial controller 810 controls the swapping of the buffer memory communication paths that may otherwise be controlled by a swap controller. Accordingly, the serial controller 810 receives multiple clock signals. One clock signal supplied to the serial controller 810 may be the clock signal that drives the data processor 702, while a second supplied clock signal may be the clock signal that drives the serial device 704. Because the clock signal driving the data processor 702 and the clock signal driving the serial device 704 may run at different frequencies, a third clock signal, such as a synchronization signal may also be received by the serial controller 810. The synchronization signal may represent the data rate at which data is received by the data processor 702, or another processing period as dictated by a data processor program or host program running in conjunction with the serial communication I/O interface engine
700, such as a synchronization event.
[0082] The synchronization signal may synchronize the operation of the serial communication I/O interface engine between the data processor clock signal and the serial device clock. The serial controller 810 may analyze the data processor clock signal, the serial device clock signal, and the synchronization signal. When the synchronization signal indicates the beginning of a new processing period, the serial controller 810 verifies that no accesses to the buffer memories are pending, and swaps the accessibility of the memory subsystem's 708 buffer memories. Configuration information may be supplied to the serial controller 810 by one or more host registers which may be defined in another memory space.
[0083] The serial controller subsystem 710 may be coupled to the memory subsystem 708, and more specifically to the first and second buffer memories 712 and 714.
Additionally, the serial controller subsystem 710 may include advance logic 814, and one or more (e.g., 8) shift register sections 816. The advance logic 814 may comprise combination logic configured to identify a particular memory address location and may capture the data stored in that memory location. In some systems, the advance logic 814 may identify address location separated by a predetermined amount. For example, the advance logic 814 may be configured to identify every 8th memory address location (e.g., the zero memory address location, the 7th memory address location, and the 15th memory address location - for a memory that has 16 memory address locations numbered using a zero based system). Other configurations may be contemplated depending on the implementation desired. Each shift register section 816 may be coupled to a bidirectional serial communication port that connects to a serial device. The serial communication port may be configured as either a transmitter or a receiver. In some applications, the serial communication port may transmit and/or receive serial data that is multiple bits wide. In some systems, the data transmitted through and/or received at a serial communication port may be four bits wide.
[0084] Each shift register section 816 includes an input register 818, a shift register 820 - such as a staging register which may store data to be transmitted later, an output register 822, an advance register 824, and a shift controller 826. The shift controller 826 may receive the highest available serial clock signal that is driving a serial device 704 which may be the same serial clock signal that is received by the serial controller 810. The shift controller 826 may operate at the rate of the received serial clock signal, or may divide this signal down to a lower rate, such as half rate, quarter rate, or one eighth rate. The shift controller 826 is coupled to the shift register 820 and the output register 822 and provides the whole or divided clock signal to these registers. Because there may be multiple shift register sections 816, each shift controller 826 in a shift register section 816 may be configured to operate at a different rate. [0085] When a serial communication port is configured as a transmitter, the shift register section 816 is configured to transmit data to a serial device. In this configuration, the input register 818 may load a channel of data into the shift register 820 in a parallel load, such that the data, for example a word 32 bits wide, may be loaded into the shift register 820 at one time. In some applications, the shift register 820 may process bits starting with the most significant bit ("MSB") (e.g., the left most bit of the data string) and shift out bits one at a time until the least significant bit ("LSB") (e.g., the right most bit of the data string) is shifted out. In other applications, the shift register 820 may process the LSB bit first and shift out bits until the MSB is shifted out. [0086] When a serial communication port is configured as a receiver, the shift register section 816 is configured to receive data from a serial device. In this configuration, the shift register may receive bits one at a time until a full value, such as 32 bits have been received. [0087] Once the shift register 820 has received a full value (e.g., 32 bits), the shift register 820 may output its contents in a parallel load into the output register 822. When this parallel shift occurs, the entire contents of the shift register 820 are transferred to the output register 822 at one time. Each output register 820 of the one or more serial register sections 816 may be coupled to the serial controller 810 through data input buses, and coupled to the buffer memories through a data output bus. [0088] Once the full value is transferred to the output register 822, the serial controller
810 may multiplex a data input bus from one of the output registers 822 with the serial controller's 810 data output bus. As the serial controller 810 cycles through each output register 822 of the one or more serial register sections 816 the data from the output register 822 is written to the buffer memory that is accessible to the serial controller subsystem 710. At the conclusion of the processing period, the buffer memories may swap accessibility, and a data processor will have access to this data while any data written into the buffer memory during the last processing period by the data processor may now be used to perform a transmission (e.g., send) operation to a serial device. [0089] When many serial communication ports are configured as receivers, the buffer memory swap may undergo a momentary delay as a result of the serial controller 810 transferring the data from the output registers 822 to the serial controller subsystem accessible buffer memory. As a result, the shift registers 820 configured as transmitters during the next processing period may receive the data to be transmitted after the momentary delay. To alleviate the possibility of this momentary delay, the advance logic 814 may monitor when the data processor writes data to a buffer memory for each of the shift register sections 816. More specifically, the advance logic 814 monitors when data is written by the data processor to a predetermined location of a buffer memory space associated with one of the shift register sections 816. In some systems, the predetermined location may be a first position of a buffer memory space (e.g., a zero memory address location). In other systems, the predetermined location may be positions separated by a predetermined amount, such as every fourth position of a buffer memory space (e.g., a zero memory address location, a 3rd memory address location, and a 7th memory address location - for a memory that has 8 memory address locations numbered using a zero based system). The data in the predetermined location may be transmitted by the serial controller subsystem 710 at the beginning of a processing period or a synchronization event. When the advance logic 814 determines that the data processor has written data to a predetermined location of a buffer memory space, the advance logic 814 causes this same data to be written to an associated advance register 824. There may be one advance register for each shift register section 816.
[0090] Advance registers 824 are always accessible to the associated shift register section 816, and therefore the associated shift register 820. Because the data stored in an advance register 824 is the first data that will be serially transmitted at the start of a processing period, the associated shift register 820 may receive this data in parallel when the serial controller 810 identifies a new processing period, such as from the synchronization signal. If the swap process encounters a momentary delay, this momentary delay will not effect the transmission of a first data element to be transmitted by the shift registers. During the time period that the first data element is serially transmitted, the receive channel processing (e.g., the transferring of the received data from the output register to the serial controller accessible buffer memory) will be completed, the buffer memories will swap their accessibility, and the next data element to be transmitted to a serial device will be accessible by the associated shift register sections 816.
[0091] Figure 9 shows the acts taken by a data processor and serial controller subsystem to access a data processor accessible buffer memory. The data processor receives an indication that a new processing period has begun (act 902). This indication may be the result of a synchronization signal transition. A check may be performed by the data processor to determine whether data should be sent to or received from a serial device via the buffer memory (act 904). If data is to be received, the data processor may read the data from a data processor accessible buffer memory (act 906). The data processor accessible buffer memory is the buffer memory that was accessible to the serial controller subsystem during the preceding processing period.
[0092] At act 908, the data processor may determine if a new processing period indicator has been received. If a new processing period indicator has been received, the process of figure 9 may return to point "C." If a new processing period indicator has not been received, the data processor may check if there is an addition transfer to perform (act 910). If there is an additional transfer to perform, the data processor may determine whether data is to be sent to or received from a serial device (act 904). If there are no additional transfers to perform, the data processor may remain in an idle state with respect to transfer operations until a new processing period indicator is received.
[0093] If at act 904 the data processor determines that data is being sent to the serial device, the advance logic may check to determine whether the data processor is storing data in a predetermined position of a buffer memory space accessible to the data processor (act 912). If the data processor is storing data in the first position of a buffer memory space accessible to the data processor, this same data is also stored in the advanced register that is associated with this buffer memory space (act 914). If the data processor is not storing data in the predetermined position of a buffer memory space accessible to the data processor, then the data is stored within a buffer memory space accessible to the data processor (act 916). At substantially the same time that data is stored in the data processor accessible buffer memory space and/or the advance logic, or after a delay, the data processor may determine if a new processing period indicator has been received (act 908) or whether additional transmission operations exist (act 910). In some implementations, the predetermined position may be the first memory position. [0094] Figure 10 shows the acts taken by a serial communication I/O interface engine to communicate with a serial device. Upon power up or a reset/re-initialization command, the serial controller receives a synchronization signal (act 1002). A check is performed by the serial controller to determine whether data is being sent or received over a communication channel port (act 1004). The serial controller may determine whether data is being sent or received over a communication channel port by determining whether the communication channel port is configured as a transmitter or a receiver. If data is being sent over the communication channel port (e.g., the serial controller subsystem is configured to send data), data stored in the advance register, is transferred in parallel to the shift register (act 1006). After the full value of data is transferred to the shift register, the serial controller begins transmitting the contents of the shift register to a serial device on a bit-by-bit basis (act 1008). While this data is being sent to a serial device, a buffer memory swap occurs, coupling the serial controller subsystem to a buffer memory that was previously accessible by the data processor (act 1010).
[0095] At act 1012, data (e.g., the next word) is loaded from the buffer memory accessible to the serial controller subsystem into the input register. The data loaded into the input register is transferred in parallel to the shift register (act 1014). The serial controller transfers the data from the shift register to a serial device on a bit-by-bit basis (act 1016).
[0096] A check may be performed by the serial controller to determine if there is additional data to send to the data processor (act 1018). If there is additional data to send to the data processor, the process of figure 10 may restart at point "D." If there is no additional data to send to the data processor, the serial controller may check to determine if a new processing period is beginning (e.g., a synchronization signal has been received)(act 1020). If a new processing period or synchronization event is beginning, the current value stored in the advance register, which was stored in the predetermined location of the buffer memory accessible to the data processor during the last processing period, is transferred to the shift register (act 1006) and the transmission process of figure 10 continues. Otherwise, the serial controller may remain idle with respect to serial data transmissions and await a synchronization signal.
[0097] If at act 1004 the serial controller determines that data is to be received, the data may be collected in the shift register on a bit-by-bit basis (act 1022). Once a full value is received, the data may be transferred in parallel to the output register (act 1024). The serial controller may then transfer the data from the output register to its accessible buffer memory space (act 1026). [0098] A check may be performed by the serial controller to determine if there is additional data to be received from the data processor (act 1028). If there is additional data to be received from the data processor, the process of figure 10 may restart at point "E." If there is no additional data to be received from the data processor, the serial controller may check to determine if a synchronization signal has been received (act
1030). If a synchronization signal has been received, the process of figure 10 may restart at point "E" with access to the buffer memory space that was previously accessible to the data processor. Otherwise, the serial controller may remain idle with respect to serial data transmissions and await a synchronization signal. [0099] The serial interface engine permits a data processor to process data up to substantially the end of a processing period and still have the processed data accessible to a serial device during the next processing period without delays or temporal mismatches in the data samples. Additionally, the serial interface engine permits the data processor to operate free of potential time delays imposed by a serial device. [00100] While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.

Claims

CLAIMS We claim:
1. An external memory interface engine, comprising: a processor; a memory control subsystem comprising programmable external memory control bits that specify an access operation of an external memory; a memory subsystem comprising: a first memory shared between the processor and the memory control subsystem; a second memory shared between the processor and the memory control subsystem; and a swap controller configured to alternately couple the first memory and the second memory between the processor and the control subsystem, where the memory control subsystem is configured to analyze control information and address information stored in the memory subsystem and responsive Iy output the programmable external memory control bits.
2. The external memory interface engine of claim 1 , where the first memory stores control information and address information and the second memory stores data information.
3. The external memory interface engine of claim 2, where the address information comprises a data storage location in an external memory.
4. The external memory interface engine of claim 4, where the control information comprises an address offset.
5. The external memory interface engine of claim 1 , where the swap controller is operable to alternately couple the memories between the processor and the memory control subsystem at a processing period boundary qualified by a synchronization event.
6. The external memory interface engine of claim 1, where the memory control subsystem further comprises a host register comprising an external memory access parameter.
7. The external memory interface engine of claim 1, where the memory control subsystem further comprises an address reformatter operable to split an external memory address into smaller sections.
8. An external memory interface engine, comprising: a processor; a memory control subsystem comprising a programmable external memory instruction data string that specifies an access operation of an external memory; a memory subsystem comprising: a first memory shared between the processor and the memory control subsystem; and a second memory shared between the processor and the memory control subsystem; and means for alternately coupling the first memory and the second memory between the processor and the memory control subsystem.
9. The external memory interface engine of claim 8, where the programmable instruction data string comprises a sequence of programmable instruction data strings, each programmable instruction data string specifying external memory control bits.
10. The external memory interface engine of claim 9, where the programmable instruction data string defines a memory read operation from the external memory to the memory subsystem.
11. The external memory interface engine of claim 9, where the programmable instruction data string defines a memory write operation from the memory subsystem to the external memory.
12. A method of accessing an external memory, comprising: establishing access for a processor to a first memory during a first processing period; establishing access for an external memory control subsystem to a second memory during the first processing period; accessing processor supplied control information and address information defining a memory access operation in the first memory; swapping accessibility between the first memory, the second memory, the processor, and the memory control subsystem upon initiation of a second processing period ; reading the control information and address information with the memory control subsystem; and performing the memory access operation specified by the control information.
13. The method of claim 12, further comprising decoding the control information to determine the memory access operation.
14. The method of claim 13, where the act of decoding further comprises determining a type of external memory.
15. The method of claim 14, further comprising reading a programmable instruction data string comprising external memory control bits programmed to establish communication with the external memory.
16. The method of claim 15, where the programmable instruction data string is one of a number of programmable instruction data strings, each comprising external memory control bits coordinating the memory access operation.
17. The method of claim 12, further comprising decoding the processor supplied control information and address information to determine external memory access formatting information.
18. The method of claim 12, further comprising reformatting a portion of the processor supplied address information into a smaller section.
19. The method of claim 12, further comprising analyzing a portion of the processor supplied control information to determine a memory address offset.
20. The method of claim 19, further comprising adding the memory address offset to the processor supplied address information automatically, the addition controlled by the external memory control subsystem.
21. The method of claim 20, where the memory address offset comprises a positive value.
22. The method of claim 21 , where the memory address offset comprises a negative value.
23. The method of claim 20, further comprising incrementing the memory address offset by a predetermined value upon initiation of the second processing period.
24. The method of claim 20, further comprising verifying the address information after adding the memory address offset is within the boundary of a circularly addressable memory space.
25. A serial communication interface engine, comprising: a processor; a communication subsystem comprising an advance register; a first buffer memory; a second buffer memory; and a swap controller operable to alternately swap access to the first memory and the second memory between the processor and the communication subsystem; where the advance register is operable to duplicate data written to a predetermined location of the first buffer memory when the first buffer memory is accessible to the processor.
26. The serial communication interface engine of claim 25, where the swap controller is configured to swap accessibility of the first buffer memory and the second buffer memory to the processor in response to a synchronization event.
27. The serial communication interface engine of claim 26, where the communication subsystem further comprises advance logic to monitor data written to the predetermined location of the first buffer memory.
28. The serial communication interface engine of claim 26, where the communication subsystem further comprises a shift register section that is selectively configurable between data transmission and data reception.
29. The serial communication interface engine of claim 28, where the shift register section further comprises an input register selectively coupled to the first memory and the second memory, the input register configured to receive data to be transmitted to a serial device.
30. The serial communication interface engine of claim 28, where the shift register section further comprises a shift register coupled to a serial device, the shift register configured to receive data from the serial device.
31. The serial communication interface engine of claim 28, where the shift register section further comprises an output register coupled to the shift register and to the controller, the output register configured to receive the shift register data and provide the shift register data to the controller.
32. A method of preparing to transmit serial data from a processor to a serial device, comprising: storing first data in a first location of a memory and in a separate advance register; storing second data in a second location of the memory; and loading the first data from the advance register to a shift register upon detection of a synchronization event.
33. The method of claim 32, where the act of storing the first data in the advance register is in response to the first data being stored in a predetermined location of the memory.
34. The method of claim 32, further comprising serially transmitting the first data from the shift register to a serial device.
35. The method of claim 32, further comprising swapping access to the memory between a data processor during a first processing period and a serial controller subsystem during a second processing period.
36. The method of claim 35, further comprising loading the second data into an input register.
37. The method of claim 36, further comprising loading the second data from the input register into a shift register.
38. The method of claim 37, where the act of loading the second data from the input register into the shift register comprises transferring the second data in a parallel load.
39. The method of claim 38, further comprising serially transmitting the second data.
40. A communication system comprising: a processor; a first buffer memory selectively coupled with the processor; a second buffer memory selectively coupled with the processor; a serial controller coupled to a shift register section, the serial controller configured to perform an access swap of the first memory and the second memory between the processor and the serial controller upon receipt of a synchronization event; an advance register coupled to the shift register section; and address comparison logic operable to monitor when a data value is written into a predetermined location in the first buffer memory and responsively store the data value in the advance register in preparation for the access swap; and where the shift register section is operable to obtain the data value from the advance register instead of from either buffer memory and transmit the data value.
41. The communication system of claim 40, where the advance register is one of multiple advance registers and the shift register section is one of multiple shift register sections.
42. The communication system of 40 where the shift register section comprises a multiplexer including a first input coupled to an input register and a second input coupled to the advance register.
43. The communication system of claim 18 where the multiplexer comprises an output coupled to a staging register, and where the shift register section is operable to transmit the data value from the staging register.
44. The communication system of claim 42 where the staging register comprises a shift register.
45. A method of retrieving data from a serial device, comprising: storing data from a serial device in a memory, the memory accessible to a serial device through a serial controller subsystem; monitoring a clock signal to detect a synchronization event; swapping the accessibility of the memory from a serial controller subsystem to a data processor, the accessibility swap occurring after the detection of the synchronization event; and receiving at the data processor the data from the memory, where the data processor accesses the memory independent of the operation of the serial device.
PCT/US2007/072675 2006-07-11 2007-07-02 External memory interface engine and serial communication input output interface engine WO2008008662A2 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US83028306P 2006-07-11 2006-07-11
US60/830,283 2006-07-11
US11/771,743 2007-06-29
US11/771,743 US9141567B2 (en) 2006-07-11 2007-06-29 Serial communication input output interface engine
US11/771,764 2007-06-29
US11/771,764 US20080016289A1 (en) 2006-07-11 2007-06-29 External memory interface engine

Publications (2)

Publication Number Publication Date
WO2008008662A2 true WO2008008662A2 (en) 2008-01-17
WO2008008662A3 WO2008008662A3 (en) 2008-05-22

Family

ID=38800722

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2007/072675 WO2008008662A2 (en) 2006-07-11 2007-07-02 External memory interface engine and serial communication input output interface engine

Country Status (1)

Country Link
WO (1) WO2008008662A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2128725A1 (en) * 2008-05-28 2009-12-02 Siemens Aktiengesellschaft Method for allocating memory in a buffer store

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4809217A (en) * 1985-10-31 1989-02-28 Allen-Bradley Company, Inc. Remote I/O port for transfer of I/O data in a programmable controller
DE19529718A1 (en) * 1995-08-11 1997-02-13 Siemens Ag Buffer circuit arranged on a module
US6421274B1 (en) * 2001-03-23 2002-07-16 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device and reading and writing method thereof
US20030167368A1 (en) * 2002-03-01 2003-09-04 Yuji Tanaka Transmission control circuit, reception control circuit, communications control circuit, and communications control unit
EP1517331A2 (en) * 2003-09-16 2005-03-23 Samsung Electronics Co., Ltd. Memory system and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4809217A (en) * 1985-10-31 1989-02-28 Allen-Bradley Company, Inc. Remote I/O port for transfer of I/O data in a programmable controller
DE19529718A1 (en) * 1995-08-11 1997-02-13 Siemens Ag Buffer circuit arranged on a module
US6421274B1 (en) * 2001-03-23 2002-07-16 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device and reading and writing method thereof
US20030167368A1 (en) * 2002-03-01 2003-09-04 Yuji Tanaka Transmission control circuit, reception control circuit, communications control circuit, and communications control unit
EP1517331A2 (en) * 2003-09-16 2005-03-23 Samsung Electronics Co., Ltd. Memory system and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2128725A1 (en) * 2008-05-28 2009-12-02 Siemens Aktiengesellschaft Method for allocating memory in a buffer store
US7979599B2 (en) 2008-05-28 2011-07-12 Siemens Aktiengesellschaft Method for the allocation of memory in a buffer memory

Also Published As

Publication number Publication date
WO2008008662A3 (en) 2008-05-22

Similar Documents

Publication Publication Date Title
EP1488323B1 (en) Memory system with burst length shorter than prefetch length
JP4672305B2 (en) Method and apparatus for processing a digital media stream
US6594713B1 (en) Hub interface unit and application unit interfaces for expanded direct memory access processor
KR100381823B1 (en) Data processing system with adjustable depth / width FIFO buffers for variable width data transfers
KR970008187B1 (en) Processor controlled interface with instruction streaming
US5826093A (en) Dual function disk drive integrated circuit for master mode and slave mode operations
US9141567B2 (en) Serial communication input output interface engine
US20080016289A1 (en) External memory interface engine
EP2264609A1 (en) Shared memory having multiple access configurations
US7436728B2 (en) Fast random access DRAM management method including a method of comparing the address and suspending and storing requests
US20020184453A1 (en) Data bus system including posted reads and writes
US6742058B2 (en) Memory controller having a multiplexer selecting either second set of input signals or converted signals from first set of input signals by a bus mode input
US6457121B1 (en) Method and apparatus for reordering data in X86 ordering
US6694385B1 (en) Configuration bus reconfigurable/reprogrammable interface for expanded direct memory access processor
US6954869B2 (en) Methods and apparatus for clock domain conversion in digital processing systems
US20060010263A1 (en) Direct memory access (DMA) devices, data transfer systems including DMA devices and methods of performing data transfer operations using the same
JPH11167547A (en) Digital signal processor having peripheral device and external interface
US20020095280A1 (en) Programmable memory emulator capable of emulating unspecified memory devices
WO2008008662A2 (en) External memory interface engine and serial communication input output interface engine
US9128924B2 (en) Method and apparatus for wireless broadband systems direct data transfer
US20020019895A1 (en) Bus system and command delivering method thereof
US20040064662A1 (en) Methods and apparatus for bus control in digital signal processors
CN114641763B (en) Protocol converter module system and method for using the same
CN116991764B (en) High-performance Flash controller and embedded system
WO2001067271A1 (en) Information processing device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase in:

Ref country code: DE

NENP Non-entry into the national phase in:

Ref country code: RU

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07812561

Country of ref document: EP

Kind code of ref document: A2

122 Ep: pct application non-entry in european phase

Ref document number: 07812561

Country of ref document: EP

Kind code of ref document: A2