[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US20080313357A1 - Multiple channel data bus control for video processing - Google Patents

Multiple channel data bus control for video processing Download PDF

Info

Publication number
US20080313357A1
US20080313357A1 US12/195,188 US19518808A US2008313357A1 US 20080313357 A1 US20080313357 A1 US 20080313357A1 US 19518808 A US19518808 A US 19518808A US 2008313357 A1 US2008313357 A1 US 2008313357A1
Authority
US
United States
Prior art keywords
data
address
data transfer
mode
transfer
Prior art date
Legal status (The legal status 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 status listed.)
Abandoned
Application number
US12/195,188
Inventor
Xu Wang
Shuhua Xiang
Sha Li
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TDK Micronas GmbH
Original Assignee
Micronas USA Inc
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
Application filed by Micronas USA Inc filed Critical Micronas USA Inc
Priority to US12/195,188 priority Critical patent/US20080313357A1/en
Assigned to WIS TECHNOLOGIES, INC. reassignment WIS TECHNOLOGIES, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LI, SHA, WANG, XU, XIANG, SHUHUA
Assigned to MICRONAS USA, INC. reassignment MICRONAS USA, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WIS TECHNOLOGIES, INC.
Assigned to MICRONAS GMBH reassignment MICRONAS GMBH ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MICRONAS USA, INC.
Publication of US20080313357A1 publication Critical patent/US20080313357A1/en
Abandoned legal-status Critical Current

Links

Images

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/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Definitions

  • the present invention relates generally to video processing, and in particular to selectably enabling data transfer modes between devices and storage elements in a video compression system.
  • Data transfers typically involving input/output (I/O) devices give rise to overhead that consumes much of a central processing unit's (CPU's or processor's) resources.
  • I/O devices input/output
  • memory may consume 25% of the processor resources, and may increase when data transfers consists primarily of relatively large blocks of data (e.g., hundreds to thousands of bytes).
  • DMA direct memory access
  • DMA controllers enable the processor to relinquish control of the bus system, they fail to adequately accommodate those data processing systems requiring different types of data transfers amongst memory device and other system and I/O devices.
  • data transfers between a memory device and motion compensation engine can require different data configuration parameters compared with the data configuration parameters for data transfers amongst a variable length encoding device and an I/O memory device.
  • the data transfers between different devices like the motion compensation engine and the variable length encoding device, typically require different configuration parameters
  • different configuration parameters are typically loaded one at a time and on-the-fly with each change in configuration of the data transfer. This detrimentally adds processing overhead to the data transfer. Accordingly, what is needed is a mechanism to accommodate the multiple types of data transfers and to select different configuration parameters for different types of data transfers without these drawbacks.
  • the present invention overcomes the deficiencies and limitations of the prior art by providing a system for selectably enabling multiple channel data transfer modes between source and destination devices.
  • One aspect of this system in accordance with the present invention includes a method of controlling data transfer between a first device and a second device.
  • the method includes receiving a command to initiate the data transfer, and extracting configuration data from the command to load a configuration engine.
  • the extracted configuration data functions to index operational characteristics associated with the data transfer.
  • the method includes selecting: a channel from the operational characteristics, wherein the channel facilitates the data transfer between the first device and the second device; and an operation and access mode associated with the data transfer. At least one signal is received to indicate that the data transfer is ready to be undertaken.
  • the channel is then activated so as to enable the data transfer using the operation and access mode selected.
  • one advantage of the present invention is that different data bus configurations associated with different types of data transfers no longer need to be loaded one at a time as with the prior art, thereby reducing the processing overhead associated with the data transfer.
  • Another aspect in accordance with the present invention includes a method of direct memory access control. This method includes receiving a command to initiate data transfer between a first device and a second device, and responsive to the command received, determining a channel capable of facilitating the data transfer. The method further includes determining a mode indicating a manner in which to activate the channel, and enabling the data transfer to be performed using the channel and based on the mode determined.
  • either of the first or second devices comprises a memory device.
  • a novel video processing system that works well with the system for selectably enabling a plurality of data transfer modes along one or more channels communicatively coupling together a first device and a second device.
  • One benefit of the present invention is that different configurations associated with the different data transfers within a video processing system can be efficiently accommodated without additional reprogramming of different configuration data as with the prior art.
  • a system for selectably enabling a plurality of data transfer modes includes a direct memory access controller controlling data transfer between the first and second devices.
  • the direct memory access controller includes a configuration storage element having a multiple segment indicator, a base request indicator, a base count indicator, and a mode indicator.
  • FIG. 1 is a block diagram of a data transfer selection mode system in accordance with the present invention.
  • FIG. 2 is a block diagram of one embodiment of the data transfer selection mode system of FIG. 1 .
  • FIG. 3 is a block diagram of another embodiment of the data transfer selection mode system of FIG. 1 .
  • FIG. 4 is a block diagram of one embodiment of a multi-channel data bus controller in accordance with one aspect of the present invention.
  • FIG. 5 is a block diagram of one embodiment of the configuration storage element of the multi-channel data bus controller of FIG. 4 .
  • FIG. 6A is an illustration of address memory for sequential data transfer operation mode.
  • FIG. 6B is an illustration of address memory for a chaining data transfer operation mode.
  • FIG. 6C is an illustration of address memory for auto-rollback data transfer operation mode.
  • FIG. 7 is block diagram of an exemplary data block of interest within a video frame that can be used with the multi-segment data transfer operation mode.
  • FIG. 8 is an illustration of address memory for a multi-segment data transfer operation mode.
  • FIG. 9 is communication flow diagram for the multi-channel data bus controller and various devices for a virtual channel data transfer operation mode.
  • FIG. 10 is a detailed block diagram of the embodiment of the multi-channel data bus controller of FIG. 4 .
  • FIG. 11 is a detailed block diagram of one embodiment of an address generator of the multi-channel data bus controller of FIG. 10 .
  • FIG. 12 is a detailed block diagram of one embodiment of the memory controller of FIG. 4 .
  • FIG. 13 is a timing diagram of the WRITE and READ access modes in accordance with an aspect of the present invention.
  • FIG. 14 is a block diagram of a host bus interface unit for the bus and interrupt controller of FIGS. 2-3 .
  • FIG. 15 is a block diagram of the device bus interface unit for the multi-channel data bus controller and devices of FIGS. 2-3 .
  • FIG. 16 is a signal flow diagram and chart of one embodiment of an exemplary process for activating a channel for data transfer in accordance with an aspect of the present invention.
  • FIG. 17 is a timing diagram of the control access for WRITE and READ requests in accordance with an aspect of the invention.
  • FIG. 18 is a timing diagram of a READ transfer being initiated.
  • FIG. 19 is a timing diagram of a WRITE transfer being initiated.
  • FIG. 20 is a timing diagram of the end of a READ transfer.
  • FIG. 21 is a timing diagram indicating a READ transfer being interrupted by a page boundary or a DRAM refresh.
  • FIG. 22 is a timing diagram indicating a WRITE transfer being interrupted by a page boundary or a dynamic random access memory (DRAM) refresh.
  • DRAM dynamic random access memory
  • FIG. 23 is a state diagram of the multi-channel data bus controller in accordance with an aspect of the present invention.
  • FIG. 24 is detailed block diagram of one embodiment of a video processing system well-suited for use with the data transfer selection mode system of FIG. 1 .
  • FIG. 25 is an illustration of various exemplary applications that work suitably well with the video processing system of FIG. 24 .
  • FIG. 26 is an illustration of additional exemplary applications of FIG. 25 .
  • One aspect in accordance with the present invention includes an embodiment of the process steps and instructions described herein in the form of hardware.
  • the process steps and instructions of the present invention could be embodied in firmware or a computer program (software), and when embodied in software, could be downloaded to reside on and be operated from different platforms used by video processing systems and multimedia devices employed with real time network operating systems and applications.
  • the present invention also relates to an apparatus for performing the operations herein.
  • This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer.
  • a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
  • the computers referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.
  • FIG. 1 illustrates a block diagram of a system 10 for selectably enabling multiple-channel (multi-channel) data transfer operation and access modes in accordance with the present invention.
  • the system 10 comprises at least one source device 12 , at least one destination device 14 , and a data transfer mode selection system 16 .
  • system 16 controls the nature and type of data transfer amongst the source devices 12 and destination devices 14 .
  • system 16 is enabled to deterministically control data transfer mode (e.g., operation and access) between the source and destination devices 12 , 14 , based on corresponding configuration information.
  • FIG. 2 illustrates one embodiment of a system for selectably enabling multi-channel data transfer modes amongst devices and a storage element.
  • System 10 a includes various embodiments of source and destination devices, some of which are shown in dashed and solid lines. These devices are and labeled as “ 12 a / 14 a ” to indicate that they may function as either a source device 12 a or a destination device 14 a , depending on the nature of the data transfer involved. As shown, system 10 a also includes an embodiment of a data transfer mode selection system 16 a.
  • the data transfer mode selection system 16 a includes a processor 24 , a bus and interrupt controller 26 , host device (scheduler) 28 , and a multiple channel (multi-channel) data bus controller 30 .
  • a source device 12 a or a destination device 14 a includes a memory controller 34 and memory device 36 .
  • Signal line 33 generally couples memory controller 34 to multi-channel data bus controller 30 , and will be described in more detail subsequently.
  • Other embodiments of a source device 12 a and destination device 14 a are generally referred to as devices 38 .
  • Devices 38 designate a plurality of devices ranging from 0 to N, where N is an integer.
  • the multi-channel data bus controller 30 and each of the devices 38 include a device buffer interface unit (BIU) 40 , which will be described in more detail subsequently.
  • the bus and interrupt controller 26 includes a host BIU 27 , which also will be described in more detail subsequently.
  • source devices 12 a , destination devices 14 a and data transfer mode selection system 16 a are communicatively coupled together via an address bus 17 , a control bus 18 , data bus 20 and (scheduling) command bus 22 .
  • data bus 20 can be 32-bits wide with 23-bit address space used in association with a READ request, a WRITE request, a last transfer signal and a transfer acknowledge signal.
  • Buses 18 and 22 each comprises a 16-bit control or command bus used in association with a READ request, a WRITE request, a last transfer request, and request acknowledge, interrupt, and interrupt acknowledge signals.
  • the command bus 22 can include a 12-bit scheduling counter to monitor on-the-fly the amount of data that has been transferred.
  • an input/output (I/O) device 42 may be coupled to the data bus 20 .
  • control bus 18 can be modified to include the functions of the scheduling command bus 22 .
  • FIG. 3 a particular implementation of this alternate embodiment is shown and includes a system 10 b for selectably enabling multi-channel data transfer operation modes, and a control/command bus 19 , which has replaced buses 18 and 22 of FIG. 2 .
  • This alternate embodiment avoids the additional routing associated with a separate command bus 22 , which is advantageous for System on Chip (SoC) and Application Specific Integrated Circuits (ASIC) applications where integrated circuits increasingly require compact and stream-lined designs.
  • SoC System on Chip
  • ASIC Application Specific Integrated Circuits
  • Processor 24 is a central processing unit (CPU) or microprocessor.
  • processor 24 may be any suitable microprocessor with on-chip memory for encoding sub-sampled video signals, such as an Intel i860 pixel processor, programmed to implement the video processing techniques in accordance with the present invention.
  • processor 24 is selected to be a RISC-based CPU capable of facilitating the transfer of blocks of data, and of handling interrupts which may be initiated by the hardware or software.
  • processor 24 Other general parameters associated with providing a low cost processor 24 include having a 16-bit arithmetic logic unit (ALU), an 18-bit instruction set, and an operating speed up to 100 MHz.
  • ALU arithmetic logic unit
  • Processor 24 is communicatively coupled to the bus and interrupt controller 26 . It is noted that the present invention is not limited to working with processors having low manufacturing costs or with the parameters described here, but will work suitably well with a variety of other processors.
  • the bus and interrupt controller 26 (referred to as “controller 26 ” for convenience) is the internal controller of system 10 a . Controller 26 is responsible for generating internal interruptions, and for handling such interruptions. By way of example, such interrupts may be hardware and software interrupts, in addition to the externally generated interrupts described. In general, controller 26 will interpret commands, and although not shown explicitly, will perform interrupt handling, which may involve configuring registers, setting associated result registers and an acknowledge register, if necessary. Where the source of the interruption is caused externally to system 10 a , bus and interrupt controller 26 accepts such interruption through I/O device 42 , provides the interrupt handling as described, and then generates an external interruption to acknowledge the initial interrupt command.
  • controller 26 can generate an external interruption in the Host Parallel Interface (HPI), or an interruption package associated with a Universal Serial Bus (USB) port, both of which are suitable techniques used by I/O device 42 .
  • bus and interrupt controller 26 is an XRISC bus and interrupt controller handling the workflow of the data and control signals for the computing tasks of processor 24 .
  • One embodiment of system 10 that includes an XRISC bus and interrupt controller will be subsequently described with reference to FIG. 24 , illustrating a video processing system 400 that is well-suited for use with the system for selectably enabling multi-channel data transfer operation and access modes in accordance with the present invention.
  • the host device (scheduler) 28 is generally a timing mechanism for scheduling and enabling activation of the devices in system 10 a .
  • An exemplary scheduler 28 for enabling the scheduling and synchronization of operations and data transfers intended to be performed by particular devices 12 a , 14 a at specific predetermined times in an operational cycle is disclosed in commonly-assigned copending U.S. patent application Ser. No. 10/033,857, filed Nov. 2, 2001, entitled “Video Processing Control and Scheduling”, which is herein incorporated by reference it its entirety.
  • multi-channel data bus controller 30 enables data transfer amongst devices 38 and amongst a memory element 36 and devices 38 .
  • Controller 30 a is capable of being configured to enable a plurality of data transfer operation and access modes. Thereafter, several exemplary data transfer operation modes will be described, including a sequential mode and a multi-segment mode, as well as other data transfer operation modes.
  • the controller 30 controls the transfer of data between one device 38 to another or between a device 38 to memory device 36 (e.g., an external SDRAM).
  • the memory device 36 includes its own format of configuration parameters for data transfer, which is different from the transfer behavior of the devices 38 for the video processing system (which generally uses continuous data burst transfer).
  • the controller 30 complies with this type of data transfer format and interfaces with the memory device 36 .
  • FIG. 4 illustrates one embodiment of the data transfer mode selection system 16 b , having a multi-channel data bus controller 30 a , and processor platform 32 .
  • Processor platform 32 represents the processor 24 , bus and interrupt controller 26 and scheduler 28 previously described.
  • Multi-channel data bus controller 30 a includes a “device” bus interface unit (BIU) 40 , a multi-channel configuration storage element 44 , and a configuration engine 46 having associated control elements 48 .
  • BIU bus interface unit
  • configuration engine 46 having associated control elements 48 .
  • Multi-channel data bus controller 30 a (“controller 30 a ”) is enabled to receive address information (ctrl_addr) 50 from the control bus 18 , and is capable of sending data and receiving data (ctrl_data) 52 respectively to and from the data bus 20 .
  • controller 30 a is communicatively coupled to the control bus 18 to receive data enable signals 53 , 54 , 55 (e.g., read 53 , write enable 54 , Address Latch Enable (ALE) 55 , referred to as ctrl_rd/we/ale for convenience), an input output ready (ctrl_io_ready) signal 56 , direct memory access request (Dma_req(s)) signals 58 , transfer ok (transfer_ok) 60 signals, and an interrupt direct memory access (int_dma) signal 62 .
  • Controller 30 a receives scheduler command signals 64 broadcasted from the scheduler 28 over command bus 22 , as described in more detail in the previously incorporated U.S. application Ser. No. 10/033,857.
  • Controller 30 a communicates with memory controller 34 over signal line 33 shown generally in FIGS. 2-3 , and in more detail in FIG. 4 .
  • signal line 33 comprises WRITE request signals 66 , READ request signals 68 , request address signals 70 , last_transfer signals 72 , and transfer_ok signals 74 .
  • controller 30 a forwards WRITE request (wreq) signals 66 and READ request (rreq) signals 68 that are received by the controller 30 a and generally indicated as Dma_req(s) 58 . Additionally, controller 30 a provides a request address (req_address) 70 to memory controller 34 .
  • Last transfer (last_transfer) signals 72 generated by the source and destination devices 12 a / 14 a are received by the controller 30 a and communicated to the memory controller 34 in those instances where the memory device 36 is involved in the data transfer.
  • the controller 30 a receives a transfer_ok signal 74 from the memory controller 34 indicating that the data transfer was successful.
  • each configuration may be associated with a different data transfer operation and/or access mode that is selected by the controller 30 a .
  • Several exemplary configurations representing the types of configuration data stored in the configuration storage element 44 are now described.
  • the configuration storage element 44 is implemented with a configuration register file 44 a having the following operation modes, namely fixed-length single burst mode, multi-segment mode, sequential mode with auto-rollback, chaining mode, and virtual channel mode, by way of example.
  • Other data transfer operation modes that can be enabled are described subsequently in more detail.
  • a configuration specifies a set of data bus parameters for data transfer, like Direct Memory Access (DMA) data transfer.
  • DMA Direct Memory Access
  • Such parameters include the data source, data destination, transfer mode, base address, base count and multi-segment options.
  • the configuration storage element 44 a comprises 32 configurations, when a specific transfer is to be executed, the host device (scheduler) 28 switches the corresponding configuration to be loaded into the controller 30 a .
  • Each configuration can be selected from a combination of access mode (e.g., READ or WRITE) and operation mode (e.g., sequential, multi-segment, auto-rollback, chaining, fixed length burst, virtual channel), typically with parameters that include starting address, and length of data transfer.
  • access mode e.g., READ or WRITE
  • operation mode e.g., sequential, multi-segment, auto-rollback, chaining, fixed length burst, virtual channel
  • Sharing of the same data path to the memory device 36 makes the configurations time-individual. This means that the corresponding data transfer takes individual control of the data bus 20 , and therefore, the memory access through the configurations is made serially.
  • the configurations are designed for different devices 38 that have regular and periodic memory access.
  • One manner of maintaining a seamless data transfer operation, and of minimizing the overhead of the configuration register file 44 a is to assign each configuration to a specific operation.
  • the configuration register file 44 a can be programmed at an initialization stage by the bus and interrupt controller 26 . Updates can be made to the configuration register file 44 a automatically by the controller 30 a , or by the bus and interrupt controller 26 when necessary. As will be described subsequently in one implementation, two registers can be used to enable the bus and interrupt controller 26 to read and update the configuration register file 44 a.
  • configuration register file 44 a includes a multi-segment indicator 80 , a base request indicator 82 , base word count indicator 84 , operation mode indicator 86 and optional reserved section(s) 88 .
  • the configuration register file 44 a is designed to store configuration data represented as 0 to n entries, where n is an integer.
  • configuration register file 44 a can include 32 configuration entries, each being 64-bits wide and representing a channel of the multiple-channels in the multi-channel data bus controller 30 a .
  • the configuration register file 44 a facilitates one aspect in accordance with the present invention to selectably enable a plurality of data transfer modes along multiple channels.
  • the register bitmap for each entry, m, where 0 ⁇ m ⁇ n, of the configuration register file 44 a can include the following fields.
  • Multi-segment indicator 80 can be represented as a multi-segment register 80 a having 16-bits (e.g., bits 15 : 0 ).
  • Base request indicator 82 can be represented as a base request address register 82 a having 21-bits (e.g., bits 36 : 16 ).
  • Base word count indicator 84 can be represented as a base word count register 84 a having 10-bits (e.g., bits 49 : 40 ), and operation mode indicator 86 can be represented as an operation mode register 86 a having 6-bits (e.g., bits 61 : 56 ).
  • the optional reserved section(s) 88 may be represented by other bits 88 a (e.g., bits 63 : 62 , 55 : 50 , and 39 : 37 ) that are unused, and in particular, may be “don't cares” or may be reserved bit gaps implemented to allocate the registers to 4-bit boundaries.
  • Table 1 includes an exemplary bitmap of those 16-bits (e.g., bits C 15 :C 0 ) of the multi-segment register 80 a representing multiple segment data transfers.
  • the higher 4-bits e.g., bits C 15 :C 12
  • the lower 12 bits are used to represent segment spacing (S 11 :S 0 ).
  • the high 4-bits are reset to zeros, so that Cnt 0 through Cnt 3 are zeros; and the upper boundary and lower boundary addresses (to be described subsequently) are stored in bits C 10 :C 6 (as indicated by U 4 :U 0 ), and bits C 5 :C 0 (as indicated by L 4 :L 0 ), respectively.
  • Unused bits can be represented by “don't cares (dc)”.
  • the segment count, Cnt 3 :Cnt 0 represents the number of segments that need to be transferred at a time.
  • the upper boundary address, U 4 :U 0 represents that upper boundary address (e.g., upper limit 98 in FIG. 6 c ) used with the auto-rollback feature in accordance with one aspect of the present invention.
  • the lower boundary address 96 L 4 :L 0 , represents that lower address (e.g., upper limit 98 in FIG. 6 c ) used with the auto-rollback feature.
  • Both the upper boundary address 98 and the lower boundary address 96 are derived from the upper 5-bits of the 21-bit physical address (i.e., stored in the base request address register 82 a ) of the memory device 36 .
  • the upper and lower boundaries can be aligned with 64-bits by merely extending the remaining 16-bits of the 21-bit address padded with don't cares.
  • the auto-rollback mode is not initiated with the multi-segment mode. This enables the bits of the multi-segment register 80 a to be shared amongst sequential and multi-segment data transfer operation modes, thereby reducing the need for additional memory storage elements.
  • Table 2 includes an exemplary bitmap of those bits (e.g., 21 bits, C 36 :C 16 ) of the base request address register 82 a representing the base address of a data transfer.
  • the base request address represents the linear (i.e., physical) address of the memory device 36 .
  • Base request address register 82 a is preferably programmed during an initialization stage of system 10 a . Additionally, base request address register 82 a can be reprogrammed by the bus and interrupt controller 26 and by controller 30 a when necessary.
  • bits C 36 :C 16 of the base address request register 82 a represents the starting address of data transfer.
  • this register remains unchanged after a transfer when an address is reset, like for e.g., if the addr_rst bit (C 57 in Table 4, described subsequently) is set to 1. Otherwise, the base address request register 82 a will be refreshed with the ending address incremented by one so that the subsequent data transfer may continue on the same buffer.
  • This technique will be subsequently referred to as chaining mode and is advantageous because less user intervention is required.
  • the base request address register 82 a preferably remains unchanged after the completion of a data transfer.
  • Table 3 includes an exemplary bitmap of those bits (e.g., 10-bits C 49 :C 40 ) of the base word count register 84 a representing: the length (e.g., total number) of data words to be transferred in sequential mode; and the length of a segment to be transferred in multi-segment mode.
  • the base word count register 84 a should be loaded with the base word count (Cnt 9 :Cnt 0 ) prior to the first transfer being undertaken so as to take effect during the first transfer.
  • a new value can be written to register 84 a at any time, but should preferably take effect in an upcoming data transfer. Also, the base word count preferably never expires. This is beneficial since a user need not reprogram the register 84 a if a subsequent transfer has the same length.
  • Table 4 includes an exemplary bitmap of those 6-bits (e.g., bits C 61 :C 56 ) of the mode register 86 a representing the operation mode of the data transfer, by way of example.
  • bit C 61 represents a configuration mask (CMsk), which when set, disables the corresponding configuration.
  • CMsk configuration mask
  • controller 30 a is capable of generating an interrupt request (int_dma) signal 62 when a data transfer is completed.
  • Bit C 60 represents an interrupt mask (IMsk), which when set, will prevent the interrupt signal associated with the corresponding configuration at the end of a transfer.
  • controller Bit C 59 represents a virtual channel mode is active or not.
  • Vrt_ch bit when the Vrt_ch bit is set to 1, a transfer between a (source) device 0 and a (destination) device N ⁇ 1 can be enabled. Otherwise, when the Vrt_ch bit is set to 0, the memory device 36 is either the source or destination device of the data transfer.
  • a rollback bit C 58 can be implemented to facilitate the auto-rollback mode used with a sequential data transfer mode.
  • the auto-rollback mode will be described subsequently with respect to FIG. 6C .
  • the address reset (addr_rst) bit C 57 can be used with the sequential transfer mode. If this bit is set to 0 when a transfer is started, the base request address register 82 a should be set to the end address incremented by 1 after the transfer so that the chaining mode is undertaken. Otherwise, the base request address register 82 a remains unchanged so that the base address is not reset after a present data transfer is completed.
  • the Wij bit C 56 indicates the type of data transfer operation. For example, when the upcoming data transfer is a WRITE access mode, (i.e., data transfer from devices 38 , 40 to the memory device 36 ), the Wij bit is set to 1. When the upcoming data transfer is a READ access mode, the Wij bit is set to zero.
  • the configuration data stored in the configuration register file 44 a is preferably programmable, as opposed to being fixed, and may be updated and loaded via an external device (e.g., 1410 of FIG. 24 ) using firmware upon initialization of system 10 a.
  • the base word count register 84 a and the base request address register 82 a are preferably loaded with starting address information upon initialization of system 10 a .
  • the value stored in the base word count register 84 a should remain the same after a data transfer is completed.
  • the base request address can remain unchanged after a data transfer.
  • This type of data transfer operation mode is referred to as a fixed length mode, which is one type of a sequential operation mode.
  • FIG. 6A one manner of selectably enabling multi-channel data transfer using a fixed length mode is shown, wherein the starting address 92 of a subsequent data transfer is reset to the original address 90 so that the subsequent transfer will begin from the same address as the present transfer.
  • the addr_rst bit C 57 in the operation mode register 86 a is set to 1. Accordingly, both present and subsequent data transfers involve transferring the same block of memory. This method is beneficial where user programming is unavailable, so that the next transfer begins at the same address and lasts for a same length if the base request address register 82 a is selected to retain its existing value.
  • the base request address can be selected to be the address in which the subsequent data transfer ends incremented by one, so as to prepare for a subsequent (e.g., next) data transfer.
  • chaining mode To implement this type of sequential data transfer operation mode referred to as chaining mode, reference is made to FIG. 6B to illustrate that when an address reset (addr_rst) is not invoked, the next data transfer initiates after the ending address 94 of the present data transfer. Accordingly, this technique is referred to as a “chaining” transfer because each subsequent data transfer is initiated from the end of a present data transfer, thereby forming a chain of data transfers. The next transfer follows the present transfer and lasts for the same length. This method is advantageous because the base request address register 82 a is automatically refreshed without requiring user reprogramming.
  • the next transfer uses one of the corresponding base request addresses described. By doing so, the information in the two registers 84 a , 82 a for the base word count and the base request address, respectively, will not expire.
  • the auto-rollback mode is a type of sequential operation mode.
  • two addresses 96 , 98 can be programmed in the configuration register file 44 a as upper and lower boundaries, respectively, of the address for the memory device 36 .
  • a current address indicator automatically rolls back to the lower boundary address 96 , preferably without user reprogramming.
  • the auto-rollback mode may be implemented by setting the rollback bit C 58 .
  • the auto-rollback mode is preferably enabled automatically by controller 30 without intervention of the bus and interrupt controller 26 .
  • the auto-rollback mode is advantageous for preventing the processor 24 from being burdened with processing functions. Consequently, this enables the processor 24 to lend its attention to other more important tasks. Because the processor 24 is not directly involved in the data transfer, a processor 24 with a slower speed may be selected and will not necessarily impede the speed of the data transfer operations. Selecting a processor 24 with a slower speed is often useful for those applications that require low manufacturing costs of the corresponding application. Referring to FIG. 24 for example, with a DMA controller 424 representing the data bus controller 30 a , the DMA controller 424 receives compressed video data output from the VLC 450 and having a random pattern. The length and time of each transfer may be unknown.
  • the configuration register file 44 a includes a specific configuration set for the VLC 450 to WRITE data to a buffer (e.g., a first-in-first-out FIFO buffer not explicitly shown) in controller 424 .
  • a buffer e.g., a first-in-first-out FIFO buffer not explicitly shown
  • controller 424 would enable new data received at the end of the FIFO buffer to be loaded from the front of the FIFO buffer. This reduces the intervention of the XRISC bus and interrupt controller 418 and RISC processor 416 .
  • the auto-rollback mode is advantageous because it does not require that the processor 416 check the output of the VLC 450 in order to ascertain whether the upper limit of the buffer has been exceeded. Additionally, because the frequency of data transfer from the VLC 450 to the SDRAM 420 may be random, without the auto-rollback mode, additional computing (i.e., processing) power will need to be devoted to the data transfer task.
  • the multi-channel data bus controller 30 a is a multi-channel DMA controller (e.g., 424 of FIG. 24 ) having a multi-segment data transfer operation mode.
  • Multi-segment data transfers comprise several segments of burst transfers typically of fixed length and aligned in segment spacing, that is, with the ending address of one segment adjacent to the starting address of the next segment.
  • the multi-segment mode of data transfer is advantageous for transferring a block 104 of a frame 102 .
  • the multi-segment mode is well-suited for blocks of data transferred according to the MPEG standard.
  • the length of the segment and the spacing of the segment representing block 104 is typically fixed.
  • One advantage of using the multi-segment mode is that a set of parameters may be specified at one time so that data may be automatically transferred, thereby resulting in cost savings in data transfer and processing time and with less intervention by the bus and interrupt controller 26 .
  • FIG. 8 an illustration of a buffer layout for the multi-segment data transfer operation mode is shown.
  • two additional parameters are used, namely segment spacing 130 (S 11 :S 0 in Table 1) and segment count (Cnt 3 :Cnt 0 in Table 1), as described with respect to multi-segment register 80 a .
  • a multi-segment transfer begins at a base request address 131 , that is the beginning address of the transfer.
  • the segment spacing 130 generally represents the length of a line 102 , as indicated in FIG. 7 .
  • the length of the line may be: from the beginning address 114 of the block 104 on line 106 to the beginning address 116 of the block 104 on line 108 ; or from the ending address 118 of the block 104 of line 106 to the ending address 120 of the block 104 on line 108 .
  • the segment count 132 represents the number of lines to be transferred, for example 4 lines for the block 104 of FIG. 7 .
  • the base address preferably remains unchanged regardless of the addr_rst bit setting.
  • the base word count 134 represents that part of the line being of interest, for example, from addresses 114 to 116 on line 106 . In FIG. 7 , the base word count represents the width of block 104 as demarcated by addresses 114 and 118 .
  • the base word count 134 can be implemented with the base word count register 84 a , previously described with reference to Table 3.
  • the multi-segment mode does not require the specific starting and ending addresses for the data transfer, and the length of the transfer to be programmed as with conventional DMA controllers. Rather, a current word count register (e.g., 282 , 284 described in FIG. 11 ) can be used to indicate the amount of total data to be transferred. Because only selected blocks of data that are of interest are transferred, one advantage of the multi-segment mode is that it avoids the need to transfer the entire set of data as with conventional data transfer techniques.
  • the virtual channel operation mode entails data transfers amongst devices 38 .
  • a device (e.g., 0) to device (e.g., n ⁇ 1) data transfer operation typically does not involve having controller 30 a access the memory device 36 .
  • a signal flow diagram illustrates the communication between devices 38 a and controller 30 a .
  • the device 0 transfers data to device n ⁇ 1 according to the following method.
  • device 0 transmits 140 a READ request to controller 30 a
  • device N ⁇ 1 transmits 142 a WRITE request to controller 30 a .
  • these requests 140 , 142 indicate to the controller 30 a that a data transfer is being requested between devices and does not involve access or communication with the memory device 36 .
  • controller 30 a will access the particular entry in the configuration register file 44 a to determine a corresponding configuration for the device-to-device transfer being requested.
  • the controller 30 sends 144 , 146 an acknowledgment, READ_OK to device 0 and WRITE_OK to device N ⁇ 1, respectively.
  • the two devices 0 and N ⁇ 1 may then communicate 148 data with each other.
  • the process entailing 144 , 146 and 148 collectively referenced as 150 may include the data transfer for one unit of data, whether it be a word, segment, or block.
  • more data can be read from device 0 and written to device N ⁇ 1.
  • a source device can send 152 one clock of READ_OK
  • a destination device can send 156 one clock of WRITE_OK to the controller 30 a , and thereafter begin transferring 156 data.
  • Configuration engine 46 a includes a data storage element 180 , address storage element 182 , current configuration indicator 184 , configuration unit state machine 186 , execution unit state machine 188 , status indicator 189 , an address generator 190 , and an access indicator 191 .
  • control elements 48 of FIG. 4 include a selection element 192 , mode generator 196 , and logical operator 198 .
  • selection element 192 comprises multiplexer
  • mode generator 196 comprises a register
  • the register representing the address storage element 182 temporarily buffers the Ctrl_Addr signal 50 that is received from the control bus 18 .
  • the address storage element 182 stores an address index that is provided to the selection element 192 .
  • the selection element 192 receives an address corresponding to the current configuration data being reference in the configuration register file 44 a , namely signal 206 provides selection element 192 an index corresponding to the particular configuration which is to be executed by the configuration engine 46 a .
  • the address index is transmitted to selection element 192 (e.g., a multiplexer), which is used to access the particular address location in the configuration register file 44 a for reading or writing the corresponding data temporarily buffered in the register for the data storage element 180 .
  • Signal line 202 provides an indication to the configuration unit state machine 186 of request to access the configuration register file 44 a
  • Selector 198 (e.g., OR gate) outputs an active WRITE signal which is used to select the particular entry in the configuration register file 44 a corresponding to the address provided from the multiplexer of selector 192 .
  • the output of selector 198 writes either the data received from the control bus or associated with the next transfer address to the configuration register file 44 a.
  • the configuration unit state machine 186 coordinates the access to the configuration register file 44 a being accessed by the control bus 20 . Additionally, the execution unit state machine 188 receives the valid command pulse 64 b that is broadcast from the (scheduler) host device 28 after the schedule command 64 a , both signals being received by the configuration engine 46 a over the scheduling command bus 22 . The execution state machine 188 also receives the READ or WRITE transfer requests 58 generated by the devices 38 , 40 and sent to the multi-channel data bus controller 30 a , depending on the particular data transfer from particular devices. For example, those devices undertaking a data output transfer will generate a WRITE transfer request 58 , while other devices undertaking a data input transfer will generate a READ transfer request 58 .
  • the update signal 208 is associated with changing the mode of the data transfer (e.g., DMA transfer). For example, the beginning address of the next transfer should be the ending address of the present transfer.
  • the update signal 208 generally functions to update the beginning address of the configuration register file 44 a after a transfer is completed.
  • the configuration data 216 selected from the configuration register file 44 a is generally referenced as a D/Q signal to indicate the data-in/data-out relative to the memory device 36 , and is forwarded to the address generator 90 .
  • Mode generator 196 controls the behavior of a data transfer in general. Although not explicitly shown, the mode generator 196 receives configuration data from the configuration register file 44 a . Additionally, the load signal 212 is provided to the mode generator 196 so as to coordinate the output of a plurality of mode signals produced from the mode generator 196 . These mode signals include a WRITE/READ (W/R) signal 218 , a rollback signal 220 and an address reset (ADDR_rst) signal 222 . In one embodiment, the mode generator may be implemented with registers that in general preserve the values of the configuration register file 44 a corresponding to the described modes.
  • W/R WRITE/READ
  • ADDR_rst address reset
  • the mode generator may be implemented with registers that in general preserve the values of the configuration register file 44 a corresponding to the described modes.
  • the RUN signal 224 indicates that data transfer is being undertaken, and is derived from the schedule command_valid signal 64 b and those requests 58 received from devices 38 in the nature of r_req 68 and w_req 66 .
  • the address generator 190 counts up one address, and decrements a counter associated with the total length of data transfer.
  • the status indicator 189 generally identifies when an interrupt has occurred, and when the controller 30 a is busy with a data transfer.
  • Table 5 indicates an exemplary bitmap of a 16-bit read/write register representing the status indicator 189 , and having 5 transferring configuration indication bits and 5 interrupt status bits.
  • Bit D 15 represents an interrupt flag (IF) used to indicate that an interrupt of controller 30 a as occurred.
  • Bit D 14 is a busy flag (BF) used to indicate that a data transfer is in progress. This bit can be set when the controller 30 a receives all needed requests and begins transferring data, and can be cleared when the last_transfer signal 72 is received by controller 30 a .
  • Bits D 12 :D 8 are transferring configuration bits (TC 4 :TC 0 ) used to indicate which configuration is associated with a present data transfer.
  • Bits D 4 :D 0 are interrupt status bits (IS) for controller 30 a configurations 31 to 0 . When an end_of transfer signal 228 occurs for a specific configuration, the IS bits are set to the ending configuration. Reference is made to FIG.
  • FIG. 23 illustrating a state diagram showing three exemplary states of the controller 30 a , namely IDLE 250 , WRITE 252 , and READ 254 .
  • the state diagram of FIG. 23 also indicates the process flow for collision retry 256 , 258 that accommodates the arbitration of conflicts arising.
  • Access indicator 191 enables the configuration register file 44 a to have a larger bandwidth than the bandwidth of the control bus 18 , generally by indexing portions of the configuration register file 44 a as follows.
  • the configuration register file 44 a is mapped to the control bus address space.
  • the bus and interrupt controller 26 can READ or WRITE the configuration register file 44 a at any time. Because the multi-channel data bus controller 30 a can modify the configuration register file 44 a when a data transfer is complete, an access indicator 191 is used to prevent the overwriting a configuration associated with an executing data transfer.
  • Table 6 indicates an exemplary bitmap of a 15-bit register representing the access indicator 191 .
  • Bits A 7 :A 0 represent the configuration numbers, namely 0 through 31 .
  • Bits A 2 :A 0 represent the configuration sub-address SA 2 :SA 0 .
  • the 64-bit configuration registers can be addressed as five 16-bit registers according to Table 7.
  • FIG. 11 illustrates a detailed block diagram of one embodiment of an address generator 190 a , which provides a request address (Request_addr) 226 , end of transfer signal 228 , and end of segment signal 230 to memory controller 34 .
  • the Request_addr signal 226 informs the memory controller 34 of which physical address should be access in the memory device 36 .
  • the components of the address generator 190 a are initialized with data received from the configuration register file 44 a .
  • the configuration data 216 of FIG. 10 is decomposed into the following signals being received by the address generator 190 a : segment spacing 242 , upper limit 260 , base count 262 , segment count 264 , base address 266 , lower limit 268 , and load configuration signal 270 .
  • Load configuration signal 270 is signal 212 .
  • the load (SDRAM) signal 212 and run signal 224 are received by the address generator 190 a .
  • the end-of-segment signal 230 will be valid at the end of the transfer of each segment for the multi-segment mode.
  • Address generator 190 a further includes a segment base address register 272 having feedback signal 274 that is used to generate the base address of a subsequent (e.g., next) segment by adding the base address to the segment spacing signal 242 via adder 276 to derive the beginning address of the next segment.
  • the end-of-segment signal 230 is output from the address generator 190 a and fed-back to segment base address register 272 .
  • the address generator 190 a includes a current address indicator 278 that provides the request address 226 to the memory controller 34 .
  • the current address can be increased by a value of one based on increment element 280 .
  • Tables 8-9 indicating an exemplary implementation of the current address indicator 278 comprising a 16-bit register and a 5-bit register that are used to form a 21-bit current request address.
  • the current request address represents the current address of a transfer. For example, bits A 15 :A 0 represent the low address word of the current request address which begins a 0x05. Bits A 20 :A 16 represent the high address of the current request address. Unused bits are indicated with “don't cares (dc)”.
  • a current word count represents the total number of data words to be transferred in the ongoing transfer.
  • the current word count comprises two parts, the current base count represented by the base counter 282 , and the current segment count represented by the segment counter 284 in FIG. 11 .
  • Table 10 indicates an exemplary register bitmap of the base counter 282 and segment counter 284 .
  • bits D 15 :D 12 represent the current segment count (S 3 :S 0 ), which indicate how many segments and how many words are in a segment.
  • Bits B 9 :B 0 represent the current base count. Both the current segment count and the current base count are preferably automatically loaded in the address generator from the configuration register file 44 a when a transfer starts. The current base count is loaded with the value of the base word count register 84 a , while the current segment count is cleared to zero in sequential mode, or is loaded with the value of the segment count Cnt 3 :Cnt 0 (Table 1) from the multi-segment register 80 a in multi-segment mode. As the data transfer is undertaken, the current word count is decreased once a data word is transferred.
  • sequential mode the transfer ends when the value of the current base count decreases to zero.
  • multi-segment mode the current base count is then reloaded with the value of the base word count, and the current segment count is decreased by one. Data transfer continues until all data words are transferred.
  • Address generator 190 a also includes multiplexers 286 , 288 , 290 selection combinational-logic 291 , 292 , 293 , comparators 294 , 295 , 296 , and other logic 297 , 298 , 299 (e.g., AND gate). It will become apparent to those skilled in the art that these components are an exemplary implementation of the described embodiments.
  • FIG. 12 illustrates a detailed block diagram of one embodiment of a memory controller 34 that provides an address 232 to the memory device 36 , along with other signals to effectuate either a READ or WRITE to the memory device.
  • These signals include column access strobe (CAS) 234 , row access strobe (RAS) 236 , write enable (WE) 238 , and DQM (data-in/data-out mask) signal 240 .
  • the CAS 234 and RAS 236 signals are sent to the memory device 36 one part at a time over shared address lines; this enables a minimum number of address lines (e.g., 10-bits) to be used to access the memory device 36 which may have an address size (e.g., 20-bits).
  • the DQM signal 240 indicates whether to enable data-out functionality so that a READ from memory device 36 may be undertaken. By disabling data-out functionality, the DQM signal 240 implicitly indicates that the data-in functionality is active, so that a WRITE to memory device 36 may be undertaken.
  • Table 11 lists exemplary signals for the CAS 234 , RAS 236 , WE 238 and DQM 240 .
  • Memory controller 34 a also includes a memory command state machine 251 , which receives the request address 226 , end-of-transfer signal 228 , W/R requests 218 , and end-of-segment signal 230 .
  • Memory controller 34 a further includes a bank address selector 253 selects amongst multiple banks of memory locations associated with the memory device 36 .
  • Address register 255 buffers the request address 226 that is used to index the memory device 36 .
  • Modules 257 , 259 , 261 , and 263 represent those combination logic required for generating the CAS 234 , RAS 236 , WE 238 and DQM 240 signals, respectively.
  • Bus Interface Units (BIU) 27 and 40 buffers bus signals between the devices and the control bus. According to the READ protocol, data is latched from the bus at a designated clock. According to the WRITE protocol, data should be put on the bus at a designated clock. Table 12 list various signals and their definitions. Particular implementations of BIU 27 and 40 will be described subsequently.
  • the control address (Ctrl_addr) signal 50 indicates the full address using 15-bits, namely 14 : 0 .
  • the Ctrl_rd signal 53 has a value in the Ctrl_ale 55 cycle that indicates the type of the I/O cycle. For example, if the Ctrl_rd signal 53 is valid, the I/O cycle will be a READ. If the Ctrl_rd signal 53 is not valid, the I/O cycle will be a WRITE.
  • the Ctrl_ale signal 55 is an address validation signal, wherein a valid Ctrl_ale signal 55 indicates that a current cycle in an address latch enable cycle.
  • the Ctrl_we signal 54 will be set to valid by the data bus controller within the same clock (i.e., Mclk 2 phase) with WRITE data.
  • Devices 38 can use the Ctrl_we signal to latch the WRITE data.
  • the Ctrl_data 52 indicates the tristate data of the control bus, which is 16-bits by way of example.
  • the Ctrl_io_ready signal 56 is driven by the accessed device. The device can hold this signal invalid until the READ data is completed. In the WRITE cycle, the I/O will finish in two clock phases, whereupon this Ctrl_io_ready signal is then ignored.
  • this last_transfer signal 72 indicates that the current Ctrl_io_ready 56 transfer will be the last transfer of the current burst.
  • This last_transfer signal 72 is driven by the controller 30 a , which stops the present data transfer operation.
  • This is beneficial over the conventional DMA controllers using fixed lengths transfers because it eliminates the requirement to poll the devices 38 to ascertain the amount of data to be transferred and in response, to program controller 30 a with the polled information in order to configure the controller 30 a with the fixed length data to be transferred from the device 38 .
  • the controller 30 a does not need to receive the fixed length of data from the devices 38 , but will use the last transfer signal 72 as an indicator to adjust the corresponding base word count indicator.
  • the last_transfer signal 72 remains active.
  • dev_sel centralized decoding logic can be used to provide this device selected signal when accessing the assigned device address.
  • the control bus protocol includes a WRITE cycle 302 and a READ cycle 304 . Each of these cycles 302 , 304 can be further divided into phases as described below.
  • the first phase is generally an address phase 306 .
  • the data phase 308 Following the address phase 306 is the data phase 308 .
  • the data phase 308 For single word WRITE access, there is typically one data phase 308 .
  • the total number of data phases 308 can be four, eight, sixteen, all typically ending the WRITE cycle 302 with a valid last_transfer signal 72 .
  • the first phase is an address phase 310 .
  • data phases 312 , 314 , 316 where a corresponding client device will drive data 314 with an active 318 (valid) Ctrl_io_ready signal 56 .
  • the client device can drive data 316 with a valid Ctrl_io_ready signal 56 , which indicates that the client device is capable of driving the Ctrl_data signal 52 at one or more of the data phases 316 , 318 as shown in FIG. 13 .
  • the address phases 306 and 310 in the respective cycle are each indicated as being valid 322 , 324 , respectively, based on the host address latch enable (Host_ALE) signal 61 from the bus and interrupt controller 26 .
  • the Host_ALE signal 61 is valid 322 , 324 preferably for one clock phase.
  • the multi-channel data bus controller 30 a drives 326 , 328 the address bus (Host_addr) 63 for the input or output (I/O) address that the respective READ cycle 302 or WRITE cycle 304 will access.
  • the controller 30 a also indicates whether the cycle 302 , 304 is a READ or a WRITE cycle, respectively, by asserting a data bus READ (Host_Rd) signal 65 . If the Host_Rd signal 65 is a logical 1, as indicated by 330 , the I/O cycle is deemed to be a READ cycle 304 . Otherwise, if the Host_Rd signal 65 is a logical 0, as indicated by 332 , the I/O cycle is deemed to be a WRITE cycle 302 .
  • controller 30 a will drive the host write enable (Host_WE) signal 67 to be valid 334 , as well as WRITE data 336 onto the Host_Data line 69 , which typically is a tristate bus.
  • the client device is capable of buffering the WRITE data 336 and will complete this operation in the next clock 310 .
  • the WRITE cycles 302 are preferably consecutive, and the starting address is preferably aligned.
  • the data bus controller 30 typically ignores 336 the Ctrl_io_ready signal 56 during a WRITE cycle 302 .
  • the Device.OE signal 51 represents an operational enable signal indicating that the client device is operational.
  • the client device addressed will drive the READ data 338 onto the tristate data bus, along with a valid Ctrl_io_ready signal 318 .
  • the client device may similarly drive the READ data 340 on the data bus in another data phase 340 along with a corresponding valid Ctrl_io_ready signal 320 . It follows that a data phase 312 occurring with an invalid Ctrl_io_ready signal 342 , 344 should preferably be deemed as an invalid data phase.
  • the client device can then use the invalid Ctrl_io_ready signal 344 to hold the READ cycle 304 for up to the maximum number of clocks in the cycle (e.g., 15 clocks). Any delay larger than this maximum number should cause a time-out I/O error in the multi-channel data bus controller 30 a , which can be treated as a non-recoverable hardware interrupt, to which a global reset should be undertaken.
  • the data phases may be four, eight and sixteen phases, either consecutive in one embodiment or non-consecutive in an alternate embodiment.
  • the starting address is aligned.
  • FIG. 14 illustrates an exemplary implementation of a host BIU 27 a , that is a part of the bus and interrupt controller 26 .
  • BIU 27 a includes an address & WE/RD# register 350 , a delay element 352 , host output data register 354 , output buffer 356 , delay element 358 , and host input data register 360 .
  • Both the READ cycle 302 and WRITE cycle 304 are preferably initiated by the controller 26 , upon which controller 26 will take ownership of the control bus 18 .
  • Both the READ and WRITE cycles 302 , 304 are preferably non-interruptible in the controller 26 , that is, once the controller 26 issues 322 , 324 an ALE signal 61 , there should be a guarantee that the WRITE cycle 302 and the READ cycle 304 should each end in their corresponding predetermined number of phases.
  • the host will first drive 322 , 326 the ALE signal 61 , W/R# signal 71 , and the Addr signal 63 .
  • the ALE signal 61 will be valid 322 for one clock.
  • the W/R# signal 71 and Addr signal 63 will be valid 326 until the next cycle (whether it is a READ or WRITE) begins with another ALE signal 61 .
  • the host will drive 334 the WE signal 67 valid, and drive 336 the data 65 onto the data bus 20 for one clock. Because the controller 26 will release 337 the data bus in the next clock, the addressed client device must latch the data in this clock.
  • the WRITE cycle 302 ends after this clock, 310 .
  • the READ cycle 304 includes outputting 328 the address 63 , indicating 330 the cycle type being a READ cycle, waiting for one clock 312 , and loading 338 the host input data register.
  • Both the READ and WRITE cycles are preferably uninterruptible, and after these operations, the data in the output data register is already written to the client device.
  • the input data register holds the data read from the client device. Because after a READ cycle 304 , the controller 26 may be interrupted before it uses the data in the input data register, the interruption service should preferably save (e.g., push) the input data register, and restore it upon return from the interrupt. Further details about the operation of BIU 27 a are described in the previously incorporated U.S. application Ser. No. 10/033,857.
  • FIG. 15 illustrates an exemplary implementation of a BIU 40 a , that is a part of the multi-channel data transfer controller 30 a and the devices 38 .
  • BIU 40 a generally functions as the client BIU communicatively coupled to the host BIU 27 a .
  • BIU 40 a includes an address & WR/RD# buffer 370 , a state machine 372 , a input buffer 374 , and output buffer 376 , and a tristate latch enable buffer 378 .
  • the operation of BIU 40 a is described in the previously incorporated U.S. application Ser. No. 10/033,857.
  • the data transfer in accordance with the present invention can be initiated using a set of parameters stored in the configuration register file 44 a either by hard-wired request from the scheduler 28 , or by a software start command.
  • the scheduler 28 preferably provides the number of the configuration to the scheduling bus 22 with an asserted schedule command valid signal.
  • FIG. 16 illustrates a signal flow diagram and chart detailing the operation of how a channel is established in accordance with one aspect of the present invention.
  • the scheduler 28 broadcasts a schedule command 64 a and a valid command 64 b as described in detail in the previously incorporated U.S. application Ser. No. 10/033,857.
  • These commands 64 a , 64 b indicate a start of channel 1 , by way of example.
  • the controller 30 a loads 380 the channel configuration data into the configuration register file 44 a .
  • the requesting device 38 preloads 382 and initializes either a READ or WRITE request command for memory device 36 .
  • the device sends 384 a W/R transfer request 58 to controller 30 a , which in turn parses request 58 into a wreq 66 or a rreq 68 as seen in FIG. 4 .
  • the controller 30 a receives 386 the W/R request, the configuration register file is accessed to activate 388 the channel for the data transfer, and the data transfer is undertaken 390 .
  • the controller 30 a After the last_transfer signal 72 is received by the controller from the device 38 , the controller 30 a sends 392 a transfer_ok signal 74 to the device 38 . It is noted that the transfer_ok signal 74 can be used to indicate the completion of data read from a memory device to another device, or of data written to a memory device, by way of example. The controller 30 a then transmits 394 a control command to the memory controller 34 .
  • the bus and interrupt controller 26 preferably issues a WRITE to the configuration register file 44 a with the corresponding configuration number on CH 4 :CH 0 in Table 6.
  • the multi-channel data bus controller 30 a then awaits the request from the participating devices 38 , and starts the transfer as soon as the request(s) are valid.
  • FIG. 17 is a timing diagram of WRITE and READ requests transmitted from a device 38 .
  • FIG. 18 is a timing diagram of a READ transfer being initiated.
  • the Start_dma signal represents the schedule command signal and the DMA configuration (DMA_conf) signal represents the schedule valid signal broadcast by the scheduler 26 as described in the previously incorporated U.S. application Ser. No. 10/033,857.
  • the valid_xfr_rd signal is generated by the controller 30 a for a READ transfer, and when active, there should be valid data read from the memory device 36 to the data bus 20 .
  • FIG. 19 is a timing diagram of a WRITE transfer being initiated.
  • the valid transfer write (Valid_xfr_wr) signal becomes active two clocks before the data is WRITTEN to the memory device 36 . This allows other devices 38 to prepare data for the transfer.
  • FIG. 20 is a timing diagram of the end of a READ transfer.
  • the Valid_xfr_rd signal goes low, and the interrupt dma (int_dma) signal goes high, unless a mask of the interrupt request is activated.
  • the bus and interrupt controller 26 writes an interrupt command to the controller 30 a to reset the signal, as discussed in Table 5 with IF bit of the status indication register.
  • FIG. 21 is a timing diagram indicating a READ transfer being interrupted by a page boundary or a DRAM refresh. This type of interruption typically occurs when the access to the memory device 36 is interrupted due to the break in cycles when accessing amongst the row and column access strobes of the memory device.
  • FIG. 22 is a timing diagram indicating a WRITE transfer being interrupted by a page boundary or a DRAM refresh.
  • FIG. 24 illustrates one implementation of the system 10 for selectably enabling multiple-channel (multi-channel) data transfer operation and access modes applied to a video processing system 400 in order to perform video compression of moving images as part of an encoding process.
  • the multiple-channel data transfer operation and access modes are advantageous for controlling the transfer of raw (e.g., compressed) data in the nature of video images.
  • these video images are typically associated with frame sizes of 720 ⁇ 480 (PAL) and 704 ⁇ 576 (NTSC) at same bit rate, and blocks of 4 ⁇ 4, 9 ⁇ 9, and 16 ⁇ 16 pixels.
  • system 400 includes a processor-based platform 402 (back end sub-system 402 ), and a front end sub-system 404 .
  • Data from source 406 is received by an audio/visual (A/V) interface 408 .
  • the front-end sub-system 404 includes function blocks to provide the data processing method for video compression.
  • the back-end sub-system 402 provides the data and control information traffic as well as the overall control and scheduling for the function blocks of the front end sub-system 404 .
  • the back end sub-system 402 also provides the communication and data stream output to the external host 410 .
  • the AV interface 408 is synchronized with a pixel clock PCLK (not explicitly shown), which may be operating at a low frequency, like 27 MHz by way of example.
  • a data (pixel) bus 412 allows the transfer of pixel data from the source 406 to the AV interface 408 . Every clock cycle, a pixel can be input through the pixel bus 412 with a valid pixel signal. Those skilled in the art will recognize that the input timing can be controlled by horizontal and vertical synchronize signals.
  • a control bus 411 and a scheduler command bus 413 communicatively couple the front end 436 to the back end 402 .
  • the source 406 may be a multitude of devices that provide a digitized video bit stream (data stream), like for example, from a Complementary Metal Oxide Semiconductor (CMOS) device or Charge Coupled Device (CCD) sensor (with or without glue logic) like that used in a digital camera and PC camera.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge Coupled Device
  • Other types of source devices that may work suitably well with the present invention, include by way of example, the Philips® 711x video digitizer and processor chip.
  • CCDs can be analogized to operating like film. That is, when they are exposed to light, CCDs record the intensities or shades, of light as variable charges. In the field of digital cameras, the charges are converted to a discrete number by analog to digital converters.
  • sources capable of generating a digitized video bit stream may work suitably well with the present invention, including sources in the nature of a personal video recorder, a video-graphics capture and processor board, and a digital CAM recorder.
  • source 406 generates an uncompressed video data bit stream 414 , which may be of multiple formats.
  • the format of data stream 414 can comply with the CCIR (Consultative Committee for International Radio, now ITU-R) 601 recommendation which has been adopted worldwide for uncompressed digital video used in studio television production. This standard is also known as 4:2:2.
  • data stream 414 may be the parallel extension standard, namely CCIR 656 with PAL and NTSC, which had been incorporated into MPEG as the Professional Profile.
  • CCIR 656 sets out serial and parallel interfaces to CCIR 601 .
  • Video formats include: YUV 4:2:2 interlace; 8-bit YUV with Vsysnc/Hsysnc/Fodd or Vref/Href format, interlace and progressive; 10-bit RGB Bayer with Vsysnc/Hsync CMOS sensor format.
  • the support size can vary from 352 ⁇ 288 to 720 ⁇ 480 (30 fps) or 720 ⁇ 576 (25 fps), while the support input frame rate can vary from 10 fps to 30 fps. It is noted that these values are provided by way of example, and that the invention is not limited to these formats and parameters, but may work suitably well with other types of formats and parameters.
  • data stream 414 includes an audio component
  • the format of the data stream could also be in IIS (inter IC signal) format.
  • IIS inter IC signal
  • the appropriate IIS data rates which typically are at speeds of several Mbits/second, may be selected for transferring audio data.
  • CCIR 656 and IIS are only examples of possible digital data formats, and that other formats are equally possible.
  • A/V interface 408 includes necessary ports and circuitry to receive the incoming (video and/or audio) signals and to buffer data from such signals.
  • the base platform 402 is preferably a general microprocessor-based computing system.
  • the electronics of platform 402 are implemented as a single ASIC incorporating a processor 416 , a system controller 418 , memory device 420 , memory device controller 422 , a multichannel (e.g., Direct Memory Access DMA) controller 424 , an input/output (I/O) interface 426 , a scheduler host device 428 , and an extensible program interface 430 .
  • a processor 416 a system controller 418 , memory device 420 , memory device controller 422 , a multichannel (e.g., Direct Memory Access DMA) controller 424 , an input/output (I/O) interface 426 , a scheduler host device 428 , and an extensible program interface 430 .
  • I/O input/output
  • Exemplary applications suitable for the incorporation of system 400 include digital video recorders, remote video surveillance systems, video capture boxes, small portable handheld devices such as digital cameras, multimedia-enabled cellular phones and personal digital assistants (PDAs), and other media-based devices and appliances.
  • the (XRISC) bus and interrupt controller 418 handles the workflow of the data and control signals for the computing processes of CPU 416 , including for example, handling hardware and software interrupts, as well as those I/O signals generated.
  • Memory device 420 may be any suitable computer memory device for storing picture data, such as a video random access memory (VRAM), dynamic RAM (DRAM) device, or SDRAM under the control of memory device controller 422 .
  • Memory device 420 is shown as being external to platform 402 in FIG. 15 , but may be integrated into platform 402 in other embodiments of system 400 .
  • controller 422 is selected to be a corresponding DRAM controller performing the physical transfers of data between the memory device 420 and the multichannel controller 424 .
  • controller 424 may be a DMA controller selected to accommodate any suitable number of DMA channels used to transfer the retrieved video data into packed pixel format or planar bit maps, for example, from the memory device 420 to each data block for processing by the MEC engine 432 .
  • Table 13 list exemplary indicates exemplary multiple channel DMA organization parameters, which can be preprogrammed independently for the start address, burst length, and burst mode registers.
  • Extensible program interface 430 enables data to be loaded into system 400 from flash memory device 434 .
  • the video processing system 400 includes several devices to be controlled by the scheduler host device 428 . These devices include MEC engine 432 , a compression engine 436 , a memory controller engine 438 , and the external host 410 .
  • MEC engine 432 includes a motion estimation and motion compensation array 440 , stream buffer 442 and SRAM 444 .
  • Compression engine 436 includes a discrete cosine transform (DCT) and inverse DCT (IDCT) module 446 , a quantizer and dequantizer module 448 , a variable length coding (VLC) encoder 450 , and buffers such as block SRAMs 452 , 454 . Additional details of the video compression techniques for video processing system 400 are disclosed in: (1) U.S. application Ser. No.
  • the scheduler host device 428 generally functions as a timing mechanism enabling the scheduling and synchronization of operations and data transfers that are intended to be performed by particular ones of the devices 432 , 436 , 438 , and 410 , by way of example.
  • Exemplary operations and data transfers can include performing motion estimation and compensation, discrete cosine transforms, inverse discrete cosine transforms, quantization, inverse quantization, variable length coding encoding, direct memory access control, the loading of predetermined data and firmware by the external host 410 .
  • programmable scheduler host device 428 coordinates the operation of various modules and processes in system 400 in a manner as already described.
  • the commands issued by the scheduler host device 428 as part of the back end sub-system enables the synchronization of devices, such as 432 , 436 , 438 , and 410 to accomplish the video compression and encoding tasks.
  • MEC engine 38 interfaces with an external DRAM 420 to obtain picture data and to store processed picture data over databus 412 . Picture data read from the DRAM 420 is received by the array 440 from the SRAM 444 .
  • the array 440 is enabled to perform calculations on the data received, and because stream buffer 442 functions as a programmable cache, contemporaneous with such array processing, additional data can be pre-loaded from DRAM 420 into the SRAM 444 for the next set of processing operations.
  • Stream buffer 442 thus enables the MEC array 440 to perform motion estimation processing and when the array 440 is not accessing the stream buffer 442 , the stream buffer can pre-fetch data from the memory device 420 for the next MEC operations in parallel.
  • the operations and data transfers necessary to accomplish the MEC processing are exemplary of the event commands and time-tags that can be controlled and synchronized by the scheduler host device 428 .
  • FIG. 24 are functional blocks that may be implemented either by hardware, software, or a combination of both. Given the functional description of these blocks, those of ordinary skill in the art will be able to implement various components described using well-known combinational and/or sequential logic, as well as software without undue experimentation. Those skilled in the art will appreciate that the present invention is not limited to the video compression system described above, but is applicable to any video processing system.
  • FIGS. 25-26 are illustrations of various exemplary video processing applications in which the video processing system 400 incorporating the system 10 of the present invention will work suitably well.
  • Such applications include a high quality PC video camera 462 used for video conferencing or as a video recorder.
  • Another application includes video capture boards 464 , which may be enabled with MPEG-1, MPEG-2, MPEG-4, H.263 and H.261 capability.
  • Yet another application includes a video capture box 466 which may be enabled with MPEG-1, MPEG-2, MPEG-4, H.263 and H.261 capability, by way of example.
  • Video capture boxes 466 can also be used for time shifting purposes.
  • Still another application comprises an IP (Internet Protocol)-based remote video surveillance system 468 outputting MPEG-1, MPEG-2, MPEG-4 or other type of video format.
  • IP Internet Protocol
  • FIG. 26 other applications that are well-suited for video processing system 10 , include the following: (1) high quality video cameras 470 with full D1 broadcasting quality; (2) personal digital assistants 472 operable as a video camera or as a visual communication device; (3) mobile visual communication devices 474 ; (8) portable wireless telephones 476 enabled to operate with visual communication by MPEG-4 over CDMA; and (9) personal video recorders (PVRs) 478 also known as digital video recorders (DVRs), and STB, along with other devices providing a home video gateway, visual conferencing and multimedia communication.
  • PVRs personal video recorders
  • DVRs digital video recorders
  • STB digital video recorders
  • the system 10 can be implemented with the particular hardware implementations described by way of example. However, even though the system 10 has been described with respect to the specific architecture disclosed, it will be appreciated that the system 10 of the present invention may work suitably well with other architectures of video processing systems. Further, the system for selectably enabling multi-channel data transfer modes has a wider application than the video processing techniques described herein. Similarly, the application of the present invention is not limited to only performing the sequence of steps described in figures presented. Those skilled in the art will understand that the system 10 may operate suitably well with other sequences of steps and functions to provide data processing in other applications.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

A method, apparatus, computer medium, and other embodiments for selectably enabling a plurality of data transfer modes along one or more channels are described. In one embodiment, data transfer between a first device and a second device is controlled based on selecting a combination of access and operation modes. In another embodiment, a video processing system capable of selectably enabling a plurality of data transfer modes along one or more channels is described.

Description

    CROSS-REFERENCE TO RELATED APPLICATION
  • This application is a divisional of U.S. application Ser. No. 10/033,324, filed Nov. 2, 2001, which claims the benefit of U.S. Patent Application No. 60/309,239, filed Jul. 31, 2001. Each of these applications is herein incorporated by reference in its entirety.
  • TECHNICAL FIELD
  • The present invention relates generally to video processing, and in particular to selectably enabling data transfer modes between devices and storage elements in a video compression system.
  • BACKGROUND OF THE INVENTION
  • Data transfers typically involving input/output (I/O) devices give rise to overhead that consumes much of a central processing unit's (CPU's or processor's) resources. For example, data transfers between I/O devices and memory may consume 25% of the processor resources, and may increase when data transfers consists primarily of relatively large blocks of data (e.g., hundreds to thousands of bytes). Fortunately, conventional direct memory access (DMA) controllers typically off-load control of the bus system from the processor during data transfers amongst storage elements, system devices and I/O devices.
  • Although conventional DMA controllers enable the processor to relinquish control of the bus system, they fail to adequately accommodate those data processing systems requiring different types of data transfers amongst memory device and other system and I/O devices. In such data processing systems, such as a video processing system, data transfers between a memory device and motion compensation engine can require different data configuration parameters compared with the data configuration parameters for data transfers amongst a variable length encoding device and an I/O memory device. Conventionally, because the data transfers between different devices, like the motion compensation engine and the variable length encoding device, typically require different configuration parameters, different configuration parameters are typically loaded one at a time and on-the-fly with each change in configuration of the data transfer. This detrimentally adds processing overhead to the data transfer. Accordingly, what is needed is a mechanism to accommodate the multiple types of data transfers and to select different configuration parameters for different types of data transfers without these drawbacks.
  • Conventional DMA controllers typically accommodate sequential bursts of data. The burst will specify starting and ending addresses for the data transfer, along with the length of the transfer (known as the burst length). The reprogramming of these parameters for each data transfer is problematic because even though only a portion of the block of data may be of interest, the entire block of data must be transferred. One obvious problem is that the overhead involved becomes intolerable when large amounts of video data are involved in the data transfer, yet only a small portion is actually used. This overhead is unacceptable for smaller integrated circuit applications, like those associated with video processors for hand-held or portable multimedia devices. Processing speed is thus sacrificed without DMA controllers; and additionally, data transfer speed is impeded with conventional sequential burst data transfer techniques. Thus, what is needed is a manner of transferring only the data of interest and with improved speed, as opposed to having to load the starting and ending addresses and the burst length of the entire set of data, including data that is not of interest.
  • It would also be beneficial if there were a way to notify the DMA controller that the data transfer has ended without having to specify those parameters involving the ending address, and the burst length with each data transfer. Doing so would minimize the amount of reprogramming that conventional DMA controllers require.
  • Also, conventional DMA controllers suffer from the penalty involved with having to reconfigure a data channel when an upper limit of a memory address is reached. This reconfiguration also results in an interruption of the input/output (I/O) transfer. Accordingly, what is needed is a manner in which to avoid this reconfiguration when an upper limit is reached.
  • SUMMARY OF THE INVENTION
  • The present invention overcomes the deficiencies and limitations of the prior art by providing a system for selectably enabling multiple channel data transfer modes between source and destination devices.
  • One aspect of this system in accordance with the present invention includes a method of controlling data transfer between a first device and a second device. The method includes receiving a command to initiate the data transfer, and extracting configuration data from the command to load a configuration engine. The extracted configuration data functions to index operational characteristics associated with the data transfer. Additionally, the method includes selecting: a channel from the operational characteristics, wherein the channel facilitates the data transfer between the first device and the second device; and an operation and access mode associated with the data transfer. At least one signal is received to indicate that the data transfer is ready to be undertaken. The channel is then activated so as to enable the data transfer using the operation and access mode selected. As will become clear from the detailed description to follow, one advantage of the present invention is that different data bus configurations associated with different types of data transfers no longer need to be loaded one at a time as with the prior art, thereby reducing the processing overhead associated with the data transfer.
  • Another aspect in accordance with the present invention includes a method of direct memory access control. This method includes receiving a command to initiate data transfer between a first device and a second device, and responsive to the command received, determining a channel capable of facilitating the data transfer. The method further includes determining a mode indicating a manner in which to activate the channel, and enabling the data transfer to be performed using the channel and based on the mode determined.
  • In one embodiment of the present invention, either of the first or second devices comprises a memory device. In another embodiment in accordance with the present invention, there is provided a novel video processing system that works well with the system for selectably enabling a plurality of data transfer modes along one or more channels communicatively coupling together a first device and a second device. One benefit of the present invention is that different configurations associated with the different data transfers within a video processing system can be efficiently accommodated without additional reprogramming of different configuration data as with the prior art.
  • Further, in another embodiment, a system for selectably enabling a plurality of data transfer modes is described and includes a direct memory access controller controlling data transfer between the first and second devices. The direct memory access controller includes a configuration storage element having a multiple segment indicator, a base request indicator, a base count indicator, and a mode indicator. An advantage of using a configuration storage element is that both contiguous and non-contiguous blocks of data may be transferred without having to reload configuration protocols, thereby improving the overall time taken for the data transfer. Additionally, since configuration data does not need to be loaded on-the-fly with each change in configuration associated with different data transfers, one advantage of the present invention minimizes the chances of data becoming lost during conventional on-the-fly loading requirements.
  • The features and advantages described in this summary and the following detailed description are not all-inclusive, and particularly, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification and claims hereof. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter, resort to the claims being necessary to determine such inventive subject matter.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The teachings of the present invention can be readily understood by considering the following detailed description in conjunction with the accompanying drawings.
  • FIG. 1 is a block diagram of a data transfer selection mode system in accordance with the present invention.
  • FIG. 2 is a block diagram of one embodiment of the data transfer selection mode system of FIG. 1.
  • FIG. 3 is a block diagram of another embodiment of the data transfer selection mode system of FIG. 1.
  • FIG. 4 is a block diagram of one embodiment of a multi-channel data bus controller in accordance with one aspect of the present invention.
  • FIG. 5 is a block diagram of one embodiment of the configuration storage element of the multi-channel data bus controller of FIG. 4.
  • FIG. 6A is an illustration of address memory for sequential data transfer operation mode.
  • FIG. 6B is an illustration of address memory for a chaining data transfer operation mode.
  • FIG. 6C is an illustration of address memory for auto-rollback data transfer operation mode.
  • FIG. 7 is block diagram of an exemplary data block of interest within a video frame that can be used with the multi-segment data transfer operation mode.
  • FIG. 8 is an illustration of address memory for a multi-segment data transfer operation mode.
  • FIG. 9 is communication flow diagram for the multi-channel data bus controller and various devices for a virtual channel data transfer operation mode.
  • FIG. 10 is a detailed block diagram of the embodiment of the multi-channel data bus controller of FIG. 4.
  • FIG. 11 is a detailed block diagram of one embodiment of an address generator of the multi-channel data bus controller of FIG. 10.
  • FIG. 12 is a detailed block diagram of one embodiment of the memory controller of FIG. 4.
  • FIG. 13 is a timing diagram of the WRITE and READ access modes in accordance with an aspect of the present invention.
  • FIG. 14 is a block diagram of a host bus interface unit for the bus and interrupt controller of FIGS. 2-3.
  • FIG. 15 is a block diagram of the device bus interface unit for the multi-channel data bus controller and devices of FIGS. 2-3.
  • FIG. 16 is a signal flow diagram and chart of one embodiment of an exemplary process for activating a channel for data transfer in accordance with an aspect of the present invention.
  • FIG. 17 is a timing diagram of the control access for WRITE and READ requests in accordance with an aspect of the invention.
  • FIG. 18 is a timing diagram of a READ transfer being initiated.
  • FIG. 19 is a timing diagram of a WRITE transfer being initiated.
  • FIG. 20 is a timing diagram of the end of a READ transfer.
  • FIG. 21 is a timing diagram indicating a READ transfer being interrupted by a page boundary or a DRAM refresh.
  • FIG. 22 is a timing diagram indicating a WRITE transfer being interrupted by a page boundary or a dynamic random access memory (DRAM) refresh.
  • FIG. 23 is a state diagram of the multi-channel data bus controller in accordance with an aspect of the present invention.
  • FIG. 24 is detailed block diagram of one embodiment of a video processing system well-suited for use with the data transfer selection mode system of FIG. 1.
  • FIG. 25 is an illustration of various exemplary applications that work suitably well with the video processing system of FIG. 24.
  • FIG. 26 is an illustration of additional exemplary applications of FIG. 25.
  • The figures depict a preferred embodiment of the present invention for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles of the invention described herein.
  • DETAILED DESCRIPTION OF EMBODIMENTS Introduction
  • A system, method, and other embodiments for selectably enabling a plurality of data transfer modes along one or more channels between devices and between a memory device and other devices are described. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the invention can be practiced without these specific details. In other instances, structures and devices are shown in block diagram form in order to avoid obscuring the invention with unnecessary details.
  • Reference in the specification to “one embodiment” or to “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiments is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
  • Some portions of the detailed description that follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps (instructions) leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic or optical signals capable of being stored, transferred, combined, compared and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. Furthermore, it has also proven convenient at times, to refer to certain arrangements of steps requiring physical manipulations of physical quantities as (modules) code devices, without loss of generality.
  • It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussion, it is appreciated that throughout the description, discussions utilizing terms such as “processing” or “computing” or “calculating” or determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer-based system memories or registers or other such information storage, transmission or display devices.
  • One aspect in accordance with the present invention includes an embodiment of the process steps and instructions described herein in the form of hardware. Alternatively, the process steps and instructions of the present invention could be embodied in firmware or a computer program (software), and when embodied in software, could be downloaded to reside on and be operated from different platforms used by video processing systems and multimedia devices employed with real time network operating systems and applications.
  • The present invention also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, or it may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, application specific integrated circuits (ASICs), or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus. Furthermore, the computers referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.
  • The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct a more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will appear from the description below. In addition, the present invention is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any references below to specific languages are provided for disclosure of enablement and best mode of the present invention.
  • Reference will now be made in detail to several embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Wherever practicable, the same reference numbers will be used throughout the drawings to refer to the same or like parts to avoid obscuring the invention with unnecessary details.
  • General Overview of a Data Transfer Mode Selection System
  • FIG. 1 illustrates a block diagram of a system 10 for selectably enabling multiple-channel (multi-channel) data transfer operation and access modes in accordance with the present invention. The system 10 comprises at least one source device 12, at least one destination device 14, and a data transfer mode selection system 16. In general, system 16 controls the nature and type of data transfer amongst the source devices 12 and destination devices 14. As will be described subsequently in further detail, system 16 is enabled to deterministically control data transfer mode (e.g., operation and access) between the source and destination devices 12, 14, based on corresponding configuration information.
  • FIG. 2 illustrates one embodiment of a system for selectably enabling multi-channel data transfer modes amongst devices and a storage element. System 10 a includes various embodiments of source and destination devices, some of which are shown in dashed and solid lines. These devices are and labeled as “12 a/14 a” to indicate that they may function as either a source device 12 a or a destination device 14 a, depending on the nature of the data transfer involved. As shown, system 10 a also includes an embodiment of a data transfer mode selection system 16 a.
  • The data transfer mode selection system 16 a includes a processor 24, a bus and interrupt controller 26, host device (scheduler) 28, and a multiple channel (multi-channel) data bus controller 30. One embodiment of a source device 12 a or a destination device 14 a includes a memory controller 34 and memory device 36. Signal line 33 generally couples memory controller 34 to multi-channel data bus controller 30, and will be described in more detail subsequently. Other embodiments of a source device 12 a and destination device 14 a are generally referred to as devices 38. Devices 38 designate a plurality of devices ranging from 0 to N, where N is an integer. The multi-channel data bus controller 30 and each of the devices 38 include a device buffer interface unit (BIU) 40, which will be described in more detail subsequently. The bus and interrupt controller 26 includes a host BIU 27, which also will be described in more detail subsequently.
  • Collectively, source devices 12 a, destination devices 14 a and data transfer mode selection system 16 a are communicatively coupled together via an address bus 17, a control bus 18, data bus 20 and (scheduling) command bus 22. By way of example, data bus 20 can be 32-bits wide with 23-bit address space used in association with a READ request, a WRITE request, a last transfer signal and a transfer acknowledge signal. Buses 18 and 22 each comprises a 16-bit control or command bus used in association with a READ request, a WRITE request, a last transfer request, and request acknowledge, interrupt, and interrupt acknowledge signals. Where predetermined amounts of data are expected to be transferred between the source devices 12 a and destination devices 14 a, the command bus 22 can include a 12-bit scheduling counter to monitor on-the-fly the amount of data that has been transferred.
  • Optionally, an input/output (I/O) device 42 may be coupled to the data bus 20.
  • It will be understood that the present invention will work suitably well with other bus arrangements, and is not limited by the particular implementation described. For example, in an alternate embodiment in accordance with the present invention, the control bus 18 can be modified to include the functions of the scheduling command bus 22. Referring to FIG. 3, a particular implementation of this alternate embodiment is shown and includes a system 10 b for selectably enabling multi-channel data transfer operation modes, and a control/command bus 19, which has replaced buses 18 and 22 of FIG. 2. This alternate embodiment avoids the additional routing associated with a separate command bus 22, which is advantageous for System on Chip (SoC) and Application Specific Integrated Circuits (ASIC) applications where integrated circuits increasingly require compact and stream-lined designs. It will become apparent to those skilled in the art that with such alternate embodiments and other implementations, appropriate modification to the timing and control process described herein should be made. In the description to follow, reference to the embodiment of FIG. 2 will be made primarily: to avoid obscuring the invention with additional details; and with the understanding that the general techniques described can be applied to various embodiments and implementations of the system 10 for selectably enabling the multi-channel data transfer modes.
  • Processor 24 is a central processing unit (CPU) or microprocessor. In general, processor 24 may be any suitable microprocessor with on-chip memory for encoding sub-sampled video signals, such as an Intel i860 pixel processor, programmed to implement the video processing techniques in accordance with the present invention. When system 10 a is used with Very Large Scale Integration (VLSI), ASIC, and SoC applications, it is preferable to use components that keep the manufacturing costs of system 10 a low. According to one implementation that helps to keep manufacturing costs low, processor 24 is selected to be a RISC-based CPU capable of facilitating the transfer of blocks of data, and of handling interrupts which may be initiated by the hardware or software. Other general parameters associated with providing a low cost processor 24 include having a 16-bit arithmetic logic unit (ALU), an 18-bit instruction set, and an operating speed up to 100 MHz. Processor 24 is communicatively coupled to the bus and interrupt controller 26. It is noted that the present invention is not limited to working with processors having low manufacturing costs or with the parameters described here, but will work suitably well with a variety of other processors.
  • The bus and interrupt controller 26 (referred to as “controller 26” for convenience) is the internal controller of system 10 a. Controller 26 is responsible for generating internal interruptions, and for handling such interruptions. By way of example, such interrupts may be hardware and software interrupts, in addition to the externally generated interrupts described. In general, controller 26 will interpret commands, and although not shown explicitly, will perform interrupt handling, which may involve configuring registers, setting associated result registers and an acknowledge register, if necessary. Where the source of the interruption is caused externally to system 10 a, bus and interrupt controller 26 accepts such interruption through I/O device 42, provides the interrupt handling as described, and then generates an external interruption to acknowledge the initial interrupt command. For example, controller 26 can generate an external interruption in the Host Parallel Interface (HPI), or an interruption package associated with a Universal Serial Bus (USB) port, both of which are suitable techniques used by I/O device 42. In one embodiment in accordance with the present invention, bus and interrupt controller 26 is an XRISC bus and interrupt controller handling the workflow of the data and control signals for the computing tasks of processor 24. One embodiment of system 10 that includes an XRISC bus and interrupt controller will be subsequently described with reference to FIG. 24, illustrating a video processing system 400 that is well-suited for use with the system for selectably enabling multi-channel data transfer operation and access modes in accordance with the present invention.
  • The host device (scheduler) 28 is generally a timing mechanism for scheduling and enabling activation of the devices in system 10 a. An exemplary scheduler 28 for enabling the scheduling and synchronization of operations and data transfers intended to be performed by particular devices 12 a, 14 a at specific predetermined times in an operational cycle is disclosed in commonly-assigned copending U.S. patent application Ser. No. 10/033,857, filed Nov. 2, 2001, entitled “Video Processing Control and Scheduling”, which is herein incorporated by reference it its entirety.
  • Having generally described the system 10 a for selectably enabling multi-channel data transfer operation and access modes, further details of the multi-channel data bus controller 30 will now be discussed. As will be described subsequently in more detail, multi-channel data bus controller 30 enables data transfer amongst devices 38 and amongst a memory element 36 and devices 38. Controller 30 a is capable of being configured to enable a plurality of data transfer operation and access modes. Thereafter, several exemplary data transfer operation modes will be described, including a sequential mode and a multi-segment mode, as well as other data transfer operation modes.
  • An Implementation of a Multiple Channel Data Bus Controller
  • The controller 30 controls the transfer of data between one device 38 to another or between a device 38 to memory device 36 (e.g., an external SDRAM). The memory device 36 includes its own format of configuration parameters for data transfer, which is different from the transfer behavior of the devices 38 for the video processing system (which generally uses continuous data burst transfer). The controller 30 complies with this type of data transfer format and interfaces with the memory device 36.
  • Reference is now made to FIG. 4, which illustrates one embodiment of the data transfer mode selection system 16 b, having a multi-channel data bus controller 30 a, and processor platform 32. Processor platform 32 represents the processor 24, bus and interrupt controller 26 and scheduler 28 previously described. Multi-channel data bus controller 30 a includes a “device” bus interface unit (BIU) 40, a multi-channel configuration storage element 44, and a configuration engine 46 having associated control elements 48. The distinction between a “device” and “host” bus interface units will be subsequently described in detail.
  • Multi-channel data bus controller 30 a (“controller 30 a”) is enabled to receive address information (ctrl_addr) 50 from the control bus 18, and is capable of sending data and receiving data (ctrl_data) 52 respectively to and from the data bus 20. Additionally, controller 30 a is communicatively coupled to the control bus 18 to receive data enable signals 53, 54, 55 (e.g., read 53, write enable 54, Address Latch Enable (ALE) 55, referred to as ctrl_rd/we/ale for convenience), an input output ready (ctrl_io_ready) signal 56, direct memory access request (Dma_req(s)) signals 58, transfer ok (transfer_ok) 60 signals, and an interrupt direct memory access (int_dma) signal 62. Controller 30 a receives scheduler command signals 64 broadcasted from the scheduler 28 over command bus 22, as described in more detail in the previously incorporated U.S. application Ser. No. 10/033,857.
  • Controller 30 a communicates with memory controller 34 over signal line 33 shown generally in FIGS. 2-3, and in more detail in FIG. 4. As seen in FIG. 4, signal line 33 comprises WRITE request signals 66, READ request signals 68, request address signals 70, last_transfer signals 72, and transfer_ok signals 74. In general, controller 30 a forwards WRITE request (wreq) signals 66 and READ request (rreq) signals 68 that are received by the controller 30 a and generally indicated as Dma_req(s) 58. Additionally, controller 30 a provides a request address (req_address) 70 to memory controller 34. Last transfer (last_transfer) signals 72 generated by the source and destination devices 12 a/14 a are received by the controller 30 a and communicated to the memory controller 34 in those instances where the memory device 36 is involved in the data transfer. When the memory device 36 is involved in the data transfer, the controller 30 a receives a transfer_ok signal 74 from the memory controller 34 indicating that the data transfer was successful.
  • 1. Multi-Configuration Operation and Access Modes
  • There are different configurations stored in the configuration storage element 44, and each configuration may be associated with a different data transfer operation and/or access mode that is selected by the controller 30 a. Several exemplary configurations representing the types of configuration data stored in the configuration storage element 44 are now described. According to one embodiment described in FIG. 5 subsequently, the configuration storage element 44 is implemented with a configuration register file 44 a having the following operation modes, namely fixed-length single burst mode, multi-segment mode, sequential mode with auto-rollback, chaining mode, and virtual channel mode, by way of example. Other data transfer operation modes that can be enabled are described subsequently in more detail.
  • A configuration specifies a set of data bus parameters for data transfer, like Direct Memory Access (DMA) data transfer. Such parameters include the data source, data destination, transfer mode, base address, base count and multi-segment options. In one described embodiment where the configuration storage element 44 a comprises 32 configurations, when a specific transfer is to be executed, the host device (scheduler) 28 switches the corresponding configuration to be loaded into the controller 30 a. Each configuration can be selected from a combination of access mode (e.g., READ or WRITE) and operation mode (e.g., sequential, multi-segment, auto-rollback, chaining, fixed length burst, virtual channel), typically with parameters that include starting address, and length of data transfer.
  • Sharing of the same data path to the memory device 36 makes the configurations time-individual. This means that the corresponding data transfer takes individual control of the data bus 20, and therefore, the memory access through the configurations is made serially. The configurations are designed for different devices 38 that have regular and periodic memory access. One manner of maintaining a seamless data transfer operation, and of minimizing the overhead of the configuration register file 44 a is to assign each configuration to a specific operation. In general, the configuration register file 44 a can be programmed at an initialization stage by the bus and interrupt controller 26. Updates can be made to the configuration register file 44 a automatically by the controller 30 a, or by the bus and interrupt controller 26 when necessary. As will be described subsequently in one implementation, two registers can be used to enable the bus and interrupt controller 26 to read and update the configuration register file 44 a.
  • 2. Configuration Storage Element
  • Referring to FIG. 5, one particular implementation of configuration storage element 44 is shown in the nature of a configuration register file 44 a. In general, configuration register file 44 a includes a multi-segment indicator 80, a base request indicator 82, base word count indicator 84, operation mode indicator 86 and optional reserved section(s) 88. The configuration register file 44 a is designed to store configuration data represented as 0 to n entries, where n is an integer. By way of this example, configuration register file 44 a can include 32 configuration entries, each being 64-bits wide and representing a channel of the multiple-channels in the multi-channel data bus controller 30 a. The configuration register file 44 a facilitates one aspect in accordance with the present invention to selectably enable a plurality of data transfer modes along multiple channels.
  • Also by way of example, the register bitmap for each entry, m, where 0<m<n, of the configuration register file 44 a can include the following fields. Multi-segment indicator 80 can be represented as a multi-segment register 80 a having 16-bits (e.g., bits 15:0). Base request indicator 82 can be represented as a base request address register 82 a having 21-bits (e.g., bits 36:16). Base word count indicator 84 can be represented as a base word count register 84 a having 10-bits (e.g., bits 49:40), and operation mode indicator 86 can be represented as an operation mode register 86 a having 6-bits (e.g., bits 61:56). The optional reserved section(s) 88 may be represented by other bits 88 a (e.g., bits 63:62, 55:50, and 39:37) that are unused, and in particular, may be “don't cares” or may be reserved bit gaps implemented to allocate the registers to 4-bit boundaries.
  • Reference is now made to Table 1, which includes an exemplary bitmap of those 16-bits (e.g., bits C15:C0) of the multi-segment register 80 a representing multiple segment data transfers. The higher 4-bits (e.g., bits C15:C12) are used as a segment count (Cnt3:Cnt0), and the lower 12 bits (e.g., bits C11:C0) are used to represent segment spacing (S11:S0). As will be subsequently described, in a data transfer during a sequential operation mode with auto-rollback (i.e., an operation mode that will be described subsequently), the high 4-bits are reset to zeros, so that Cnt0 through Cnt3 are zeros; and the upper boundary and lower boundary addresses (to be described subsequently) are stored in bits C10:C6 (as indicated by U4:U0), and bits C5:C0 (as indicated by L4:L0), respectively. Unused bits can be represented by “don't cares (dc)”.
  • TABLE 1
    Exemplary Register Bitmap of Multi-Segment Indicator
    C15 C14 C13 C12 C11 C10 C9 C8
    Cnt3 Cnt2 Cnt1 Cnt0 S11 S10 S9 S8
    dc dc dc U4 U3 U2 U1 U0
    . . .
    C7 C6 C5 C4 C3 C2 C1 C0
    S7 S6 S5 S4 S3 S2 S1 S0
    dc dc dc L4 L3 L2 L1 L0
  • The segment count, Cnt3:Cnt0, represents the number of segments that need to be transferred at a time. The segment spacing, S11:S0, represents the offset of the starting addresses between two segments. This offset may be selected from a maximum of 212=4096 values. In the multi-segment operation mode, preferably the contents of the multi-segment register do not expire. The upper boundary address, U4:U0, represents that upper boundary address (e.g., upper limit 98 in FIG. 6 c) used with the auto-rollback feature in accordance with one aspect of the present invention. Similarly, the lower boundary address 96, L4:L0, represents that lower address (e.g., upper limit 98 in FIG. 6 c) used with the auto-rollback feature. Both the upper boundary address 98 and the lower boundary address 96 are derived from the upper 5-bits of the 21-bit physical address (i.e., stored in the base request address register 82 a) of the memory device 36. In a particular implementation, the upper and lower boundaries can be aligned with 64-bits by merely extending the remaining 16-bits of the 21-bit address padded with don't cares.
  • According to one embodiment, the auto-rollback mode is not initiated with the multi-segment mode. This enables the bits of the multi-segment register 80 a to be shared amongst sequential and multi-segment data transfer operation modes, thereby reducing the need for additional memory storage elements.
  • Reference is made to Table 2, which includes an exemplary bitmap of those bits (e.g., 21 bits, C36:C16) of the base request address register 82 a representing the base address of a data transfer. The base request address represents the linear (i.e., physical) address of the memory device 36. Base request address register 82 a is preferably programmed during an initialization stage of system 10 a. Additionally, base request address register 82 a can be reprogrammed by the bus and interrupt controller 26 and by controller 30 a when necessary.
  • TABLE 2
    Exemplary Register Bitmap of Base Request Indicator
    C36 C35 C34 C33 C32 C31 C30 C29 C28 C27 C26
    A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10
    . . .
    C25 C24 C23 C22 C21 C20 C19 C18 C17 C16
    A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
  • In Table 2, bits C36:C16 of the base address request register 82 a represents the starting address of data transfer. In the sequential data transfer operation mode, this register remains unchanged after a transfer when an address is reset, like for e.g., if the addr_rst bit (C57 in Table 4, described subsequently) is set to 1. Otherwise, the base address request register 82 a will be refreshed with the ending address incremented by one so that the subsequent data transfer may continue on the same buffer. This technique will be subsequently referred to as chaining mode and is advantageous because less user intervention is required. During the multi-segment operation mode, the base request address register 82 a preferably remains unchanged after the completion of a data transfer.
  • Reference is now made to Table 3, which includes an exemplary bitmap of those bits (e.g., 10-bits C49:C40) of the base word count register 84 a representing: the length (e.g., total number) of data words to be transferred in sequential mode; and the length of a segment to be transferred in multi-segment mode. By way of example, a 10-bit register representing the base word count can represent 210=1024 values. Preferably, the base word count register 84 a should be loaded with the base word count (Cnt9:Cnt0) prior to the first transfer being undertaken so as to take effect during the first transfer. Similarly, a new value can be written to register 84 a at any time, but should preferably take effect in an upcoming data transfer. Also, the base word count preferably never expires. This is beneficial since a user need not reprogram the register 84 a if a subsequent transfer has the same length.
  • TABLE 3
    Exemplary Register Bitmap of Base Count Indicator
    C49 C48 C47 C46 C45 C44 C43 C42 C41 C40
    Cnt9 Cnt8 Cnt7 Cnt6 Cnt5 Cnt4 Cnt3 Cnt2 Cnt1 Cnt0
  • Reference is now made to Table 4, which includes an exemplary bitmap of those 6-bits (e.g., bits C61:C56) of the mode register 86 a representing the operation mode of the data transfer, by way of example.
  • TABLE 4
    Exemplary Register Bitmap of Mode Indicator
    C61 C60 C59 C58 C57 C56
    CMsk Imsk Vrt_ch Rollback Addr_rst Wrj
  • In Table 4, bit C61 represents a configuration mask (CMsk), which when set, disables the corresponding configuration. When the CMsk bit is disabled, the controller 30 a does not start a data transfer even if configuration data is loaded, the appropriate hardware requests are enabled, and the appropriate software commands are received by the controller 30 a. In one embodiment, controller 30 a is capable of generating an interrupt request (int_dma) signal 62 when a data transfer is completed. Bit C60 represents an interrupt mask (IMsk), which when set, will prevent the interrupt signal associated with the corresponding configuration at the end of a transfer. Preferably, controller Bit C59 represents a virtual channel mode is active or not. For example, when the Vrt_ch bit is set to 1, a transfer between a (source) device 0 and a (destination) device N−1 can be enabled. Otherwise, when the Vrt_ch bit is set to 0, the memory device 36 is either the source or destination device of the data transfer.
  • Still referring to Table 4, a rollback bit C58 can be implemented to facilitate the auto-rollback mode used with a sequential data transfer mode. The auto-rollback mode will be described subsequently with respect to FIG. 6C.
  • The address reset (addr_rst) bit C57 can be used with the sequential transfer mode. If this bit is set to 0 when a transfer is started, the base request address register 82 a should be set to the end address incremented by 1 after the transfer so that the chaining mode is undertaken. Otherwise, the base request address register 82 a remains unchanged so that the base address is not reset after a present data transfer is completed.
  • The Wij bit C56 indicates the type of data transfer operation. For example, when the upcoming data transfer is a WRITE access mode, (i.e., data transfer from devices 38, 40 to the memory device 36), the Wij bit is set to 1. When the upcoming data transfer is a READ access mode, the Wij bit is set to zero. The configuration data stored in the configuration register file 44 a is preferably programmable, as opposed to being fixed, and may be updated and loaded via an external device (e.g., 1410 of FIG. 24) using firmware upon initialization of system 10 a.
  • A. Sequential Operation Mode
  • In the sequential mode, consecutive blocks of data (i.e., contiguous) are transferred. The base word count register 84 a and the base request address register 82 a are preferably loaded with starting address information upon initialization of system 10 a. The value stored in the base word count register 84 a should remain the same after a data transfer is completed. Also, the base request address can remain unchanged after a data transfer. This type of data transfer operation mode is referred to as a fixed length mode, which is one type of a sequential operation mode.
  • Referring to FIG. 6A, one manner of selectably enabling multi-channel data transfer using a fixed length mode is shown, wherein the starting address 92 of a subsequent data transfer is reset to the original address 90 so that the subsequent transfer will begin from the same address as the present transfer. To implement this operation mode, the addr_rst bit C57 in the operation mode register 86 a is set to 1. Accordingly, both present and subsequent data transfers involve transferring the same block of memory. This method is beneficial where user programming is unavailable, so that the next transfer begins at the same address and lasts for a same length if the base request address register 82 a is selected to retain its existing value.
  • Alternatively, the base request address can be selected to be the address in which the subsequent data transfer ends incremented by one, so as to prepare for a subsequent (e.g., next) data transfer. To implement this type of sequential data transfer operation mode referred to as chaining mode, reference is made to FIG. 6B to illustrate that when an address reset (addr_rst) is not invoked, the next data transfer initiates after the ending address 94 of the present data transfer. Accordingly, this technique is referred to as a “chaining” transfer because each subsequent data transfer is initiated from the end of a present data transfer, thereby forming a chain of data transfers. The next transfer follows the present transfer and lasts for the same length. This method is advantageous because the base request address register 82 a is automatically refreshed without requiring user reprogramming.
  • Whether fixed length mode or chaining mode is selected from the configuration register file 44 a, the next transfer then uses one of the corresponding base request addresses described. By doing so, the information in the two registers 84 a, 82 a for the base word count and the base request address, respectively, will not expire.
  • Reference is now made to FIG. 6C to describe the auto-rollback mode, which is a type of sequential operation mode. With the auto-rollback mode, two addresses 96, 98 can be programmed in the configuration register file 44 a as upper and lower boundaries, respectively, of the address for the memory device 36. When the next address is selected to be transferred reaches the upper boundary address 98, a current address indicator automatically rolls back to the lower boundary address 96, preferably without user reprogramming. The auto-rollback mode may be implemented by setting the rollback bit C58. The auto-rollback mode is preferably enabled automatically by controller 30 without intervention of the bus and interrupt controller 26.
  • The auto-rollback mode is advantageous for preventing the processor 24 from being burdened with processing functions. Consequently, this enables the processor 24 to lend its attention to other more important tasks. Because the processor 24 is not directly involved in the data transfer, a processor 24 with a slower speed may be selected and will not necessarily impede the speed of the data transfer operations. Selecting a processor 24 with a slower speed is often useful for those applications that require low manufacturing costs of the corresponding application. Referring to FIG. 24 for example, with a DMA controller 424 representing the data bus controller 30 a, the DMA controller 424 receives compressed video data output from the VLC 450 and having a random pattern. The length and time of each transfer may be unknown. The configuration register file 44 a includes a specific configuration set for the VLC 450 to WRITE data to a buffer (e.g., a first-in-first-out FIFO buffer not explicitly shown) in controller 424. As the buffer fills up, if the auto-rollback mode is active, controller 424 would enable new data received at the end of the FIFO buffer to be loaded from the front of the FIFO buffer. This reduces the intervention of the XRISC bus and interrupt controller 418 and RISC processor 416. The auto-rollback mode is advantageous because it does not require that the processor 416 check the output of the VLC 450 in order to ascertain whether the upper limit of the buffer has been exceeded. Additionally, because the frequency of data transfer from the VLC 450 to the SDRAM 420 may be random, without the auto-rollback mode, additional computing (i.e., processing) power will need to be devoted to the data transfer task.
  • B. Multi-Segment Operation Mode
  • With the multi-segment mode, a specific amount of non-contiguous blocks of data (i.e., segments) are transferred amongst devices 38, and amongst devices 38 and the memory device 36. In one embodiment in accordance with the present invention, the multi-channel data bus controller 30 a is a multi-channel DMA controller (e.g., 424 of FIG. 24) having a multi-segment data transfer operation mode. Multi-segment data transfers comprise several segments of burst transfers typically of fixed length and aligned in segment spacing, that is, with the ending address of one segment adjacent to the starting address of the next segment.
  • Referring to FIG. 7, a frame 100 having multiple lines 102 of pixel data is illustrated. The multi-segment mode of data transfer is advantageous for transferring a block 104 of a frame 102. To this end, the multi-segment mode is well-suited for blocks of data transferred according to the MPEG standard. When encoding video frames, typically only several segments of data are of interest, for example, like those representing block 104. As block 104 is represented in a sequence of frames, the length of the segment and the spacing of the segment representing block 104 is typically fixed. One advantage of using the multi-segment mode is that a set of parameters may be specified at one time so that data may be automatically transferred, thereby resulting in cost savings in data transfer and processing time and with less intervention by the bus and interrupt controller 26.
  • Referring to FIG. 8, an illustration of a buffer layout for the multi-segment data transfer operation mode is shown. In comparison with the sequential mode, for a multi-segment mode, two additional parameters are used, namely segment spacing 130 (S11:S0 in Table 1) and segment count (Cnt3:Cnt0 in Table 1), as described with respect to multi-segment register 80 a. A multi-segment transfer begins at a base request address 131, that is the beginning address of the transfer. The segment spacing 130 generally represents the length of a line 102, as indicated in FIG. 7. For example, the length of the line may be: from the beginning address 114 of the block 104 on line 106 to the beginning address 116 of the block 104 on line 108; or from the ending address 118 of the block 104 of line 106 to the ending address 120 of the block 104 on line 108. The segment count 132 represents the number of lines to be transferred, for example 4 lines for the block 104 of FIG. 7. The base address preferably remains unchanged regardless of the addr_rst bit setting. The base word count 134 represents that part of the line being of interest, for example, from addresses 114 to 116 on line 106. In FIG. 7, the base word count represents the width of block 104 as demarcated by addresses 114 and 118. The base word count 134 can be implemented with the base word count register 84 a, previously described with reference to Table 3.
  • Following a first segment, data transfer continues at an address determined by the base request address 131 plus each segment spacing 130. Data transfer ends after all of the segments have been transferred. One aspect in accordance with the present invention is that the multi-segment mode does not require the specific starting and ending addresses for the data transfer, and the length of the transfer to be programmed as with conventional DMA controllers. Rather, a current word count register (e.g., 282, 284 described in FIG. 11) can be used to indicate the amount of total data to be transferred. Because only selected blocks of data that are of interest are transferred, one advantage of the multi-segment mode is that it avoids the need to transfer the entire set of data as with conventional data transfer techniques.
  • Without the multi-segment mode, conventional DMA controllers require reprogramming for four times the transfer of block 104, which typically entail setting 4 different configurations to transfer block 104. Referring back to FIG. 7 for example, if a 4×4 block of pixels is of interest during data transfer, using conventional DMA data transfer methods, parameters are ascertained as many times as the desired number of lines to transfer. This requires transmitting the entire 4 lines 106-112 of the frame 102. By not having to reprogram the controller 30 a for each line 102 when using the multi-segment mode when transferring data block 104, an overall improvement in the speed of operation during the data transfer process can be realized.
  • C. Virtual Channel Operation Mode
  • In general, the virtual channel operation mode entails data transfers amongst devices 38. A device (e.g., 0) to device (e.g., n−1) data transfer operation typically does not involve having controller 30 a access the memory device 36.
  • Referring to FIG. 9, a signal flow diagram illustrates the communication between devices 38 a and controller 30 a. As shown in FIG. 9, the device 0 transfers data to device n−1 according to the following method. To initiate the virtual data transfer, device 0 transmits 140 a READ request to controller 30 a, and device N−1 transmits 142 a WRITE request to controller 30 a. In general, these requests 140, 142 indicate to the controller 30 a that a data transfer is being requested between devices and does not involve access or communication with the memory device 36. In response, controller 30 a will access the particular entry in the configuration register file 44 a to determine a corresponding configuration for the device-to-device transfer being requested. The controller 30 sends 144, 146 an acknowledgment, READ_OK to device 0 and WRITE_OK to device N−1, respectively. In response, the two devices 0 and N−1 may then communicate 148 data with each other. The process entailing 144, 146 and 148, collectively referenced as 150 may include the data transfer for one unit of data, whether it be a word, segment, or block. Subsequently and as generally indicated by 152, more data can be read from device 0 and written to device N−1. For example, a source device can send 152 one clock of READ_OK, and a destination device can send 156 one clock of WRITE_OK to the controller 30 a, and thereafter begin transferring 156 data.
  • 2. Configuration Engine and Associated Control Elements
  • Referring to FIG. 10 one embodiment of a configuration engine 46 a will now be described. Configuration engine 46 a includes a data storage element 180, address storage element 182, current configuration indicator 184, configuration unit state machine 186, execution unit state machine 188, status indicator 189, an address generator 190, and an access indicator 191.
  • The control elements 48 of FIG. 4 include a selection element 192, mode generator 196, and logical operator 198. According to one implementation, selection element 192 comprises multiplexer, and mode generator 196 comprises a register
  • The operation of the configuration engine 46 a will now be described. The register representing the address storage element 182 temporarily buffers the Ctrl_Addr signal 50 that is received from the control bus 18. The address storage element 182 stores an address index that is provided to the selection element 192. Additionally, the selection element 192 receives an address corresponding to the current configuration data being reference in the configuration register file 44 a, namely signal 206 provides selection element 192 an index corresponding to the particular configuration which is to be executed by the configuration engine 46 a. The address index is transmitted to selection element 192 (e.g., a multiplexer), which is used to access the particular address location in the configuration register file 44 a for reading or writing the corresponding data temporarily buffered in the register for the data storage element 180. Signal line 202 provides an indication to the configuration unit state machine 186 of request to access the configuration register file 44 a
  • Selector 198 (e.g., OR gate) outputs an active WRITE signal which is used to select the particular entry in the configuration register file 44 a corresponding to the address provided from the multiplexer of selector 192. The output of selector 198 writes either the data received from the control bus or associated with the next transfer address to the configuration register file 44 a.
  • The configuration unit state machine 186 coordinates the access to the configuration register file 44 a being accessed by the control bus 20. Additionally, the execution unit state machine 188 receives the valid command pulse 64 b that is broadcast from the (scheduler) host device 28 after the schedule command 64 a, both signals being received by the configuration engine 46 a over the scheduling command bus 22. The execution state machine 188 also receives the READ or WRITE transfer requests 58 generated by the devices 38, 40 and sent to the multi-channel data bus controller 30 a, depending on the particular data transfer from particular devices. For example, those devices undertaking a data output transfer will generate a WRITE transfer request 58, while other devices undertaking a data input transfer will generate a READ transfer request 58.
  • The update signal 208 is associated with changing the mode of the data transfer (e.g., DMA transfer). For example, the beginning address of the next transfer should be the ending address of the present transfer. The update signal 208 generally functions to update the beginning address of the configuration register file 44 a after a transfer is completed. The configuration data 216 selected from the configuration register file 44 a is generally referenced as a D/Q signal to indicate the data-in/data-out relative to the memory device 36, and is forwarded to the address generator 90.
  • Mode generator 196 controls the behavior of a data transfer in general. Although not explicitly shown, the mode generator 196 receives configuration data from the configuration register file 44 a. Additionally, the load signal 212 is provided to the mode generator 196 so as to coordinate the output of a plurality of mode signals produced from the mode generator 196. These mode signals include a WRITE/READ (W/R) signal 218, a rollback signal 220 and an address reset (ADDR_rst) signal 222. In one embodiment, the mode generator may be implemented with registers that in general preserve the values of the configuration register file 44 a corresponding to the described modes. The RUN signal 224 indicates that data transfer is being undertaken, and is derived from the schedule command_valid signal 64 b and those requests 58 received from devices 38 in the nature of r_req 68 and w_req 66. When the RUN signal 225 is active, the address generator 190 counts up one address, and decrements a counter associated with the total length of data transfer.
  • The status indicator 189 generally identifies when an interrupt has occurred, and when the controller 30 a is busy with a data transfer. Table 5 indicates an exemplary bitmap of a 16-bit read/write register representing the status indicator 189, and having 5 transferring configuration indication bits and 5 interrupt status bits.
  • TABLE 5
    Exemplary Bitmap of Status Indicator Register
    D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
    IF BF dc TC4 TC3 TC2 TC1 TC0 dc dc dc IS4 IS3 IS2 IS1 IS0
  • Bit D15 represents an interrupt flag (IF) used to indicate that an interrupt of controller 30 a as occurred. Bit D14 is a busy flag (BF) used to indicate that a data transfer is in progress. This bit can be set when the controller 30 a receives all needed requests and begins transferring data, and can be cleared when the last_transfer signal 72 is received by controller 30 a. Bits D12:D8 are transferring configuration bits (TC4:TC0) used to indicate which configuration is associated with a present data transfer. Bits D4:D0 are interrupt status bits (IS) for controller 30 a configurations 31 to 0. When an end_of transfer signal 228 occurs for a specific configuration, the IS bits are set to the ending configuration. Reference is made to FIG. 23 illustrating a state diagram showing three exemplary states of the controller 30 a, namely IDLE 250, WRITE 252, and READ 254. The state diagram of FIG. 23 also indicates the process flow for collision retry 256, 258 that accommodates the arbitration of conflicts arising.
  • Access indicator 191 enables the configuration register file 44 a to have a larger bandwidth than the bandwidth of the control bus 18, generally by indexing portions of the configuration register file 44 a as follows. The configuration register file 44 a is mapped to the control bus address space. The bus and interrupt controller 26 can READ or WRITE the configuration register file 44 a at any time. Because the multi-channel data bus controller 30 a can modify the configuration register file 44 a when a data transfer is complete, an access indicator 191 is used to prevent the overwriting a configuration associated with an executing data transfer. Table 6 indicates an exemplary bitmap of a 15-bit register representing the access indicator 191.
  • TABLE 6
    Exemplary Bitmap of Access Indicator Register
    A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
    1 0 1 1 1 0 1 CH4 CH3 CH2 CH1 CH0 SA2 SA1 SA0
  • Bits A7:A0 represent the configuration numbers, namely 0 through 31. Bits A2:A0 represent the configuration sub-address SA2:SA0. The 64-bit configuration registers can be addressed as five 16-bit registers according to Table 7.
  • TABLE 7
    Access Partition of Configuration
    Access
    Register Effective Description of
    SA Bit Bits in Bit Effective Bits
    SA2 SA1 SA0 Value Range Range (Register)
    0 0 0 0 [15:0]  16 multi-segment
    register
    80a
    0 0 1 1 [31:16] 16 base address low
    0 1 0 2 [39:32] lower 5  base address high
    0 1 1 3 [51:40] lower 10 base count register
    84a
    1 0 0 4 [63:52] lower 12 mode register 86a
    1 1 1 7 na na start dma transfer
    by xp
  • FIG. 11 illustrates a detailed block diagram of one embodiment of an address generator 190 a, which provides a request address (Request_addr) 226, end of transfer signal 228, and end of segment signal 230 to memory controller 34. The Request_addr signal 226 informs the memory controller 34 of which physical address should be access in the memory device 36. The components of the address generator 190 a are initialized with data received from the configuration register file 44 a. The configuration data 216 of FIG. 10 is decomposed into the following signals being received by the address generator 190 a: segment spacing 242, upper limit 260, base count 262, segment count 264, base address 266, lower limit 268, and load configuration signal 270. Load configuration signal 270 is signal 212. Although not shown explicitly in FIG. 10, the load (SDRAM) signal 212 and run signal 224 are received by the address generator 190 a. The end-of-segment signal 230 will be valid at the end of the transfer of each segment for the multi-segment mode.
  • Address generator 190 a further includes a segment base address register 272 having feedback signal 274 that is used to generate the base address of a subsequent (e.g., next) segment by adding the base address to the segment spacing signal 242 via adder 276 to derive the beginning address of the next segment. The end-of-segment signal 230 is output from the address generator 190 a and fed-back to segment base address register 272.
  • Still referring to FIG. 11, the address generator 190 a includes a current address indicator 278 that provides the request address 226 to the memory controller 34. The current address can be increased by a value of one based on increment element 280. Reference is made to Tables 8-9 indicating an exemplary implementation of the current address indicator 278 comprising a 16-bit register and a 5-bit register that are used to form a 21-bit current request address. The current request address represents the current address of a transfer. For example, bits A15:A0 represent the low address word of the current request address which begins a 0x05. Bits A20:A16 represent the high address of the current request address. Unused bits are indicated with “don't cares (dc)”.
  • TABLE 8
    Low Address Word of Current Request Address
    D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
    A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
  • TABLE 9
    High Address Word of Current Request Address
    D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
    dc dc dc dc dc dc dc dc dc dc dc A20 A19 A18 A17 A16
  • A current word count represents the total number of data words to be transferred in the ongoing transfer. The current word count comprises two parts, the current base count represented by the base counter 282, and the current segment count represented by the segment counter 284 in FIG. 11. Table 10 indicates an exemplary register bitmap of the base counter 282 and segment counter 284.
  • TABLE 10
    Exemplary Bitmap of Current Word Count Register
    D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
    S3 S2 S1 S0 dc dc B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
  • In Table 10, bits D15:D12 represent the current segment count (S3:S0), which indicate how many segments and how many words are in a segment. Bits B9:B0 represent the current base count. Both the current segment count and the current base count are preferably automatically loaded in the address generator from the configuration register file 44 a when a transfer starts. The current base count is loaded with the value of the base word count register 84 a, while the current segment count is cleared to zero in sequential mode, or is loaded with the value of the segment count Cnt3:Cnt0 (Table 1) from the multi-segment register 80 a in multi-segment mode. As the data transfer is undertaken, the current word count is decreased once a data word is transferred. In sequential mode, the transfer ends when the value of the current base count decreases to zero. In multi-segment mode, the current base count is then reloaded with the value of the base word count, and the current segment count is decreased by one. Data transfer continues until all data words are transferred.
  • Address generator 190 a also includes multiplexers 286, 288, 290 selection combinational- logic 291, 292, 293, comparators 294, 295, 296, and other logic 297, 298, 299 (e.g., AND gate). It will become apparent to those skilled in the art that these components are an exemplary implementation of the described embodiments.
  • FIG. 12 illustrates a detailed block diagram of one embodiment of a memory controller 34 that provides an address 232 to the memory device 36, along with other signals to effectuate either a READ or WRITE to the memory device. These signals include column access strobe (CAS) 234, row access strobe (RAS) 236, write enable (WE) 238, and DQM (data-in/data-out mask) signal 240. The CAS 234 and RAS 236 signals are sent to the memory device 36 one part at a time over shared address lines; this enables a minimum number of address lines (e.g., 10-bits) to be used to access the memory device 36 which may have an address size (e.g., 20-bits). The minimization of address lines is well-suited for SOC applications. In general, the DQM signal 240 indicates whether to enable data-out functionality so that a READ from memory device 36 may be undertaken. By disabling data-out functionality, the DQM signal 240 implicitly indicates that the data-in functionality is active, so that a WRITE to memory device 36 may be undertaken. Table 11 lists exemplary signals for the CAS 234, RAS 236, WE 238 and DQM 240.
  • TABLE 11
    Exemplary Address Select Signals
    COMMAND RAS CAS WE DQM
    ROW ADDRESS SELECT Low High High Low
    COLUMN ADDRESS High Low High Low
    SELECT
    READ High Low High Low
    WRITE High Low Low Low
    REFRESH Low Low High dc
  • Memory controller 34 a also includes a memory command state machine 251, which receives the request address 226, end-of-transfer signal 228, W/R requests 218, and end-of-segment signal 230. Memory controller 34 a further includes a bank address selector 253 selects amongst multiple banks of memory locations associated with the memory device 36. Address register 255 buffers the request address 226 that is used to index the memory device 36. Modules 257, 259, 261, and 263 represent those combination logic required for generating the CAS 234, RAS 236, WE 238 and DQM 240 signals, respectively.
  • 3. Host and Device Buffer Interface Units
  • A. Control Bus Signals
  • In general, Bus Interface Units (BIU) 27 and 40 buffers bus signals between the devices and the control bus. According to the READ protocol, data is latched from the bus at a designated clock. According to the WRITE protocol, data should be put on the bus at a designated clock. Table 12 list various signals and their definitions. Particular implementations of BIU 27 and 40 will be described subsequently.
  • TABLE 12
    Control Bus Signal Definitions
    Ctrl_addr 50 c-bus address, full address [bits 14:0]
    Ctrl_rd 53 c-bus read signal
    Ctrl_ale 55 c-bus address latch enable signal
    Ctrl_we 54 c-bus write enable signal
    Ctrl_data
    52 tristate Data of the c-bus
    Ctrl_io_ready
    56 signal indicating that the I/O cycle has finished
    last_transfer 72 indicates a last transfer of the current burst
    dev_sel device selected
  • The control address (Ctrl_addr) signal 50 indicates the full address using 15-bits, namely 14:0. The Ctrl_rd signal 53 has a value in the Ctrl_ale 55 cycle that indicates the type of the I/O cycle. For example, if the Ctrl_rd signal 53 is valid, the I/O cycle will be a READ. If the Ctrl_rd signal 53 is not valid, the I/O cycle will be a WRITE. The Ctrl_ale signal 55 is an address validation signal, wherein a valid Ctrl_ale signal 55 indicates that a current cycle in an address latch enable cycle. In a control bus WRITE cycle, the Ctrl_we signal 54 will be set to valid by the data bus controller within the same clock (i.e., Mclk 2 phase) with WRITE data. Devices 38 can use the Ctrl_we signal to latch the WRITE data. The Ctrl_data 52 indicates the tristate data of the control bus, which is 16-bits by way of example. The Ctrl_io_ready signal 56 is driven by the accessed device. The device can hold this signal invalid until the READ data is completed. In the WRITE cycle, the I/O will finish in two clock phases, whereupon this Ctrl_io_ready signal is then ignored. In a fixed length mode, when a device 38 transmits a last_transfer 72 signal to controller 30 a, this last_transfer signal 72 indicates that the current Ctrl_io_ready 56 transfer will be the last transfer of the current burst. This last_transfer signal 72 is driven by the controller 30 a, which stops the present data transfer operation. This is beneficial over the conventional DMA controllers using fixed lengths transfers because it eliminates the requirement to poll the devices 38 to ascertain the amount of data to be transferred and in response, to program controller 30 a with the polled information in order to configure the controller 30 a with the fixed length data to be transferred from the device 38. This requires the intervention of the processor, which increases the processing cost of the data transfer operation. With the present invention, the controller 30 a does not need to receive the fixed length of data from the devices 38, but will use the last transfer signal 72 as an indicator to adjust the corresponding base word count indicator.
  • In the situation where there is a single word transfer, the last_transfer signal 72 remains active. With the dev_sel signal, centralized decoding logic can be used to provide this device selected signal when accessing the assigned device address.
  • B. Control Bus Protocol
  • Reference is now made to the timing diagram 300 of FIG. 13 to describe the control bus protocol. Throughout FIG. 13, reference will be made to a “host device”, representing the bus and interrupt controller 26 which is functioning as a master device communicating with the various “client devices” in the nature of the devices 38 and the multi-channel data bus controller 30 a. Although the client devices may be any of the devices 38 and controller 30 a, in the following discussion, reference to the client device is intended to refer to the multi-channel data bus controller in order to avoid obscuring the invention with unnecessary details. The control bus protocol includes a WRITE cycle 302 and a READ cycle 304. Each of these cycles 302, 304 can be further divided into phases as described below.
  • For a WRITE cycle 302, the first phase is generally an address phase 306. Following the address phase 306 is the data phase 308. For single word WRITE access, there is typically one data phase 308. By contrast, for a burst word operation, the total number of data phases 308 can be four, eight, sixteen, all typically ending the WRITE cycle 302 with a valid last_transfer signal 72.
  • For a READ cycle 304, the first phase is an address phase 310. Following this address phase 310 are data phases 312, 314, 316, where a corresponding client device will drive data 314 with an active 318 (valid) Ctrl_io_ready signal 56. Alternatively, the client device can drive data 316 with a valid Ctrl_io_ready signal 56, which indicates that the client device is capable of driving the Ctrl_data signal 52 at one or more of the data phases 316, 318 as shown in FIG. 13. Although only a few data phases 312, 314, and 316 are shown in FIG. 13, it will be appreciated that with the READ cycle 304, there can be one, four, eight, and sixteen data phases, by way of example, all typically ending the READ cycle 304 with an active last_transfer signal 72 transmitted to the client device.
  • The address phases 306 and 310 in the respective cycle are each indicated as being valid 322, 324, respectively, based on the host address latch enable (Host_ALE) signal 61 from the bus and interrupt controller 26. The Host_ALE signal 61 is valid 322, 324 preferably for one clock phase. In the address phases 306, 310 of the READ, WRITE access cycles, respectively, the multi-channel data bus controller 30 a drives 326, 328 the address bus (Host_addr) 63 for the input or output (I/O) address that the respective READ cycle 302 or WRITE cycle 304 will access. The controller 30 a also indicates whether the cycle 302, 304 is a READ or a WRITE cycle, respectively, by asserting a data bus READ (Host_Rd) signal 65. If the Host_Rd signal 65 is a logical 1, as indicated by 330, the I/O cycle is deemed to be a READ cycle 304. Otherwise, if the Host_Rd signal 65 is a logical 0, as indicated by 332, the I/O cycle is deemed to be a WRITE cycle 302. If the I/O cycle is a WRITE cycle 302, controller 30 a will drive the host write enable (Host_WE) signal 67 to be valid 334, as well as WRITE data 336 onto the Host_Data line 69, which typically is a tristate bus. The client device is capable of buffering the WRITE data 336 and will complete this operation in the next clock 310. In the situation where a burst WRITE occurs, the WRITE cycles 302 are preferably consecutive, and the starting address is preferably aligned. The data bus controller 30 typically ignores 336 the Ctrl_io_ready signal 56 during a WRITE cycle 302. The Device.OE signal 51 represents an operational enable signal indicating that the client device is operational.
  • In the data phase (e.g., 314) of a READ cycle 304, the client device addressed will drive the READ data 338 onto the tristate data bus, along with a valid Ctrl_io_ready signal 318. The client device may similarly drive the READ data 340 on the data bus in another data phase 340 along with a corresponding valid Ctrl_io_ready signal 320. It follows that a data phase 312 occurring with an invalid Ctrl_io_ready signal 342, 344 should preferably be deemed as an invalid data phase. The client device can then use the invalid Ctrl_io_ready signal 344 to hold the READ cycle 304 for up to the maximum number of clocks in the cycle (e.g., 15 clocks). Any delay larger than this maximum number should cause a time-out I/O error in the multi-channel data bus controller 30 a, which can be treated as a non-recoverable hardware interrupt, to which a global reset should be undertaken. In the situation of a burst READ cycle, the data phases may be four, eight and sixteen phases, either consecutive in one embodiment or non-consecutive in an alternate embodiment. Preferably, the starting address is aligned.
  • C. Host Buffer Interface Unit for Bus & Interrupt Controller
  • FIG. 14 illustrates an exemplary implementation of a host BIU 27 a, that is a part of the bus and interrupt controller 26. BIU 27 a includes an address & WE/RD# register 350, a delay element 352, host output data register 354, output buffer 356, delay element 358, and host input data register 360.
  • Both the READ cycle 302 and WRITE cycle 304 are preferably initiated by the controller 26, upon which controller 26 will take ownership of the control bus 18. Both the READ and WRITE cycles 302, 304, respectively, are preferably non-interruptible in the controller 26, that is, once the controller 26 issues 322, 324 an ALE signal 61, there should be a guarantee that the WRITE cycle 302 and the READ cycle 304 should each end in their corresponding predetermined number of phases.
  • By way of example, if the WRITE cycle 302 has two phases, and the READ cycle 304 has three phases, in the WRITE cycle 302, the host will first drive 322, 326 the ALE signal 61, W/R# signal 71, and the Addr signal 63. The ALE signal 61 will be valid 322 for one clock. The W/R# signal 71 and Addr signal 63 will be valid 326 until the next cycle (whether it is a READ or WRITE) begins with another ALE signal 61. In the next cycle, the host will drive 334 the WE signal 67 valid, and drive 336 the data 65 onto the data bus 20 for one clock. Because the controller 26 will release 337 the data bus in the next clock, the addressed client device must latch the data in this clock. The WRITE cycle 302 ends after this clock, 310.
  • The READ cycle 304 includes outputting 328 the address 63, indicating 330 the cycle type being a READ cycle, waiting for one clock 312, and loading 338 the host input data register.
  • Both the READ and WRITE cycles are preferably uninterruptible, and after these operations, the data in the output data register is already written to the client device. The input data register holds the data read from the client device. Because after a READ cycle 304, the controller 26 may be interrupted before it uses the data in the input data register, the interruption service should preferably save (e.g., push) the input data register, and restore it upon return from the interrupt. Further details about the operation of BIU 27 a are described in the previously incorporated U.S. application Ser. No. 10/033,857.
  • D. Device Buffer Interface Unit for Multi-Channel Data Bus Controller
  • FIG. 15 illustrates an exemplary implementation of a BIU 40 a, that is a part of the multi-channel data transfer controller 30 a and the devices 38. BIU 40 a generally functions as the client BIU communicatively coupled to the host BIU 27 a. BIU 40 a includes an address & WR/RD# buffer 370, a state machine 372, a input buffer 374, and output buffer 376, and a tristate latch enable buffer 378. The operation of BIU 40 a is described in the previously incorporated U.S. application Ser. No. 10/033,857.
  • 4. General Operation of Data Transfer Operation
  • The data transfer in accordance with the present invention can be initiated using a set of parameters stored in the configuration register file 44 a either by hard-wired request from the scheduler 28, or by a software start command.
  • To start the data transfer by hard-wired request, the scheduler 28 preferably provides the number of the configuration to the scheduling bus 22 with an asserted schedule command valid signal. FIG. 16 illustrates a signal flow diagram and chart detailing the operation of how a channel is established in accordance with one aspect of the present invention. In order for a device 38 to access the memory device 34 in either a READ or WRITE data transfer, the scheduler 28 broadcasts a schedule command 64 a and a valid command 64 b as described in detail in the previously incorporated U.S. application Ser. No. 10/033,857. These commands 64 a, 64 b indicate a start of channel 1, by way of example. In response, the controller 30 a loads 380 the channel configuration data into the configuration register file 44 a. Also, the requesting device 38 preloads 382 and initializes either a READ or WRITE request command for memory device 36. The device sends 384 a W/R transfer request 58 to controller 30 a, which in turn parses request 58 into a wreq 66 or a rreq 68 as seen in FIG. 4. Once the controller 30 a receives 386 the W/R request, the configuration register file is accessed to activate 388 the channel for the data transfer, and the data transfer is undertaken 390. After the last_transfer signal 72 is received by the controller from the device 38, the controller 30 a sends 392 a transfer_ok signal 74 to the device 38. It is noted that the transfer_ok signal 74 can be used to indicate the completion of data read from a memory device to another device, or of data written to a memory device, by way of example. The controller 30 a then transmits 394 a control command to the memory controller 34.
  • To start the data transfer by software command, the bus and interrupt controller 26 preferably issues a WRITE to the configuration register file 44 a with the corresponding configuration number on CH4:CH0 in Table 6. The multi-channel data bus controller 30 a then awaits the request from the participating devices 38, and starts the transfer as soon as the request(s) are valid.
  • FIG. 17 is a timing diagram of WRITE and READ requests transmitted from a device 38.
  • FIG. 18 is a timing diagram of a READ transfer being initiated. The Start_dma signal represents the schedule command signal and the DMA configuration (DMA_conf) signal represents the schedule valid signal broadcast by the scheduler 26 as described in the previously incorporated U.S. application Ser. No. 10/033,857. The valid_xfr_rd signal is generated by the controller 30 a for a READ transfer, and when active, there should be valid data read from the memory device 36 to the data bus 20.
  • FIG. 19 is a timing diagram of a WRITE transfer being initiated. The valid transfer write (Valid_xfr_wr) signal becomes active two clocks before the data is WRITTEN to the memory device 36. This allows other devices 38 to prepare data for the transfer.
  • FIG. 20 is a timing diagram of the end of a READ transfer. When the READ transfer is completed, the Valid_xfr_rd signal goes low, and the interrupt dma (int_dma) signal goes high, unless a mask of the interrupt request is activated. The bus and interrupt controller 26 writes an interrupt command to the controller 30 a to reset the signal, as discussed in Table 5 with IF bit of the status indication register.
  • FIG. 21 is a timing diagram indicating a READ transfer being interrupted by a page boundary or a DRAM refresh. This type of interruption typically occurs when the access to the memory device 36 is interrupted due to the break in cycles when accessing amongst the row and column access strobes of the memory device. Similarly, FIG. 22 is a timing diagram indicating a WRITE transfer being interrupted by a page boundary or a DRAM refresh.
  • It is noted that the previously described embodiments reference exemplary implementations being well-suited to work with a variety of data being transferred amongst devices in a system 10.
  • One Embodiment of a Video Processing System Including a System for Selectably Enabling Multi-Channel Data Transfer Operation and Access Modes
  • FIG. 24 illustrates one implementation of the system 10 for selectably enabling multiple-channel (multi-channel) data transfer operation and access modes applied to a video processing system 400 in order to perform video compression of moving images as part of an encoding process. The multiple-channel data transfer operation and access modes are advantageous for controlling the transfer of raw (e.g., compressed) data in the nature of video images. By way of example, these video images are typically associated with frame sizes of 720×480 (PAL) and 704×576 (NTSC) at same bit rate, and blocks of 4×4, 9×9, and 16×16 pixels.
  • In the implementation of FIG. 24, system 400 includes a processor-based platform 402 (back end sub-system 402), and a front end sub-system 404. Data from source 406 is received by an audio/visual (A/V) interface 408. The front-end sub-system 404 includes function blocks to provide the data processing method for video compression. The back-end sub-system 402 provides the data and control information traffic as well as the overall control and scheduling for the function blocks of the front end sub-system 404. The back end sub-system 402 also provides the communication and data stream output to the external host 410.
  • The AV interface 408 is synchronized with a pixel clock PCLK (not explicitly shown), which may be operating at a low frequency, like 27 MHz by way of example. A data (pixel) bus 412 allows the transfer of pixel data from the source 406 to the AV interface 408. Every clock cycle, a pixel can be input through the pixel bus 412 with a valid pixel signal. Those skilled in the art will recognize that the input timing can be controlled by horizontal and vertical synchronize signals. A control bus 411 and a scheduler command bus 413 communicatively couple the front end 436 to the back end 402.
  • The source 406 may be a multitude of devices that provide a digitized video bit stream (data stream), like for example, from a Complementary Metal Oxide Semiconductor (CMOS) device or Charge Coupled Device (CCD) sensor (with or without glue logic) like that used in a digital camera and PC camera. Other types of source devices that may work suitably well with the present invention, include by way of example, the Philips® 711x video digitizer and processor chip. By way of background information, in a digital camera, CCDs can be analogized to operating like film. That is, when they are exposed to light, CCDs record the intensities or shades, of light as variable charges. In the field of digital cameras, the charges are converted to a discrete number by analog to digital converters. It will be recognized that other types of sources capable of generating a digitized video bit stream may work suitably well with the present invention, including sources in the nature of a personal video recorder, a video-graphics capture and processor board, and a digital CAM recorder.
  • In general, source 406 generates an uncompressed video data bit stream 414, which may be of multiple formats. By way of example, the format of data stream 414 can comply with the CCIR (Consultative Committee for International Radio, now ITU-R) 601 recommendation which has been adopted worldwide for uncompressed digital video used in studio television production. This standard is also known as 4:2:2. Also, data stream 414 may be the parallel extension standard, namely CCIR 656 with PAL and NTSC, which had been incorporated into MPEG as the Professional Profile. CCIR 656 sets out serial and parallel interfaces to CCIR 601. Other suitable video formats include: YUV 4:2:2 interlace; 8-bit YUV with Vsysnc/Hsysnc/Fodd or Vref/Href format, interlace and progressive; 10-bit RGB Bayer with Vsysnc/Hsync CMOS sensor format. The support size can vary from 352×288 to 720×480 (30 fps) or 720×576 (25 fps), while the support input frame rate can vary from 10 fps to 30 fps. It is noted that these values are provided by way of example, and that the invention is not limited to these formats and parameters, but may work suitably well with other types of formats and parameters. When data stream 414 includes an audio component, the format of the data stream could also be in IIS (inter IC signal) format. Of course, the appropriate IIS data rates, which typically are at speeds of several Mbits/second, may be selected for transferring audio data. It will be appreciated that CCIR 656 and IIS are only examples of possible digital data formats, and that other formats are equally possible. A/V interface 408 includes necessary ports and circuitry to receive the incoming (video and/or audio) signals and to buffer data from such signals.
  • The base platform 402 is preferably a general microprocessor-based computing system. In one implementation, the electronics of platform 402 are implemented as a single ASIC incorporating a processor 416, a system controller 418, memory device 420, memory device controller 422, a multichannel (e.g., Direct Memory Access DMA) controller 424, an input/output (I/O) interface 426, a scheduler host device 428, and an extensible program interface 430.
  • Exemplary applications suitable for the incorporation of system 400 include digital video recorders, remote video surveillance systems, video capture boxes, small portable handheld devices such as digital cameras, multimedia-enabled cellular phones and personal digital assistants (PDAs), and other media-based devices and appliances. The (XRISC) bus and interrupt controller 418 handles the workflow of the data and control signals for the computing processes of CPU 416, including for example, handling hardware and software interrupts, as well as those I/O signals generated.
  • Memory device 420 may be any suitable computer memory device for storing picture data, such as a video random access memory (VRAM), dynamic RAM (DRAM) device, or SDRAM under the control of memory device controller 422. Memory device 420 is shown as being external to platform 402 in FIG. 15, but may be integrated into platform 402 in other embodiments of system 400. In one embodiment where memory device 420 is a DRAM, controller 422 is selected to be a corresponding DRAM controller performing the physical transfers of data between the memory device 420 and the multichannel controller 424. In this embodiment, controller 424 may be a DMA controller selected to accommodate any suitable number of DMA channels used to transfer the retrieved video data into packed pixel format or planar bit maps, for example, from the memory device 420 to each data block for processing by the MEC engine 432. Table 13 list exemplary indicates exemplary multiple channel DMA organization parameters, which can be preprogrammed independently for the start address, burst length, and burst mode registers.
  • TABLE 13
    Exemplary DMA Channel Organization
    DMA Address
    Channel Description Generator Source Destination
    DMA Raw video data Video Input Video Input DRAM input
    channel
    0 input Processor (VIP) Processor frame buffer
    (VIP)
    DMA Macro-block MEC data MEC_DCT DRAM input
    Channel
    1 data to be streamer SRAM frame buffer &
    encoded and reference
    reconstructed frame buffer
    reference frame
    DMA Encoded stream VLC stream Q/Q−1_VLC DRAM stream
    Channel
    2 output & address SRAM buffer, DRAM
    Constant table generated by Constant table space
    loading the VLC bit-
    rate controller,
    Loading address
    generated by
    XRISC
    DMA Output Stream XRISC DRAM I/O output
    Channel
    3 stream buffer FIFO
  • Extensible program interface 430 enables data to be loaded into system 400 from flash memory device 434.
  • The video processing system 400 includes several devices to be controlled by the scheduler host device 428. These devices include MEC engine 432, a compression engine 436, a memory controller engine 438, and the external host 410. MEC engine 432 includes a motion estimation and motion compensation array 440, stream buffer 442 and SRAM 444. Compression engine 436 includes a discrete cosine transform (DCT) and inverse DCT (IDCT) module 446, a quantizer and dequantizer module 448, a variable length coding (VLC) encoder 450, and buffers such as block SRAMs 452, 454. Additional details of the video compression techniques for video processing system 400 are disclosed in: (1) U.S. application Ser. No. 09/924,079, entitled “Cell Array and Method of Multiresolution Motion Estimation and Compensation,” filed Aug. 7, 2001, the subject matter of which is hereby incorporated by reference in its entirety; and (2) U.S. application Ser. No. 09/924,140, entitled “DCT/IDCT With Minimum Multiplication,” filed Aug. 7, 2001, the subject matter of which is hereby incorporated by reference in its entirety.
  • In general, the scheduler host device 428 generally functions as a timing mechanism enabling the scheduling and synchronization of operations and data transfers that are intended to be performed by particular ones of the devices 432, 436, 438, and 410, by way of example. Exemplary operations and data transfers can include performing motion estimation and compensation, discrete cosine transforms, inverse discrete cosine transforms, quantization, inverse quantization, variable length coding encoding, direct memory access control, the loading of predetermined data and firmware by the external host 410.
  • For example, where the MEC engine 432 needs to share on-chip SRAM with other modules (e.g., DCT/IDCT 446), programmable scheduler host device 428 coordinates the operation of various modules and processes in system 400 in a manner as already described. The commands issued by the scheduler host device 428 as part of the back end sub-system enables the synchronization of devices, such as 432, 436, 438, and 410 to accomplish the video compression and encoding tasks. For example, in accordance with one embodiment of the present invention, MEC engine 38 interfaces with an external DRAM 420 to obtain picture data and to store processed picture data over databus 412. Picture data read from the DRAM 420 is received by the array 440 from the SRAM 444. The array 440 is enabled to perform calculations on the data received, and because stream buffer 442 functions as a programmable cache, contemporaneous with such array processing, additional data can be pre-loaded from DRAM 420 into the SRAM 444 for the next set of processing operations. Stream buffer 442 thus enables the MEC array 440 to perform motion estimation processing and when the array 440 is not accessing the stream buffer 442, the stream buffer can pre-fetch data from the memory device 420 for the next MEC operations in parallel. The operations and data transfers necessary to accomplish the MEC processing are exemplary of the event commands and time-tags that can be controlled and synchronized by the scheduler host device 428.
  • Those skilled in the art will recognize that the blocks of FIG. 24 are functional blocks that may be implemented either by hardware, software, or a combination of both. Given the functional description of these blocks, those of ordinary skill in the art will be able to implement various components described using well-known combinational and/or sequential logic, as well as software without undue experimentation. Those skilled in the art will appreciate that the present invention is not limited to the video compression system described above, but is applicable to any video processing system.
  • FIGS. 25-26 are illustrations of various exemplary video processing applications in which the video processing system 400 incorporating the system 10 of the present invention will work suitably well. Such applications include a high quality PC video camera 462 used for video conferencing or as a video recorder. Another application includes video capture boards 464, which may be enabled with MPEG-1, MPEG-2, MPEG-4, H.263 and H.261 capability. Yet another application includes a video capture box 466 which may be enabled with MPEG-1, MPEG-2, MPEG-4, H.263 and H.261 capability, by way of example. Video capture boxes 466 can also be used for time shifting purposes. Still another application comprises an IP (Internet Protocol)-based remote video surveillance system 468 outputting MPEG-1, MPEG-2, MPEG-4 or other type of video format.
  • In FIG. 26, other applications that are well-suited for video processing system 10, include the following: (1) high quality video cameras 470 with full D1 broadcasting quality; (2) personal digital assistants 472 operable as a video camera or as a visual communication device; (3) mobile visual communication devices 474; (8) portable wireless telephones 476 enabled to operate with visual communication by MPEG-4 over CDMA; and (9) personal video recorders (PVRs) 478 also known as digital video recorders (DVRs), and STB, along with other devices providing a home video gateway, visual conferencing and multimedia communication. It will be appreciated by those skilled in the art that the above-mentioned types of applications are only examples, and that the present invention works suitably well with a wide variety of applications. For example, the present invention may be used with the appropriate wireless communication medium (e.g., radio frequency signals, infrared signals) for wireless transmission of signals.
  • The system 10 can be implemented with the particular hardware implementations described by way of example. However, even though the system 10 has been described with respect to the specific architecture disclosed, it will be appreciated that the system 10 of the present invention may work suitably well with other architectures of video processing systems. Further, the system for selectably enabling multi-channel data transfer modes has a wider application than the video processing techniques described herein. Similarly, the application of the present invention is not limited to only performing the sequence of steps described in figures presented. Those skilled in the art will understand that the system 10 may operate suitably well with other sequences of steps and functions to provide data processing in other applications.
  • Although the invention has been described in considerable detail with reference to certain embodiments, other embodiments are possible. As will be understood by those of skill in the art, the invention may be embodied in other specific forms without departing from the essential characteristics thereof. Accordingly, the present invention is intended to embrace all such alternatives, modifications and variations as fall within the spirit and scope of the appended claims and equivalents.

Claims (10)

1. A system for transferring data between a source device communicatively coupled to a destination device, comprising:
coupled to the source and destination devices, means for selectively enabling multiple channel data transfer modes between the source device and the destination device;
wherein a data transfer mode is selected from a group of the multiple channel data transfer modes comprising fixed length single burst mode, a chaining mode, an auto-rollback mode, a virtual channel mode, and a multiple-segment mode.
2-4. (canceled)
5. The system of claim 1 further comprising the source device and the destination device.
6. A method for selectably enabling multiple data transfer modes between devices and storage elements in a video processing system, comprising:
initiating a data transfer between components of the video processing system;
selecting a channel capable of facilitating the data transfer;
selecting an operation mode in which the channel will operate, wherein available operation modes include a multi-segment operation mode for transferring noncontiguous blocks of data; and
enabling the data transfer to be performed at one or more transfer rates using the selected channel and operation mode.
7. The method of claim 6, wherein available operation modes further include at least one of a fixed length single burst mode where each data transfer begins at a common address and lasts for a common length, and a chaining mode where each subsequent data transfer is initiated from the end of a present data transfer so as to form a chain of data transfers.
8. The method of claim 6, wherein available operation modes further include an auto-rollback mode where upper and lower boundary addresses are provided so that when a next data transfer address reaches the upper boundary address, a current address indicator automatically rolls back to the lower boundary address.
9. The method of claim 6, wherein responsive to the multi-segment operation mode being selected, the method further includes transferring a block of a video frame.
10. The method of claim 6, further comprising:
determining a segment count indicator and a segment spacing indicator from operational characteristics associated with the data transfer.
11. The method according to claim 6, further comprising:
determining a base address representing a starting address of a first data segment; and
selecting a starting address of a subsequent data segment to be an address determined from the base address offset based on a segment count indicator and a segment spacing indicator.
12-20. (canceled)
US12/195,188 2001-07-31 2008-08-20 Multiple channel data bus control for video processing Abandoned US20080313357A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/195,188 US20080313357A1 (en) 2001-07-31 2008-08-20 Multiple channel data bus control for video processing

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US30923901P 2001-07-31 2001-07-31
US10/033,324 US6981073B2 (en) 2001-07-31 2001-11-02 Multiple channel data bus control for video processing
US11/303,115 US7430621B2 (en) 2001-07-31 2005-12-16 Multiple channel data bus control for video processing
US12/195,188 US20080313357A1 (en) 2001-07-31 2008-08-20 Multiple channel data bus control for video processing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US11/303,115 Continuation US7430621B2 (en) 2001-07-31 2005-12-16 Multiple channel data bus control for video processing

Publications (1)

Publication Number Publication Date
US20080313357A1 true US20080313357A1 (en) 2008-12-18

Family

ID=34991470

Family Applications (3)

Application Number Title Priority Date Filing Date
US10/033,324 Expired - Fee Related US6981073B2 (en) 2001-07-31 2001-11-02 Multiple channel data bus control for video processing
US11/303,115 Expired - Fee Related US7430621B2 (en) 2001-07-31 2005-12-16 Multiple channel data bus control for video processing
US12/195,188 Abandoned US20080313357A1 (en) 2001-07-31 2008-08-20 Multiple channel data bus control for video processing

Family Applications Before (2)

Application Number Title Priority Date Filing Date
US10/033,324 Expired - Fee Related US6981073B2 (en) 2001-07-31 2001-11-02 Multiple channel data bus control for video processing
US11/303,115 Expired - Fee Related US7430621B2 (en) 2001-07-31 2005-12-16 Multiple channel data bus control for video processing

Country Status (1)

Country Link
US (3) US6981073B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080177909A1 (en) * 2007-01-24 2008-07-24 Kevin Allen Sapp Content Terminated DMA
US20080228999A1 (en) * 2007-03-16 2008-09-18 Shekoufeh Qawami Dual use for data valid signal in non-volatile memory
US20100198947A1 (en) * 2009-02-04 2010-08-05 Raytheon Company System and Method for Dynamically Processing Electronic Data Between Multiple Data Sources
US20100245148A1 (en) * 2009-03-31 2010-09-30 Stmicroelectronics S.R.I. Analog-digital converter and corresponding system and method
US20110113167A1 (en) * 2009-11-10 2011-05-12 Lee Douglas C Command Queue for Peripheral Component
WO2013032816A1 (en) * 2011-08-30 2013-03-07 Apple Inc. High priority command queue for peripheral component
US8473615B1 (en) 2008-05-20 2013-06-25 Verizon Patent And Licensing Inc. System and method for customer provisioning in a utility computing platform
US8484355B1 (en) * 2008-05-20 2013-07-09 Verizon Patent And Licensing Inc. System and method for customer provisioning in a utility computing platform
US20130208796A1 (en) * 2012-02-15 2013-08-15 Amichay Amitay Cache prefetch during a hierarchical motion estimation
US8966133B2 (en) * 2012-11-16 2015-02-24 International Business Machines Corporation Determining a mapping mode for a DMA data transfer
US8984179B1 (en) 2013-11-15 2015-03-17 International Business Machines Corporation Determining a direct memory access data transfer mode
CN105373496A (en) * 2014-08-18 2016-03-02 瑞萨电子株式会社 Microcomputer
US20190102299A1 (en) * 2017-10-04 2019-04-04 Intel Corporation Systems, methods and apparatus for fabric delta merge operations to enhance nvmeof stream writes

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4477877B2 (en) * 2001-12-03 2010-06-09 エヌエックスピー ビー ヴィ Communication bus system
US20050165990A1 (en) * 2003-01-24 2005-07-28 Fujitsu Limited Interrupt control device
US7124323B2 (en) * 2003-06-18 2006-10-17 International Business Machines Corporation Method, system, and program for recovery of a reverse restore operation
US8427494B2 (en) * 2004-01-30 2013-04-23 Nvidia Corporation Variable-length coding data transfer interface
JP2005250683A (en) * 2004-03-02 2005-09-15 Renesas Technology Corp Microcomputer
US7096297B2 (en) * 2004-03-19 2006-08-22 International Business Machines Corporation System and method for delaying an interrupt request until corresponding data is provided to a destination device
US7159046B2 (en) * 2004-06-29 2007-01-02 Intel Corporation Method and apparatus for configuring communication between devices in a computer system
US20060026308A1 (en) * 2004-07-29 2006-02-02 International Business Machines Corporation DMAC issue mechanism via streaming ID method
WO2006024193A1 (en) * 2004-08-30 2006-03-09 Magima Digital Information Co., Ltd. Method and system for data transfer
JP2006270744A (en) * 2005-03-25 2006-10-05 Orion Denki Kk Recording/reproducing apparatus equipped with reserved transfer function
JP4836488B2 (en) * 2005-05-09 2011-12-14 株式会社東芝 Data transfer device and semiconductor integrated circuit device
US20070011432A1 (en) * 2005-07-06 2007-01-11 Advanced Micro Devices, Inc. Address generation unit with operand recycling
JP2007179255A (en) * 2005-12-27 2007-07-12 Toshiba Corp Communication device and communication control method
US20070236582A1 (en) * 2006-03-29 2007-10-11 Imaging Solutions Group Of Ny, Inc. Video camera with multiple independent outputs
EP2005214A4 (en) * 2006-03-30 2012-04-18 Given Imaging Ltd In-vivo sensing device and method for communicating between imagers and processor thereof
US20080056381A1 (en) * 2006-08-30 2008-03-06 Chih-Ta Star Sung Image compression and decompression with fast storage device accessing
US8726125B1 (en) 2007-06-06 2014-05-13 Nvidia Corporation Reducing interpolation error
US8725504B1 (en) 2007-06-06 2014-05-13 Nvidia Corporation Inverse quantization in audio decoding
US8477852B2 (en) * 2007-06-20 2013-07-02 Nvidia Corporation Uniform video decoding and display
US8849051B2 (en) * 2007-09-17 2014-09-30 Nvidia Corporation Decoding variable length codes in JPEG applications
US8502709B2 (en) * 2007-09-17 2013-08-06 Nvidia Corporation Decoding variable length codes in media applications
US8934539B2 (en) * 2007-12-03 2015-01-13 Nvidia Corporation Vector processor acceleration for media quantization
US8704834B2 (en) * 2007-12-03 2014-04-22 Nvidia Corporation Synchronization of video input data streams and video output data streams
US8687875B2 (en) * 2007-12-03 2014-04-01 Nvidia Corporation Comparator based acceleration for media quantization
US9307267B2 (en) * 2008-12-11 2016-04-05 Nvidia Corporation Techniques for scalable dynamic data encoding and decoding
US8041855B1 (en) * 2009-01-27 2011-10-18 Xilinx, Inc. Dual-bus system for communicating with a processor
US8589600B2 (en) * 2009-12-14 2013-11-19 Maxeler Technologies, Ltd. Method of transferring data with offsets
JP2015049832A (en) * 2013-09-04 2015-03-16 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, device, and program for reducing constant load overhead
DE102015016716A1 (en) * 2015-12-22 2017-06-22 Giesecke & Devrient Gmbh Method for transmitting transmission data from a transmitting device to a receiving device for processing the transmission data and means for carrying out the method
CN106597920B (en) * 2016-11-16 2019-07-26 西安电子科技大学 Control system based on NIOS embeded processor control HPI interface
JP7252821B2 (en) * 2019-04-17 2023-04-05 キヤノン株式会社 Recording device, recording method, program, and memory card
US10642766B1 (en) * 2019-07-15 2020-05-05 Daniel Kilsdonk Facilitating sequential data transformations via direct memory access
US11176069B2 (en) * 2020-01-03 2021-11-16 Apple Inc. System for link management between multiple communication chips
US11398926B2 (en) 2020-02-10 2022-07-26 Apple Inc. Signaling of time for communication between integrated circuits using multi-drop bus
CN112969002B (en) * 2021-02-04 2023-07-14 浙江大华技术股份有限公司 Image transmission method and device based on PCIe protocol and storage medium
CN113254062B (en) * 2021-06-22 2021-11-09 苏州浪潮智能科技有限公司 Method, device, equipment and medium for configuring and taking effect of BMC (baseboard management controller) parameters

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6145027A (en) * 1997-07-09 2000-11-07 Texas Instruments Incorporated DMA controller with split channel transfer capability and FIFO buffering allowing transmit channel to get ahead of corresponding receive channel by preselected number of elements
US6167486A (en) * 1996-11-18 2000-12-26 Nec Electronics, Inc. Parallel access virtual channel memory system with cacheable channels

Family Cites Families (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5228130A (en) * 1988-09-14 1993-07-13 National Semiconductor Corporation Multi-channel peripheral interface using selectively flaggable channel register sets for concurrent write in response to any selected channel register write instruction
US5398078A (en) * 1991-10-31 1995-03-14 Kabushiki Kaisha Toshiba Method of detecting a motion vector in an image coding apparatus
US5361220A (en) 1991-11-29 1994-11-01 Fuji Photo Film Co., Ltd. Discrete cosine transformation with reduced components
US5299144A (en) * 1992-06-17 1994-03-29 Advanced Micro Devices, Inc. Architecture for covariance matrix generation
US5457644A (en) * 1993-08-20 1995-10-10 Actel Corporation Field programmable digital signal processing array integrated circuit
DE4344157A1 (en) * 1993-12-23 1995-06-29 Philips Patentverwaltung Radio
KR0141875B1 (en) * 1994-11-30 1998-06-15 배순훈 Run length decoder
US5694127A (en) * 1995-10-17 1997-12-02 Zapex Technologies, Inc. Method and apparatus for efficiently generating variable length code data
US6421695B1 (en) 1995-10-28 2002-07-16 Lg Electronics Inc. Apparatus for implementing inverse discrete cosine transform in digital image processing system
US5633897A (en) * 1995-11-16 1997-05-27 Atmel Corporation Digital signal processor optimized for decoding a signal encoded in accordance with a Viterbi algorithm
US5835145A (en) * 1996-01-19 1998-11-10 Lsi Logic Corporation Conversion system using programmable tables for compressing transform coefficients
US5706002A (en) * 1996-02-21 1998-01-06 David Sarnoff Research Center, Inc. Method and apparatus for evaluating the syntax elements for DCT coefficients of a video decoder
GB2323187B (en) 1997-03-14 2001-09-19 Nokia Mobile Phones Ltd Data processing circuit using both edges of a clock signal
US5941940A (en) * 1997-06-30 1999-08-24 Lucent Technologies Inc. Digital signal processor architecture optimized for performing fast Fourier Transforms
JPH1145157A (en) * 1997-07-24 1999-02-16 Internatl Business Mach Corp <Ibm> Data transfer device, disk drive, and data transfer method
US6209017B1 (en) * 1997-08-30 2001-03-27 Lg Electronics Inc. High speed digital signal processor
JPH11168727A (en) * 1997-12-02 1999-06-22 Mitsubishi Electric Corp Motion vector detector
KR20010083063A (en) * 1998-06-25 2001-08-31 벤자민 에프 커틀러 Processing circuit and method for variable-length coding and decoding
US6275877B1 (en) * 1998-10-27 2001-08-14 James Duda Memory access controller
US6243734B1 (en) 1998-10-30 2001-06-05 Intel Corporation Computer product and method for sparse matrices
US6463445B1 (en) * 1999-08-27 2002-10-08 Sony Electronics Inc. Multimedia information retrieval system and method including format conversion system and method
US7254806B1 (en) * 1999-08-30 2007-08-07 Ati International Srl Detecting reordered side-effects
US6701405B1 (en) * 1999-10-01 2004-03-02 Hitachi, Ltd. DMA handshake protocol
US6523071B1 (en) * 1999-11-05 2003-02-18 Hewlett-Packard Company Process and apparatus for configuring the direct memory access transfer mode of a motherboard or host computer
US6552673B2 (en) * 2000-02-25 2003-04-22 Texas Instruments Incorporated Efficient table access for reversible variable length code decoding using a hash function
US6728862B1 (en) * 2000-05-22 2004-04-27 Gazelle Technology Corporation Processor array and parallel data processing methods
US6647061B1 (en) * 2000-06-09 2003-11-11 General Instrument Corporation Video size conversion and transcoding from MPEG-2 to MPEG-4
US6407680B1 (en) * 2000-12-22 2002-06-18 Generic Media, Inc. Distributed on-demand media transcoding system and method
US20020199040A1 (en) * 2001-06-26 2002-12-26 Irwin David S. High speed communications device/system
US6922716B2 (en) * 2001-07-13 2005-07-26 Motorola, Inc. Method and apparatus for vector processing
US6587057B2 (en) * 2001-07-25 2003-07-01 Quicksilver Technology, Inc. High performance memory efficient variable-length coding decoder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6167486A (en) * 1996-11-18 2000-12-26 Nec Electronics, Inc. Parallel access virtual channel memory system with cacheable channels
US6145027A (en) * 1997-07-09 2000-11-07 Texas Instruments Incorporated DMA controller with split channel transfer capability and FIFO buffering allowing transmit channel to get ahead of corresponding receive channel by preselected number of elements

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080177909A1 (en) * 2007-01-24 2008-07-24 Kevin Allen Sapp Content Terminated DMA
US7934025B2 (en) * 2007-01-24 2011-04-26 Qualcomm Incorporated Content terminated DMA
US20080228999A1 (en) * 2007-03-16 2008-09-18 Shekoufeh Qawami Dual use for data valid signal in non-volatile memory
US7725645B2 (en) * 2007-03-16 2010-05-25 Intel Corporation Dual use for data valid signal in non-volatile memory
US9479394B2 (en) 2008-05-20 2016-10-25 Verizon Patent And Licensing Inc. System and method for customer provisioning in a utility computing platform
US8484355B1 (en) * 2008-05-20 2013-07-09 Verizon Patent And Licensing Inc. System and method for customer provisioning in a utility computing platform
US8473615B1 (en) 2008-05-20 2013-06-25 Verizon Patent And Licensing Inc. System and method for customer provisioning in a utility computing platform
US20100198947A1 (en) * 2009-02-04 2010-08-05 Raytheon Company System and Method for Dynamically Processing Electronic Data Between Multiple Data Sources
US20100245148A1 (en) * 2009-03-31 2010-09-30 Stmicroelectronics S.R.I. Analog-digital converter and corresponding system and method
US8174419B2 (en) 2009-03-31 2012-05-08 Stmicroelectronics S.R.L. Analog-digital converter and corresponding system and method
EP2237159A1 (en) * 2009-03-31 2010-10-06 STMicroelectronics S.r.l. Analog-to-digital converter device with Direct Memory Access
US8131889B2 (en) 2009-11-10 2012-03-06 Apple Inc. Command queue for peripheral component
US8332543B2 (en) 2009-11-10 2012-12-11 Apple Inc. Command queue for peripheral component
WO2011059897A1 (en) * 2009-11-10 2011-05-19 Apple Inc. Command queue for peripheral component
US8396994B1 (en) 2009-11-10 2013-03-12 Apple Inc. Command queue for peripheral component
US20110113167A1 (en) * 2009-11-10 2011-05-12 Lee Douglas C Command Queue for Peripheral Component
WO2013032816A1 (en) * 2011-08-30 2013-03-07 Apple Inc. High priority command queue for peripheral component
US9021146B2 (en) 2011-08-30 2015-04-28 Apple Inc. High priority command queue for peripheral component
US20130208796A1 (en) * 2012-02-15 2013-08-15 Amichay Amitay Cache prefetch during a hierarchical motion estimation
US8966133B2 (en) * 2012-11-16 2015-02-24 International Business Machines Corporation Determining a mapping mode for a DMA data transfer
US8966132B2 (en) * 2012-11-16 2015-02-24 International Business Machines Corporation Determining a mapping mode for a DMA data transfer
US8984179B1 (en) 2013-11-15 2015-03-17 International Business Machines Corporation Determining a direct memory access data transfer mode
US20150142995A1 (en) * 2013-11-15 2015-05-21 International Business Machines Corporation Determining a direct memory access data transfer mode
US9229891B2 (en) * 2013-11-15 2016-01-05 International Business Machines Corporation Determining a direct memory access data transfer mode
CN105373496A (en) * 2014-08-18 2016-03-02 瑞萨电子株式会社 Microcomputer
US20190102299A1 (en) * 2017-10-04 2019-04-04 Intel Corporation Systems, methods and apparatus for fabric delta merge operations to enhance nvmeof stream writes
US10664396B2 (en) * 2017-10-04 2020-05-26 Intel Corporation Systems, methods and apparatus for fabric delta merge operations to enhance NVMeoF stream writes

Also Published As

Publication number Publication date
US20050216608A1 (en) 2005-09-29
US6981073B2 (en) 2005-12-27
US20060095601A1 (en) 2006-05-04
US7430621B2 (en) 2008-09-30

Similar Documents

Publication Publication Date Title
US7430621B2 (en) Multiple channel data bus control for video processing
US7219173B2 (en) System for video processing control and scheduling wherein commands are unaffected by signal interrupts and schedule commands are transmitted at precise time
US6842219B2 (en) Moving picture decoding processor for multimedia signal processing
US5995727A (en) Video decompression
US6119213A (en) Method for addressing data having variable data width using a fixed number of bits for address and width defining fields
JP2002506251A (en) Multiprocessor device having shared memory
US20050262276A1 (en) Design method for implementing high memory algorithm on low internal memory processor using a direct memory access (DMA) engine
US6782433B2 (en) Data transfer apparatus
US20060179180A1 (en) Signal processing apparatus, signal processing system and signal processing method
US7246220B1 (en) Architecture for hardware-assisted context switching between register groups dedicated to time-critical or non-time critical tasks without saving state
KR100489719B1 (en) A specialized memory device
Takizawa et al. An efficient memory arbitration algorithm for a single chip MPEG2 AV decoder
JP5379223B2 (en) Information processing device
US20060129729A1 (en) Local bus architecture for video codec
KR100320210B1 (en) Bus structure for digital television system
WO2004027630A1 (en) Computer system and method for accessing external peripheral devices in a computer system
JP2009124636A (en) Data processing apparatus
JPH1185680A (en) Moving image fetching device, computer system using the same and moving image data utilizing method
KR20140126841A (en) Memory apparatus and Image signal processing system
JP2004094970A (en) Data transfer device

Legal Events

Date Code Title Description
AS Assignment

Owner name: WIS TECHNOLOGIES, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:WANG, XU;XIANG, SHUHUA;LI, SHA;REEL/FRAME:021419/0115

Effective date: 20011119

Owner name: MICRONAS USA, INC., ILLINOIS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:WIS TECHNOLOGIES, INC.;REEL/FRAME:021419/0323

Effective date: 20080114

AS Assignment

Owner name: MICRONAS GMBH, GERMANY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICRONAS USA, INC.;REEL/FRAME:021770/0312

Effective date: 20081022

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION