US20030005073A1 - Signal processing device accessible as memory - Google Patents

Signal processing device accessible as memory Download PDF

Info

Publication number
US20030005073A1
US20030005073A1 US10/234,482 US23448202A US2003005073A1 US 20030005073 A1 US20030005073 A1 US 20030005073A1 US 23448202 A US23448202 A US 23448202A US 2003005073 A1 US2003005073 A1 US 2003005073A1
Authority
US
United States
Prior art keywords
data
information processing
processor
processing units
memory
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
US10/234,482
Inventor
Hideki Yoshizawa
Toru Tsuruta
Norichika Kumamoto
Yuji Nomura
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to US10/234,482 priority Critical patent/US20030005073A1/en
Publication of US20030005073A1 publication Critical patent/US20030005073A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5066Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0806Multiuser, multiprocessor or multiprocessing cache systems
    • G06F12/0813Multiuser, multiprocessor or multiprocessing cache systems with a network or matrix configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1458Protection against unauthorised use of memory or access to memory by checking the subject access rights
    • G06F12/1466Key-lock mechanism
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/509Offload

Definitions

  • the present invention generally relates to data processing devices, and particularly relates to a signal processing accelerator which is incorporated into a personal computer to effect high-speed processing of multi-media data or the like.
  • Multi-media equipment for high-speed data processing generally has a system configuration which incorporates a number of pieces of dedicated hardware for respective signal processing.
  • a system configuration which incorporates a number of pieces of dedicated hardware for respective signal processing.
  • dedicated hardware When high-speed data processing is achieved through dedicated hardware, however, such a system has drawbacks in costs and lack of expandability and upgradability of the equipment. That is, costs are incurred with respect to design, development, and manufacture of dedicated hardware for respective signal processing, so that a resulting system incorporating the dedicated hardware becomes expensive.
  • dedicated hardware is designed for specific data processing, and, thus, is limited in use thereof because only limited types of processing is executable by such hardware. A problem of lack of expandability and upgradability thus arises when there is a need to apply the hardware to a new application field.
  • general-purpose processors are designed for handling general data operations, but are not suitable for signal processing. Because of this, general-purpose processors cannot exhibit desirable performance in a field such as image processing where parallel data processing is preferred.
  • the software-based signal processing systems employing general-purpose processors also have a problem in that a sufficient data processing speed cannot be achieved because of the three reasons identified above. This problem becomes particularly conspicuous when a plurality of signal processing operations need to be simultaneously carried out as required in multi-media signal processing.
  • DSPs digital signal processors
  • multi-media-extended-instruction-set processors e.g., P55C of the Intel corporation
  • Such a system incurs additional costs for design, development, and manufacture of dedicated hardware portions for signal processing. Also, bus collisions at a time of data transfer place a cap on the data processing speed as described above. Accordingly, this system cannot exhibit a desirable performance because of bus-access conflict between a plurality of signal processing operations particularly when such a plurality of signal processing operations need to be simultaneously carried out as in multi-media signal processing.
  • a device for signal processing includes a plurality of information processing units and communication links connected between the information processing units.
  • Each of the information processing units includes a signal processing unit for processing data, a communication control unit for communicating with other information processing units via the communication links, and a storage unit for storing data and programs executed by the signal processing unit.
  • the storage unit is used for data exchange between each of the information processing units and an external bus.
  • the plurality of information processing units can communicate with each other without using the external bus, so that high-speed signal processing is achieved by avoiding a reduction in data processing speed caused by bus conflict. Further, a plurality of processes such as image processing and audio processing can be allocated to different information processing units, so that this device is suited to multi-media signal processing which requires processing of a plurality of different signals.
  • the storage unit includes a memory for storing the data and the programs and a memory control unit for controlling the memory such that the memory is accessible from the external bus when the data exchange is conducted.
  • the device can be incorporated in a personal computer or the like in the same manner as conventional memory devices are incorporated. Because of this, costs for incorporating the above device can be included in the costs of the memory devices, and the device inserted into the memory devices can be utilized by using software. In this manner, costs of hardware extension can be reduced while providing a system having a functional expandability.
  • the memory control unit includes a key-data storage unit for storing key information, and controls the memory such that the memory is accessible from the external bus only when data matching the key information is provided from the external bus.
  • the memory of the storage unit is generally conditioned so as not to be accessible as a memory from the external bus, thereby preventing the operation system of a host processor from taking control of the memory for use as an OS memory space. Only when the keys are unlocked, will data exchange between the host processor and the information processing units become possible.
  • the information processing units are operated in a pipe-line manner such that all procedures are carried out at the same time by respective information processing units, thereby achieving high-speed data processing.
  • the information processing units can serve as a virtual machine by executing this instruction on behalf of the host processor.
  • This configuration allows the system to run a program as if the host processor executed such an instruction.
  • a first resource-management program and a second resource-management program are provided in an application interface layer and a device-driver layer, respectively, and control process allocation and data connection as well as hardware of the information processing units. Because of this configuration, data to be processed does not have to be brought all the way up to the uppermost application layer where user programs and application programs reside, so that efficient processing is carried out with regard to data transfer.
  • FIG. 1 is a block diagram of a signal processing accelerator according to the present invention
  • FIG. 2 is an illustrative drawing showing software architecture corresponding to the hardware architecture of the signal processing accelerator shown in FIG. 1;
  • FIG. 3 is an illustrative drawing showing resource allocation of the signal processing accelerator under the control of the resource-management programs shown in FIG. 2;
  • FIGS. 4A through 4C are illustrative drawings showing examples of connections between processor elements
  • FIGS. 5A and 5B are illustrative drawings showing two different allocations of processes
  • FIG. 6 is a flowchart of a main routine of a dynamic-process-allocation algorithm according to the present invention.
  • FIG. 7 is a flowchart of step S 3 as shown in FIG. 6, where one processor element is allocated to a process
  • FIG. 8 is a flowchart of step S 4 as shown in FIG. 6, where a plurality of processor elements are allocated to a process;
  • FIG. 9 is a flowchart of calculation of an allocation efficiency for a next allocation which is conducted at the step S 14 of FIG. 7 as well as at the step S 28 of FIG. 8;
  • FIG. 10A is a table chart showing results obtained when the dynamic-process-allocation algorithm is used.
  • FIG. 10B is a table chart showing results obtained when a simple allocation algorithm is used.
  • FIG. 11A is a table chart showing simulation conditions
  • FIG. 11B is a table chart showing simulation results
  • FIG. 12 is an illustrative drawing showing a memory space into which the DRAM of the signal processing accelerator of FIG. 1 is incorporated when the resource-management program controls the processor elements to carry out data processing;
  • FIG. 13 is an illustrative drawing showing address conversion between a host processor and the signal processing accelerator
  • FIG. 14 is a block diagram of a detailed configuration of the DRAM controller of FIG. 1;
  • FIG. 15 is an illustrative drawing showing state transitions of an information processing unit of FIG. 1;
  • FIG. 16 is an illustrative drawing showing a mechanism for executing virtual-machine codes according to the present invention.
  • FIG. 17 is a flowchart of exceptional handling by the signal processing accelerator for emulation
  • FIG. 18 is a block diagram showing a switching mechanism which switches, between a client processor and a memory when the client processor and the memory are connected to a host processor via a memory interface;
  • FIG. 19 is a circuit diagram of an address-check means of FIG. 18 which activates an output thereof when a particular address in a memory space is provided;
  • FIG. 20 is a circuit diagram of the address-check means of FIG. 18 which activates an output thereof when an address within a particular memory-space range is provided;
  • FIG. 21 is an illustrative drawing schematically showing a change of bit positions in a bit arrangement
  • FIG. 22A is an illustrative drawing showing a relation between a data word and sub-words
  • FIG. 22B is an illustrative drawing showing a key code (key information).
  • FIG. 23 is a flowchart of a process of generating data words in which each sub-word is comprised of a key code
  • FIG. 24 is a flowchart of a process of reading data words in which each sub-word is comprised of a key code, and extracting the key code from the data words;
  • FIGS. 25A and 25B are illustrative drawings for explaining a key comparison which is made by using a time data series to avoid an effect of the shuffling of bit positions;
  • FIG. 26 is a flowchart of a process of generating data based on a key code so that the data has each bit thereof representing one bit of the key code in a time order;
  • FIG. 27 is a flowchart of a process of extracting a key code from data that is read
  • FIG. 28 is an illustrative drawing for explaining a key comparison which is made based on the number of 0s or 1s so as to nullify the effect of the bit-position shuffling;
  • FIG. 29 is a flowchart of a process of counting the number of is included in each data word when a plurality of data words are provided;
  • FIG. 30 is a flowchart of a process of generating a plurality of data words such that the number of is included in a given data word is equal to a number that is represented by a corresponding input data word when a plurality of input data words are supplied;
  • FIG. 31 is a flowchart of a variation of the switching process based on a key comparison
  • FIG. 32 is a flowchart of another variation of the switching process based on a key comparison
  • FIG. 33 is an illustrative drawing for explaining a pattern-check process in which parity is used as a predetermined pattern
  • FIG. 34 is a flowchart of a process of checking supplied data with regard to parity thereof;
  • FIG. 35 is an illustrative drawing for explaining a process of making a pattern check using a predetermined set of bits included in data
  • FIG. 36 is a flowchart of a method of extracting a predetermined set of bits from supplied data and using the predetermined set for pattern check;
  • FIG. 37 is an illustrative drawing for explaining a pattern-check process which is performed based on whether a supplied data word is comprised of a predetermined pattern
  • FIG. 38 is a flowchart of a process of checking whether a supplied data word is comprised of 0s or comprised of 1s;
  • FIG. 39 is a flowchart of a process of acquiring a memory area by means of OS (operating system) functions of a host processor;
  • FIG. 40 is a block diagram of a system in which control of allocating memory areas and control of switching applications are carried out independently from each other;
  • FIG. 41 is a flowchart showing an example of a process of controlling memory allocation and switching applications in the system of FIG. 40;
  • FIG. 42 is a block diagram of a system in, which synchronization is established between client processors or between the host processor and a client processor;
  • FIGS. 43A and 43B are charts showing an example of synchronized operations between a host processor and a client processor.
  • FIGS. 44A and 44B are charts showing an example of synchronized operations between client processors.
  • FIG. 1 is a block diagram of a signal processing accelerator according to the present invention.
  • the signal processing accelerator of FIG. 1 includes a plurality of information processing units 10 which are identical to each other.
  • Each of the information processing units 10 is connected with each other, and, also, is connected to a host memory bus 30 .
  • the information processing unit 10 includes a signal processing processor 11 , an instruction cache 12 , a data RAM 13 , link-control units 14 and 15 , a main cache 16 , a link cache 17 , a DRAM 18 , and a DRAM controller 19 .
  • the signal processing processor 11 , the instruction cache 12 , and the data RAM 13 together make up a signal processing unit 25 .
  • the link-control units 14 and 15 , the main cache 16 , and the link cache 17 together form a communication-control unit 26 .
  • a communication link 20 is connected to each of the link-control units, 14 and 15 .
  • the information processing units 10 are connected in series via the communication links 20 so that each information processing unit 10 can directly communicate with adjacent information processing units 10 via the communication links 20 .
  • Communication between two information processing units 10 which are spaced apart from each other can be effected by successively propagating communication data through intervening information processing units 10 from a given unit to the next unit.
  • FIG. 1 shows three information processing units 10 as an example, but any number of information processing units 10 can be provided.
  • Each of the information processing units 10 is connected to the host memory bus 30 via the DRAM controller 19 .
  • a host processor 31 is connected to the host memory bus 30 .
  • the signal processing processor 11 carries out signal processing functions.
  • the instruction cache 12 is a cache memory for storing instructions which are frequently used by the signal processing processor 11 .
  • Programs carried out by the signal processing processor 11 are stored in the DRAM 18 in addition to the instruction cache 12 .
  • the data RAM 13 is used as a memory work area for saving intermediate results or the like obtained while the signal processing processor 11 attends to data processing.
  • the main cache 16 and the link cache 17 are cache memories for storing data which is processed by the signal processing processor 11 .
  • the main cache 16 stores data which is extracted from the DRAM 18 of the same information processing unit 10
  • the link cache 17 holds data which is transferred from other information processing units 10 via the link-control units 14 and 15 . Even when the data stored in the main cache 16 is swapped out, the same data can be retrieved from the DRAM 18 of the same information processing unit 10 when it becomes necessary. On the other hand, if the data in the link cache 17 is swapped out, the same data has to be brought in from other information processing units 10 via the communication links 20 .
  • main cache 16 and the link cache 17 are structured as one and the same cache memory, a problem may arise in that data transferred from another information processing unit 10 may be swapped out despite a heavy communication load in order to secure storage of data extracted from the DRAM 18 of the same information processing unit 10 . Because of this, the main cache 16 and the link cache 17 are provided as separate cache memories in accordance with different functions thereof.
  • the information processing unit 10 is connected to the host memory bus 30 via the DRAM controller 19 , which includes the DRAM 18 .
  • Memory space of the DRAM 18 is controlled by the DRAM controller 19 , and is allocated to physical address space controlled by the host processor 31 .
  • the host processor 31 can exchange data with the information processing unit 10 . Namely, the host processor 31 accesses the DRAM 18 via the host memory bus 30 , and writes data and programs in the DRAM 18 .
  • the information processing unit 10 uses the data stored in the DRAM 18 as input data, and executes the programs in the DRAM 18 so as to carry out required data processing.
  • the plurality of information processing units 10 carry out parallel processing or pipe-line processing by communicating with each other. For example, some of the information processing units 10 may perform parallel image-data processing, while other information processing units 10 carry out parallel audio-data processing.
  • communications between the plurality of information processing units 10 are conducted via the communication links 20 . Because of these dedicated communication links, the host memory bus 30 can provide a data-transfer route for other processes such as OS processes of the host processor 31 without paying attention to the communications between the information processing units 10 .
  • Each of the information processing units 10 stores processed data in the DRAM 18 .
  • the host processor 31 accesses the DRAM 18 via the host memory bus 30 so as to read the processed data from the DRAM 18 .
  • the signal processing accelerator of FIG. 1 includes the plurality of information processing units 10 which can communicate with each other without using the host memory bus 30 to carry out parallel processing, so that high-speed signal processing is achieved without suffering a decrease in data processing speed which would be caused by bus-access conflict. Further, each of the information processing units 10 may be assigned to each of a plurality of processes in image processing and/or audio processing, so that the signal processing accelerator of FIG. 1 is suitable for multi-media signal processing since such processing requires simultaneous processing of different signals.
  • the signal processing unit 25 i.e., the signal processing processor 11 , the instruction cache 12 , and the data RAM 13
  • the communication-control unit 26 i.e., the main cache 16 , the link cache 17 , and the link-control units 14 and 15
  • the memory i.e., the DRAM 18 and the DRAM controller 19
  • the signal processing accelerator of FIG. 1 can be incorporated into a personal computer in the same manner as prior-art memory devices are incorporated. Because of this, costs for incorporating the signal processing accelerator can be included into the costs of the memory devices, and the signal processing accelerator inserted in the memory devices can be utilized by using software. In this manner, costs of hardware extension can be reduced while providing a system having a functional expandability.
  • FIG. 2 is an illustrative drawing showing a software architecture corresponding to the hardware architecture of the signal processing accelerator shown in FIG. 1.
  • FIG. 2 shows a hierarchy of software structure with regard to a personal computer by superimposing a software structure of the present invention on that of the prior art.
  • a hierarchical structure of software includes an application layer, an API (application interface) layer, and a device-driver layer.
  • the application layer includes user programs and application programs such as Windows application programs.
  • the API layer includes programs such as dynamic loading libraries which are dynamically loaded at a time of process execution.
  • the device-driver layer includes device drivers for controlling hardware of various devices.
  • the API layer includes three dynamic loading libraries XX.API, YY.API, and ZZ.API.
  • Each of these library programs operates device hardware XX, YY, and ZZ, respectively, by using device drivers XX.VxD, YY.VxD, and ZZ.VxD, respectively, located in the device-driver layer.
  • the device hardware XX, YY, and ZZ include a hard drive, a display, a memory, a DSP, etc.
  • the software architecture of the present invention includes a dynamic loading library RMI.API in the API layer for operating the signal processing accelerator of the present invention, and further includes a device driver RMI.VxD in the device-driver layer for controlling the signal processing accelerator.
  • RMI.API dynamic loading library
  • RMI.VxD device driver
  • RMI.API is a dynamic loading library for carrying out processes such as allocation of resources (the information processing units 10 ) provided in the signal processing accelerator, and is communicable with other dynamic loading libraries of the prior art.
  • the layer which includes RMI.API can be regarded as the API layer as in the prior art. Since this layer serves as a venue in which RMI.API communicates with other dynamic loading libraries, however, this layer is also referred to as an RMI-API-association layer when discussing some features of the present invention.
  • RMI.VxD is a device driver for controlling the hardware of the signal processing accelerator, and can exchange data with other prior-art device drivers.
  • the layer which includes RMI.VxD can be regarded as the device-driver layer as in the prior art. Since this layer serves as a venue in which RMI.VxD communicates with other device drivers, however, this layer is also referred to as an driver-association layer when discussing some features of the present invention.
  • the RMI.VxD controls resources (the information processing units 10 ) of the hardware, but processes closer to the user-application level such as allocation of resources are carried out by RMI.API. Since functional differences between RMI.API and RMI.VxD are not so distinctive as to provide a clear boundary, the RMI-API-association layer and the driver-association layer are collectively referred to as a resource-management layer in the present invention.
  • RMI.VxD in the resource-management layer receives data from the device driver XX.VxD, and uses the signal processing accelerator for processing of the data before supplying the processed data to the device driver ZZ.VxD. In this manner, there is no need to bring up data all the way to the uppermost layer of the software hierarchy. This is equivalent to reducing the number of bus accesses to a minimum level when data transfer via a bus is taken into consideration.
  • the hierarchical software structure of the prior art suffers an increasing number of data transfers between the uppermost application layer and a plurality of devices as the number of processes increases.
  • the hierarchical software structure of the present invention is provided with the resource-management layer which controls the signal processing accelerator to carry out a plurality of processes simultaneously, so that there is no need to bring data all the way up to the uppermost application layer, thereby achieving effective processing in terms of data transfer.
  • FIG. 3 is an illustrative drawing showing resource allocation of the signal processing accelerator under the control of the resource-management programs (RMI.API and RMI.VxD) in the resource-management layer.
  • RMI.API mainly controls resource allocation while RMI.VxD controls hardware in actual data processing.
  • a resource-management program RMI controls a plurality of PEs (processor elements) 40 .
  • Each of the PEs 40 corresponds to a respective one of the signal processing processors 11 in FIG. 1, and conceptually represents a data processing function of the signal processing processor 11 .
  • An input channel 41 is a pointer pointing to the device driver XX.VxD
  • an output channel 42 is a pointer pointing to the device driver ZZ.VxD.
  • the resource-management program RMI receives data from the device driver XX.VxD, and uses the plurality of the PEs 40 for processing the data before outputting the processed data to the device driver ZZ.VxD. If input and output device drivers are different from those of this example, reference destinations by the input channel 41 and the output channel 42 are changed.
  • the resource-management program RMI receives from a user program a pointer pointing to an input-data origin, a pointer pointing to an output-data destination, information on execution programs which are to be executed by the PEs 40 , and information about how to connect the PEs 40 .
  • the execution programs to be executed by the PEs 40 are written specifically for the signal processing accelerator of FIG. 1, and each of the execution programs may be a program module executed by the respective PEs 40 , which serves as a processing element. In this case, the number of execution programs is the same as the number of the PEs 40 to be used.
  • the user program loads the dynamic loading library RMI.API first, and, then, specifies the input-data origin, the output-data destination, names of the execution programs, and connections between the execution programs.
  • the resource-management program RMI selects a required number of PEs 40 from available PEs 40 stored in a free-resource stack 43 , and allocates the selected PEs 40 to respective processing of the execution programs. Further, the resource-management program RMI arranges the input channel 41 , the allocated PEs 40 , and the output channel 42 so as to establish a connection for data processing between the device driver XX.VxD pointed to by the input channel 41 and the device driver ZZ.VxD pointed to by the output channel 42 . After the data processing, the resource-management program RMI releases the allocated PEs 40 , and stores them in the free-resource stack 43 .
  • the resource-management program RMI selects a requested number of PEs 40 from available PEs 40 stored in the free-resource stack 43 , and allocates the selected PEs 40 to the new process. Control following the allocation is the same as before.
  • FIGS. 4A through 4C are illustrative drawings showing examples of connections between the PEs 40 .
  • FIG. 4A shows a configuration in which the PEs 40 are arranged in series to carry out pipe-line processing.
  • various data processing operations are involved, including geometric transformation computation which divides objects into polygons and obtains vertex coordinates, colors, reflection indexes, etc., rasterizing computation which scans interiors of the polygons after dividing the interiors into scan lines, texture mapping computation which maps texture onto pixels on each scan line, and Z-buffer computation which carries out hidden-surface processing based on a distance of each pixel from the viewpoint.
  • the PEs 40 arranged in series as shown in FIG. 4A are each allocated to the geometric transformation computation, the rasterizing computation, the texture mapping computation, and the Z-buffer computation so as to achieve high-speed processing through a pipe-line operation of these computations.
  • FIG. 4B shows a configuration in which the PEs 40 are arranged in parallel to perform parallel processing.
  • image processing for example, a Laplacian filter is often applied to an image in order to enhance edges.
  • a filtering operation needs to be conducted at each position within the image.
  • the configuration of FIG. 4B may be applied to this case by dividing the image into a plurality of small portions and allocating the PEs 40 to filtering operations of respective portions. In this manner, the filtering operation in its entirety can be carried out in parallel, thereby achieving high-speed processing.
  • FIG. 4C shows an example of connections of the PEs 40 which combines the series connection and the parallel connection.
  • PEs 40 arranged in parallel may be used for calculating products of pixel values at a plurality of portions within the image frame, and a PE 40 connected in series with these PEs 40 may be used for obtaining the sum of the products. In this manner, high-speed processing is achieved.
  • the resource-management program RMI in the resource-management layer controls the resource allocation of the signal processing accelerator. Performance of the system will be greatly affected by how PEs 40 (free resources) are allocated to respective programs.
  • the signal processing accelerator is comprised of four information processing units 10 (i.e., four PEs 40 ). Further, assume that a process includes two procedures, and each procedure is carried out by a single PE 40 . The amount of data transfer between two PEs 40 in operation is denoted as M. In a description given below, two such processes are carried out by allocating the four PEs 40 .
  • FIGS. 5A and 5B are illustrative drawings showing two different allocations of processes.
  • a process 1 is allocated to processor elements PE 1 and PE 3
  • a process 2 is allocated to processor elements PE 2 and PE 4 . Since the amount of data transfer between two PEs allocated to the same process is M, M data transfer is conducted between PE 1 and PE 3 via PE 2 . By the same token, M data transfer is present between PE 2 and PE 4 via PE 3 . Therefore, the amount of data transfer is M between PE 1 and PE 2 , is 2M between PE 2 and PE 3 , and is M between PE 3 and PE 4 .
  • the process 1 is allocated to the processor elements PE 1 and PE 2
  • the process 2 is allocated to processor elements PE 3 and PE 4 .
  • the amount of data transfer is M between PE 1 and PE 2 as well as between PE 3 and PE 4 .
  • No data transfer is present between PE 2 and PE 3 .
  • the configuration of FIG. 5A cannot allow both processes to run at the same time.
  • the configuration of FIG. 5B achieves simultaneous computation of both processes.
  • the way in which the processes are allocated determines the amount of data transfer on each link, creating one case in which simultaneous computation is possible and the other case in which simultaneous computation is impossible.
  • simultaneous computation data processing speed as a whole is bound to decrease. How many PEs 40 are requested at what timing is totally unknown before the request is actually made, so that allocation of the PEs 40 should be dynamically handled. Because of this, there is a need for an efficient dynamic-process-allocation algorithm.
  • This dynamic-process-allocation algorithm allocates resources according to two criteria.
  • the first criterion requires that data transfer of an allocated process causes the least interference possible to other data transfers.
  • the second criterion requires that a next process can be allocated to cause the least interference possible to other data transfers after the allocation of a current process.
  • the second criterion is used to select one of the allocation patterns such that allocation of a next process will suffer the least interference possible as a result of the allocation of the current process.
  • FIG. 6 is a flowchart of a main routine of the dynamic-process-allocation algorithm. As shown in FIG. 6, this algorithm obtains an optimum allocation in a different manner between an allocation of one PE and an allocation of a plurality of PEs. When use of only one PE is requested, no data transfer will result from the allocation of a pertinent process, so that influence on the next process allocation should only be taken into consideration. On the other hand, when a plurality of PEs are requested, data transfer should be conducted via communication links, so that efficiency of the current process varies depending on the way in which the process is allocated to the PEs.
  • step S 2 a check is made whether the number of requested PEs is one. If it is one, the procedure goes to a step S 3 . Otherwise, the procedure goes to a step S 4 .
  • step S 3 one PE is allocated to the process. If the allocation fails, the procedure ends. Otherwise, the procedure goes to a step S 5 .
  • step S 4 a plurality of PEs are allocated to the process. If the allocation fails, the procedure ends. Otherwise, the procedure goes to the step S 5 .
  • a process ID is updated. Namely, a new process ID is assigned to the newly allocated process. This ends the procedure.
  • FIG. 7 is a flowchart of the step S 3 shown-in FIG. 6 where one PE is allocated to the process.
  • a search is made for available PEs.
  • a loop is introduced to all the available PEs. Namely, the following steps are successively carried out for each of the available PEs.
  • one PE is tentatively allocated to the process.
  • an allocation efficiency for a next allocation is calculated.
  • the calculation of the allocation efficiency will be described later.
  • a resulting value of the calculation is hereinafter denoted as RESULT.
  • a minimum value of RESULT is held. That is, if RESULT of the current tentative allocation is smaller than a stored value of RESULT, the stored value is replaced by the newly obtained RESULT.
  • FIG. 8 is a flowchart of the step S 4 shown in FIG. 6 where a plurality of PEs are allocated to the process.
  • a search is made for available PEs.
  • a first loop is introduced to all combinations of the requested number of available PEs. Namely, the following steps are successively carried out for each of the combinations formed by the requested number of available PEs.
  • the amount of data transfer is calculated with respect to each communication link by assuming that the process is allocated to a current combination of PEs.
  • a step S 24 a combination of PEs which minimizes a maximum amount of data transfer is held.
  • a second loop is introduced to all the selected combinations which equally minimize the maximum amount of data transfer.
  • a plurality of PEs are tentatively allocated to the process according to one of the selected combinations.
  • a step S 28 the allocation efficiency for a next allocation is calculated.
  • the calculation of the allocation efficiency will be described later.
  • a resulting value of the calculation is denoted as RESULT.
  • a minimum value of RESULT is held. That is, if RESULT of the current tentative allocation is smaller than a stored value of RESULT, the stored value is replaced by the newly obtained RESULT.
  • FIG. 9 is a flowchart of the calculation of the allocation efficiency for a next allocation which is conducted at the step S 14 of FIG. 7 as well as at the step S 28 of FIG. 8.
  • the leftmost PE is selected from all the available PEs, and is denoted as PE_L.
  • the rightmost PE is selected from all the available PEs, and is denoted as PE_R.
  • step S 43 the number of communication links intervening between PE_L and PE_R is counted, and the obtained number is provided as RESULT. This ends the procedure.
  • the flowchart of FIG. 9 selects the leftmost PE and the rightmost PE, and counts the number of intervening communication links.
  • the number of intervening communication links is used here as a measure to indicate the allocation efficiency for a next process.
  • the number of intervening communication links is small, this indicates that all the available PEs exist in a small pack. If the number of intervening communication links is large, on the other hand, this means that the available PEs are spread over a wide range along the extension of communication links. If the process is allocated to PEs packed in a narrow range, the number of intervening PEs between the allocated PEs should be relatively small, so that the maximum amount of data transfer after the allocation is likely to be small.
  • the flowchart of FIG. 9 provides a criterion indicating to what extent the available PEs remaining after a process allocation are packed in a narrow range. That is, this criterion indicates how efficient the data transfer will be when some of the available PEs remaining after a process allocation ate used for a next allocation.
  • FIG. 10A is a table chart showing results obtained when the dynamic-process-allocation algorithm described above is used.
  • FIG. 10B is a table chart showing results obtained when a simple allocation algorithm is used. This simple allocation algorithm allocates available PEs successively selected from the left hand side.
  • LK[n, m] represents the amount of data transfer on a communication link between the n-th PE and the m-th PE.
  • LK[ 2 , 3 ] at time 6 is zero when the dynamic-process-allocation algorithm of the present invention is used, and is 2M when the simple allocation algorithm is used.
  • the allocation patterns at time 6 of these two algorithms correspond to allocation patterns shown in FIGS. 5A and 5B.
  • the maximum amount of data transfer over the entire time span is M in the dynamic-process-allocation algorithm of the present invention.
  • the simple allocation algorithm results in the maximum amount of data transfer being 2M. In this manner, the dynamic-process-allocation algorithm of the present invention achieves an efficient process allocation.
  • FIG. 11A is a table chart showing simulation conditions
  • FIG. 11B is a table chart showing simulation results.
  • a random number generation is used for determining the number of PEs requested at a time of a resource request. For the sake of simplicity, the amount of data transfer between PEs in each process is set to 1.
  • FIG. 11B shows a comparison between the algorithm of the present invention and the simple allocation algorithm by using the maximum amount of data transfer as a measure for comparison. As shown in FIG. 11B, only in about 5% of the total trials, did the simple allocation algorithm show superior results to the algorithm of the present invention. The algorithm of the present invention outperformed the simple allocation algorithm in about 11% of the total trials. These figures clearly signify superiority of the algorithm of the present invention.
  • FIG. 12 is an illustrative drawing showing a memory space into which the DRAM 18 of the signal processing accelerator of FIG. 1 is incorporated when the resource-management program controls the PEs 40 to carry out data processing.
  • the information processing units 10 of the signal processing accelerator communicate with each other via the communication links 20 .
  • the signal processing processors 11 of the information processing units 10 can access the DRAMs 18 of other information processing units 10 in order to read and write data.
  • the DRAMs 18 of the information processing units 10 form a single unified memory space.
  • the PEs 40 which carry out data processing between the input channel 41 and the output channel 42 exchange data with each other via the unified memory space. Namely, data processed by a given PE 40 is stored at an indicated address in the unified memory, and another PE reads the data from this address of the unified memory to further process the data. In this manner, the DRAMs 18 , which are provided for the respective information processing units 10 , can make up the unified memory space because of communications between the information processing units 10 . Each information processing unit 10 thus can attend to information processing without discriminating a memory space of its own unit against memory spaces of other information processing units 10 .
  • FIG. 13 is an illustrative drawing showing address conversion between the host processor and the signal processing accelerator.
  • a VM mechanism 55 for controlling virtual memory on the side of the host processor converts a host-processor virtual-address space 51 into a host-processor physical-address space 52 .
  • the host-processor virtual-address space 51 may, for example, constitute a 5-GB memory space at maximum.
  • An accelerator physical-address space 53 of a given DRAM 18 which is controlled by the DRAM controller 19 of a corresponding information processing unit 10 , is allocated to part of the host-processor physical-address space 52 .
  • the accelerator physical-address space 53 may, for example, be a 512-KB memory space at maximum. Since the accelerator physical-address space 53 is allocated to the host-processor physical-address space 52 and hence to the host-processor virtual-address space 51 , data transfer is achieved between the host processor 31 and the information processing unit 10 .
  • the accelerator physical-address space 53 is allocated to an accelerator processor-address space 54 (i.e., the unified memory space) with a predetermined offset.
  • the accelerator processor-address space 54 may, for example, have a 4-GB memory space at maximum.
  • the accelerator physical-address space 53 of each DRAM 18 which is controlled by the DRAM controller 19 of a corresponding information processing unit 10 , is allocated to a respective portion of the accelerator processor-address space 54 by a respective predetermined offset. In this manner, the DRAMs 18 provided in the respective information processing units 10 together make up the unified memory.
  • FIG. 14 is a block diagram of a detailed configuration of the DRAM controller 19 of the information processing unit 10 .
  • the DRAM 18 controlled by the DRAM controller 19 is allocated to the host-processor virtual-address space 51 of the host processor 31 .
  • This allocation to the host-processor virtual-address space 51 of the host processor 31 can be controlled by the operating system.
  • the signal processing accelerator is used with a conventional operating system which does not support such an allocation function, however, a precaution must be taken to prohibit the operating system from taking control of the DRAM 18 and exclusively using it as part of the OS memory space. That is, the DRAM 18 should not be recognized by the operating system as a memory at an initial state. Only when the signal processing accelerator is used, should the DRAM 18 be allocated to the host-processor virtual-address space 51 as a memory accessible from the operating system. Once allocated, the DRAM 18 can serve as a venue through which data is exchanged between the host processor 31 and the signal processing accelerator.
  • the host processor 31 is allowed to allocate the DRAM 18 to the host-processor virtual-address space 51 only after successfully unlocking keys. That is, the host processor 31 supplies data to the DRAM controller 19 as key information such that the DRAM 18 is recognized as a memory by the operating system only when the supplied data matches predetermined key information.
  • the DRAM controller 19 of FIG. 14 includes the DRAM 18 , a key register 61 , a comparator 62 , a host-memory control circuit 63 , and a control register 64 .
  • the DRAM 18 is a conventional DRAM which includes memory cells, a word-selection mechanism, a column-selection mechanism, sense amplifiers, a precharging mechanism, etc., and a description thereof will be omitted.
  • the key register 61 stores a plurality of key data. When a plurality of data provided from the host processor 31 (FIG. 1) matches the plurality of keys stored in the key register 61 , the keys are unlocked.
  • the comparator 62 compares the data supplied from the host processor 31 via the host memory bus 30 (FIG. 1) with the plurality of key data stored in the key register 61 .
  • the comparator 62 supplies results of the comparison to the host-memory control circuit 63 .
  • the host-memory control circuit 63 controls the DRAM 18 , key register 61 , and the control register 64 .
  • the host-memory control circuit 63 supplies a plurality of key numbers to the key register 61 so that the key register 61 outputs a plurality of keys.
  • the comparator 62 compares the plurality of keys with the plurality of data provided from the host memory bus 30 . If all the keys are matched, the host-memory control circuit 63 writes recognition codes in a recognition-code register of the control register 64 .
  • the host processor 31 reads and recognizes the recognition codes so that the host processor 31 recognizes the DRAM 18 and the DRAM controller 19 as a memory. Details of this recognition operation will be later described.
  • control register 64 includes an initialization register for initializing the signal processing unit 25 and the communication-control unit 26 , a reset-signal flag for controlling operations of the signal processing unit 25 , etc.
  • FIG. 15 is an illustrative drawing showing state transitions of the information processing unit 10 .
  • the information processing unit 10 is in an initial state ST 1 .
  • other conventional DRAMs connected to the host memory bus 30 are recognized as memories.
  • the DRAM 18 of the information processing unit 10 is not recognized as memories at this time.
  • initial state ST 1 data and storage addresses are supplied from the resource-management program or other programs via the host memory bus 30 .
  • control signals RAS, /CAS, WE, and /OE are provided in order to access the DRAM controller 19 . If data is written in the key matching register of the control register 64 , a state transition takes place from the initial state ST 1 to the key matching mode ST 2 .
  • the host-memory control circuit 63 supplies a plurality of key numbers to the key register 61 .
  • the key register 61 successively feeds a plurality of keys to the comparator 62 in response to the plurality of key numbers.
  • the comparator 62 compares the plurality of data provided via the host memory bus 30 with the plurality of keys, and sends comparison results to the host-memory control circuit 63 . If all the keys match the supplied data, a state transition is made from the key matching mode ST 2 to a tentatively unlocked state ST 3 . If all the keys and the data do not match, the information processing unit 10 goes back to the initial state ST 1 .
  • the host-memory control circuit 63 writes recognition codes in the recognition-code register of the control register 64 .
  • the host processor 31 reads the recognition codes, and checks the codes to recognize the DRAM 18 as a memory, thereby registering the DRAM 18 in a device table.
  • the access by the host processor 31 to the recognition-code register brings about a state transition to an unlocked state ST 4 .
  • the host processor 31 write an initialization request in the initialization register of the control register 64 .
  • the signal processing unit 25 and the communication-control unit 26 are initialized.
  • the writing of the initialization request changes a state to a signal-processing-processor reset state ST 5 .
  • the host processor 31 writes information in the DRAM 18 with regard to execution programs, address pointers referring to data input/output buffers, etc. Further, the host processor 31 clears a reset-signal flag of the control register 64 . When the reset-signal flag is removed, the signal processing unit 25 starts data processing. With the start of the data processing, a state is changed to a signal-processing-processor running state ST 6 .
  • a state goes to the initial state ST 1 upon completion of the data processing operations.
  • the host processor 31 does not recognize the DRAM 18 of the information processing unit 10 as a memory.
  • the initial state does not allow the DRAM 18 to be recognized as a memory so that the operation system does not take control of the DRAM 18 and use it as OS memory space.
  • keys are unlocked to allow the DRAM 18 to be recognized as a usable memory. Unlocking of the keys is tantamount to searching in the host-processor physical-address space 52 for the DRAM 18 of the information processing unit 10 which is not a conventional DRAM.
  • FIG. 16 is an illustrative drawing showing a mechanism for executing virtual-machine codes according to the present invention.
  • Microprocessors of the Intel corporation include a P55C microprocessor which can execute a multi-media-extended-instruction set MMX. This instruction set is provided as an extension to a general-purpose instruction set. If programs using the extended instruction set MMX are executed by a general-purpose processor such as a Pentium processor which does not support extended instructions, an interruption INT6 is generated as an instruction exception at the time of execution of an extended instruction. If an interruption handling routine is provided, however, the signal processing accelerator of the present invention can emulate this extended instruction, thereby serving as a virtual machine.
  • FIG. 16 shows a software structure for implementing such a virtual machine by taking the Pentium processor and the extended instruction set MMX as an example.
  • the application layer includes an ordinary application program and an MMX user program.
  • the extended instruction set MMX is used in the MMX user program, but not used in the ordinary application program. These programs are executed by a Pentium processor which does not support the extended instruction set MMX.
  • the Pentium processor When the MMX user program is executed, the Pentium processor generates an interruption INT6 at the time of execution of an extended instruction MMX.
  • a virtual-machine program VMMX in addition to the resource-management program RMI resides in the resource-management layer.
  • the virtual-machine program VMMX handles interruption.
  • the virtual-machine program VMMX writes an extended instruction MMX causing the interruption in an instruction queue (FIFO) of the main memory.
  • the virtual-machine program VMMX reads an extended instruction MMX from the FIFO of the main memory, and supplies it to the resource-management program RMI.
  • the resource-management program RMI writes programs for the signal processing accelerator to emulate the extended instruction MMX, pointers pointing to input/output references, etc., in the unified memory.
  • Each PE of the signal processing accelerator emulates the extended instruction MMX, and stores emulation results in the unified memory.
  • the emulation results are passed to the user program in the application layer via the resource-management program RMI and the virtual-machine program VMMX in the resource-management layer.
  • the interruption INT6 is detected to control the signal processing accelerator of the present invention to emulate the extended instruction MMX.
  • programs can be executed as if the processor supports the execution instruction set MMX.
  • the extended instruction set MMX, the interruption INT6, the Pentium processor, etc. are used merely as an example for explanation. That is, emulation by the signal processing accelerator as exceptional handling in response to detection of interruption is not limited to processors and systems of the Intel corporation, but can be applied to any system.
  • the virtual machine may execute an instruction of a user's own creation as exceptional handling so that the user can create and execute instructions which are not supported by any commercially available processors.
  • FIG. 17 is a flowchart of exceptional handling by the signal processing accelerator for emulation.
  • a virtual machine code (virtual machine instruction) of a user program is fetched by the host processor 31 (FIG. 1).
  • the virtual machine code is an instruction which is to be emulated by the signal processing accelerator.
  • the host processor 31 detects an illegal instruction when decoding the virtual machine code, and generates an interruption signal INT6.
  • the interruption signal generated by the host processor 31 does not have to be INT6, but can be any code as long as the code indicates an instruction exception.
  • a virtual machine program i.e., an interruption handling routine corresponding to VMMX of FIG. 16 detects the interruption signal INT6, and transfers the virtual machine code causing the interruption to FIFO serving as an instruction queue.
  • the virtual machine code causing the interruption is assumed to be a data processing instruction.
  • the resource-management program RMI (RMI.API and RMI.VxD) reads the virtual machine code from the FIFO, and checks whether processing of a previous virtual-machine instruction is finished. After the processing of the previous virtual-machine instruction is completed, the procedure goes to a step S 54 .
  • the resource-management program RMI writes the virtual machine code in an instruction queue which stores instructions to be executed by the signal processing processor 11 (FIG. 1). After writing the virtual machine code in the instruction queue, the resource-management program RMI gives an instruction to the signal processing accelerator to emulation the virtual machine instruction, and, also, sends-a notice of execution completion to the virtual machine program.
  • the virtual machine program receives the notice of execution completion so as to know that the execution is completed, and prompts the host processor 31 to resume operations after the interruption handling.
  • step S 56 the next instruction of the user program is fetched by the host processor 31 .
  • the signal processing accelerator performs the emulation of the virtual machine instruction independently of the execution of the user program by the host processor 31 .
  • results of the emulation are stored in a virtual-machine register block (the DRAM 18 of the information processing unit 10 shown in FIG. 1).
  • the host processor 31 fetches a virtual machine code of the user program independently of the emulation by the signal processing accelerator.
  • the host processor 31 learns that this virtual machine code is an illegal instruction, and, then, generates an interruption signal INT6.
  • the interruption signal generated by the host processor 31 does not have to be INT6, but can be any code as long as the code indicates an instruction exception.
  • the virtual machine program transfers the virtual machine code causing the interruption to the FIFO which serves as an instruction queue.
  • this virtual machine code is assumed to be a data-read instruction.
  • the resource-management program RMI reads the virtual machine code from the FIFO, and checks whether processing of the previous virtual-machine instruction is finished. After the processing of the previous virtual-machine instruction is completed, the procedure goes to a step S 62 .
  • the resource-management program RMI stores the virtual machine code to the instruction queue which is provided for storing instructions to be executed by the signal processing accelerator.
  • the resource-management program RMI copies the results of the emulation from the virtual-machine register block to the memory space of the user program. Further, the resource-management program RMI sends a notice of execution completion to the virtual machine program.
  • the virtual machine program receives the notice of execution completion so as to know that the execution is completed, and prompts the host processor 31 to resume operations after the interruption handling.
  • step S 65 the next instruction of the user program is fetched by the host processor 31 .
  • the virtual machine program detects the interruption signal INT6, and the signal processing accelerator emulates the virtual machine instruction under the control of the resource-management program RMI. Therefore, the user program can be executed as if the host processor 31 itself was executing the virtual machine instructions.
  • the client processor signal processing processor or signal processing accelerator of the previous embodiments
  • the memory interface is an interface through which the host processor accesses the main memories connected to the host-memory bus, and the main memories store data and instruction codes executable by the host processor which are initially read from an auxiliary memory device.
  • FIG. 18 is a block diagram showing a switching mechanism which switches between a client processor and a memory when the client processor and the memory are connected to a host processor via a memory interface.
  • a host processor 101 is connected to a client processor 102 and a memory 103 via a switch means 104 .
  • the host processor 101 can access only one of the client processor 102 and the memory 103 at a time, and the switch means 104 controls which one of them is accessible at a given time.
  • the switch means 104 includes an address-check means 105 , a key-check means 106 , a switch flag 107 , an AND logic 108 , and a switch 109 .
  • the host processor 101 writes predetermined data at a predetermined address.
  • the address-check means 105 activates an output thereof.
  • the key-check means 106 compares the predetermined data supplied from the host processor 101 with predetermined key information. If the supplied data and the key information match, the key-check means 106 sets a flag to the switch flag 107 .
  • the switch flag 107 produces an active output when a flag is set.
  • the AND logic 108 opens the switch 109 when both the output of the address-check means 105 and the output of the switch flag 107 are active. In this manner, the host processor 101 accesses the client processor 102 instead of accessing the memory 103 . When the client processor 102 needs to access the memory 103 , the host processor 101 supplies predetermined data to a predetermined address so as to clear the flag of the switch flag 107 .
  • writing of predetermined key data at a predetermined address makes it possible to switch between the client processor 102 and the memory 103 . If a comparison between data and key information is made more than one time, a probability of an accidental match between the data and the key can be reduced. Namely, the larger the number of required comparison, the greater the reliability of the match.
  • the predetermined address described above may be a particular address in a memory space.
  • FIG. 19 is a circuit diagram of the address-check means 105 which activates an output thereof when a particular address in a memory space is provided.
  • the address-check means 105 includes a storage means 111 for storing the particular address and a comparator 112 . When the same address as that stored in the storage means 111 is provided, the address-check means 105 of FIG. 19 activates an output thereof.
  • the predetermined address described above may be an address within a particular range in a memory space.
  • FIG. 20 is a circuit diagram of the address-check means 105 which activates an output thereof when an address within a particular memory-space range is provided.
  • the address-check means 105 includes a storage means 111 A for storing a first address, a storage means 111 B for storing a second address, comparators 112 A and 112 B, and an AND logic 113 .
  • the comparator 112 A activates an output thereof when a provided address is larger than the first address stored in the storage means 111 A.
  • the comparator 112 B activates an output thereof when the provided address is smaller than the second address stored in the storage means 111 B.
  • An address-check output from the AND logic 113 therefore, becomes active when the provided address is within a range between the first address and the second address.
  • bit positions in a data-bit arrangement are changed at a memory interface. Such a change is brought about when a data bus is laid out from a host processor to memories by placing emphasis on factors such as a noise reduction and a layout-area-size reduction while ignoring an order of bit lines of the data bus.
  • FIG. 21 is an illustrative drawing schematically showing a change of bit positions in a bit arrangement. As shown in FIG. 21, the most significant bit MSB on the host-processor side is changed to a fourth bit on the memory side, and the least significant bit LSB is displaced to a third-bit position, for example.
  • Such shuffling of bit positions in a bit arrangement does not surface as a problem in a conventional computer system since data stored in memories in a shuffled bit order is read out and transmitted to the host processor in a rearranged and corrected bit order.
  • FIG. 22A is an illustrative drawing showing a relation between a data word and sub-words
  • FIG. 22B is an illustrative drawing showing a key code (key information).
  • key information key information
  • a data word in which each sub-word is a key code may be supplied from a host processor to the key-check means 106 to obviate the problem of the data-bit shuffling.
  • switching of sub-words during an intervening path does not affect the comparison of each sub-word with the key code by the key-check means 106 , and, thus, a correct check result is obtained.
  • FIG. 23 is a flowchart of a process of generating data words in which each sub-word is comprised of a key code.
  • each datum x[i] is a key code which is comprised of Kw bits.
  • a loop repeating Mw/Kw times is started.
  • Mw is the number of data-word bits (e.g., 32)
  • Kw is the number of sub-word bits (e.g., 8).
  • a bit-wise OR operation is performed between y[i) and x(i), and an obtained result is substituted for an old value of y[i].
  • each bit of y(i] is shifted to the left by Kw bits. That is, the datum x[i] incorporated into y[i] at the step S 23 - 5 is shifted to a sub-word second from the right.
  • Lw data y[i] are obtained as output data.
  • Each datum y[i] has sub-words each of which is comprised of the key code.
  • a switch between the client processor and the memory is made when data is written at a predetermined address, as previously described.
  • the host processor it is preferable for the host processor to be able to confirm if a switch is actually made after an attempt to switch over to the client processor is made.
  • the predetermined key data is read from the client processor, and the host processor performs a key comparison.
  • FIG. 24 is a flowchart of a process of reading data words in which each sub-word is comprised of a key code, and extracting the key code from the data words.
  • each datum y[i] is comprised of Mr bits.
  • a mask MASK which is comprised of Mr bits having lower Kr bits of 1 and the remaining bits of 0 is created.
  • a bit-wise AND operation is performed between the mask MASK and the datum y[i], and an obtained result is substituted for x[i].
  • Nr data x[i] are obtained as output data.
  • Each datum x[i] is compared with the predetermined key code to allow the host computer to check whether an attempted switch has actually taken effect.
  • FIGS. 25A and 25B are illustrative drawings for explaining a key comparison which is made by using a time data series to avoid an effect of the shuffling of bit positions.
  • a plurality of data words each of which is either an all-zero bit pattern or an all-one bit pattern, are written into the memory space. If one bit is taken out from each of the data words and arranged in a time order, a time data series as shown in FIG. 25B can be formed. This time data series is not affected by whatever shuffling of bit positions occurring through the memory interface, and, thus, can be used as data for a key comparison.
  • FIG. 26 is a flowchart of a process of generating data based on a key code so that the data has each bit thereof representing one bit of the key code in a time order.
  • each datum x[i] is a key code which is comprised of Kw bits.
  • a mask MASK comprised of Kw bits is created. Only the least significant bit of the mask MASK is 1, and other bits are 0.
  • step S 26 - 5 an OR operation is performed between x[i] and the mask MASK. If the resulting value is 1, the procedure goes to a step S 26 - 6 . Otherwise, the procedure goes to a step S 26 - 7 .
  • step S 26 - 6 datum y[jKw+i] comprised of Mw bits are set to 1 with respect to all bits thereof.
  • the datum y[jKw+i] comprised of Mw bits are set to 0 with respect to all bits thereof.
  • (Kw)x(Lw) data y[i] are obtained as output data.
  • Each datum y[i] is comprised of Mw bits, where either all of the Mw bits are 0 or all of the Mr bits are 1.
  • the line of bits represents a time series corresponding to the key code.
  • FIG. 27 is a flowchart of a process of extracting a key code from data that is read.
  • each datum y[i] is comprised of Mr bits.
  • a mask MASK which is comprised of Mr bits having a value of 1 only in the least significant bit is created.
  • a loop repeating Kr times based on a variable i is started.
  • a value of y[jKr+i] is checked. If all the bits are 1, the procedure goes to a step S 27 - 8 . If all the bits are 0, the procedure goes to a step S 27 - 9 . Otherwise, the procedure ends with an error report.
  • a bit-wise OR operation is performed between the mask MASK and the datum x[j], and an obtained result is substituted for x[j].
  • Nr/Kr data x[i] are obtained.
  • Each datum x[i] is comprised of Kr bits.
  • Each datum x[i] is compared with the predetermined key code to allow the host computer to check whether an attempted switch has actually taken effect.
  • FIG. 28 is an illustrative drawing for explaining a key comparison which is made based on the number of 0s or 1s so as to nullify the effect of the bit-position shuffling. Counting the numbers of 0s and 1s included in a data word shown in the figure finds that there are fourteen 0s and eighteen 1s. The numbers of 0s and 1s included in a data word do not change whatever bit-position shuffling takes place through the memory interface. The numbers of 0s and 1s thus can be used as data for a key comparison.
  • FIG. 29 is a flowchart of a process of counting the number of is included in each data word when a plurality of data words are provided.
  • each datum x[i] is comprised of Kw bits.
  • a mask MASK comprised of Kw bits is created. Only the least significant bit of the mask MASK is 1, and other bits are 0.
  • y[j] is set to zero, and a variable temp is set equal to x[j].
  • a bit-wise AND operation is performed between the variable temp and the mask MASK. If the resulting value is 0, the procedure skips a step S 29 - 7 . If the resulting value is equal to the mask MASK, the procedure goes to the step S 29 - 7 .
  • step S 29 - 7 y[j] is incremented by 1.
  • variable temp is shifted to the right by one bit.
  • FIG. 30 is a flowchart of a process of generating a plurality of data words such that the number of is included in a given data word is equal to a number that is represented by a corresponding input data word when a plurality of input data words are supplied.
  • FIG. 30 is a flowchart of a process of extracting a key code from data that is read.
  • each datum y[i] is comprised of Mr bits.
  • a mask MASK which is comprised of Mr bits having a value of 1 only in the least significant bit is created.
  • a loop repeating Kr times based on a variable i is started.
  • step S 30 - 8 a bit-wise OR operation is performed between the mask MASK and the datum x[j], and an obtained result is substituted for x[j].
  • Each datum x[j] is comprised of Kr bits, in which y[j] bits are 1 and remaining bits are 0.
  • a plurality of data words x are obtained such that the number of is included in a given data word x is equal to a number that is represented by a corresponding data word y when a plurality of data words y are supplied.
  • FIG. 31 is a flowchart of a variation of the switching process based on a key comparison.
  • a plurality of key data may be written in the memory space and compared with a plurality of key codes, so as to achieve a highly reliable verification (i.e., verification of a switch request) excluding a possibility of a coincidental match.
  • a reliability of the verification can be further enhanced by checking the number of write operations and the number of read operations in addition to the checking of key information.
  • step S 31 - 3 a check is made whether all of Wi key data match corresponding key codes. If they do, the procedure goes to a step S 31 - 4 . Otherwise, the procedure goes to the step S 31 - 7 .
  • the read operations mean reading some data from a predetermined address. All that matters here is only the number of executed read instructions, and the contents of data obtained through the read operations are irrelevant with regard to this verification operation. Only the counted number is used in the verification process.
  • step S 31 - 5 the loop having repeated N times is finished.
  • step S 31 - 7 it is ascertained that the verification has given a negative result.
  • FIG. 32 is a flowchart of another variation of the switching process based on a key comparison.
  • a check is made whether a predetermined pattern included in key data matches a verification pattern prior to the checking of key information. This process excludes cases in which no pattern match is obtained before conducting the check of key information, so that a verification process can be conducted at a higher speed.
  • a check is made whether a predetermined pattern in the key data matches a verification pattern. If it does, the procedure goes to a step S 32 - 3 . Otherwise, the procedure goes to a step S 32 - 5 .
  • step S 32 - 3 a check is made whether a key match is found. If it is, the procedure goes to a step S 32 - 4 . Otherwise, the procedure goes to the step S 32 - 5 .
  • step S 32 - 4 it is ascertained that the verification has given a positive result.
  • step S 32 - 5 it is ascertained that the verification has given a negative result.
  • the above-mentioned predetermined pattern may be a pattern which is included in a data word written as key data when the system does not shuffle bit positions.
  • the predetermined pattern may be a pattern which is contained in key data extracted from written data words, or may be a pattern which is contained in a data word itself.
  • FIG. 33 is an illustrative drawing for explaining a pattern-check process in which parity is used as the predetermined pattern.
  • FIG. 34 is a flowchart of a process of checking supplied data with regard to parity thereof.
  • a step S 34 - 1 data x comprised of Kw bits is supplied.
  • a mask MASK which is comprised of Kw bits and has a value of 1 only at the least significant bit is created.
  • a variable y is set to zero.
  • step S 34 - 5 an AND operation is performed between the mask MASK and the data x, and, further, an EXOR operation is taken between the result of the AND operation and the variable y.
  • step S 34 - 7 the loop is ended when the above-procedure is repeated Kw times.
  • the variable y is checked. If the variable y is 0, the number of 1s in the data x is even. If the variable y is 1, the number of is in the data x is odd.
  • FIG. 35 is an illustrative drawing for explaining a process of making a pattern check using a predetermined set of bits included in the data.
  • a plurality of bits are extracted from data at predetermined bit positions, and a set of these bits is to be used as the predetermined pattern for pattern check. If a check is made as to whether this pattern matches a verification pattern prior to the check of key information, cases in which keys do not match can be quickly excluded in advance.
  • FIG. 36 is a flowchart of a method of extracting a predetermined set of bits from supplied data and using the predetermined set for pattern check.
  • data x comprised of K bits is supplied. Further, data CHK comprised of K bits used for check as well as a verification pattern PAT comprised of N bits are prepared.
  • the data CHK has a bit value of 1 at predetermined bit positions, and has a bit value of 0 at other bit positions. The number of bits that are 1 is N.
  • a mask MASK which is comprised of K bits and only the least significant bit thereof is 1 is created.
  • the verification pattern PAT is shifted to the right by one bit.
  • FIG. 37 is an illustrative drawing for explaining a pattern-check process which is performed based on whether a supplied data word is comprised of a predetermined pattern.
  • FIG. 38 is a flowchart of a process of checking whether a supplied data word is comprised of 0s or comprised of 1s.
  • a mask MASK which is comprised of K bits and has a bit value of 1 only at the least significant bit thereof is created.
  • a value of the datum y and a value of the datum z are checked. If both values are 0 or both values are 1, the procedure goes to a step S 38 - 10 . Otherwise, the procedure goes to a step S 38 - 11 .
  • FIG. 39 is a flowchart of a process of acquiring a memory area by means of OS (operation system) functions of the host processor.
  • step S 39 - 2 a search is made for applications which are currently using the client processor area.
  • an area is obtained for accommodating an application which is currently using the client processor area, and the application is reallocated to the newly obtained area.
  • the client processor is allocated to the created vacant area.
  • FIG. 40 is a block diagram of a system in which control of allocating memory areas and control of switching applications are carried out independently from each other.
  • a system of FIG. 40 includes a host processor 201 , a client processor 202 , a main memory 203 , a switch 204 , a switch 205 , an address bus 206 , and a data bus 207 .
  • the host processor 201 allocates a client processor area to the memory space of the main memory 203 , and controls the allocated area.
  • the client processor 202 exchanges data with the host processor 201 through an interface established in the memory space of the main memory 203 .
  • the main memory 203 is a work memory directly connected to the host processor 201 .
  • the client processor 202 includes a processor 210 , a memory 211 , a memory-allocation circuit 212 , an address-comparison circuit 213 , a processor-RST register 214 , and a memory-allocation-RST register 215 .
  • the host processor 201 writes control information and data in an area which the host processor 201 allocated in the memory space.
  • the processor 210 receives the control information and the data to attend to data processing. Data obtained as a result of the processing is written in the memory 211 , and is passed to the host processor 201 .
  • the memory 211 provides a memory space which overlaps the main memory space of the main memory 203 .
  • the memory space of the memory 211 is allocated to an address space of the processor 210 . Through this allocated memory space, the host processor 201 and the client processor 202 can communicate with each other.
  • the memory-allocation circuit 212 operates when the client processor 202 is not allocated to the main memory, and monitors an access request which is sent from the host processor 201 .
  • the memory-allocation circuit 212 learns which portion of the main memory should be allocated to the client processor 202 when a predetermined access of a special kind (e.g., an access by key information) is attempted, and, then, allocates the client processor 202 to this portion of the memory space.
  • a special kind e.g., an access by key information
  • the address-comparison circuit 213 operates after the client processor 202 is allocated to the main memory.
  • the address-comparison circuit 213 checks whether an access from the host processor 201 is directed to the client processor area, an address of which is kept in the memory-allocation circuit 212 .
  • the processor-RST register 214 is used for resetting the processor 210 .
  • the client processor 202 is initialized.
  • a new application program is loaded into the memory 211 from the host processor 201 during a reset-ASSERT period, so that a switch to the new application can be made after a reset-NEGATE signal.
  • the memory-allocation-RST register 215 is used for resetting allocation of the client processor 202 to the main memory space.
  • the memory-allocation circuit 212 which has allocated the client processor 202 to the main memory, is reset.
  • An area where the client processor 202 is allocated is changed from an address space A to an address space B, for example as shown in FIG. 40, during a reset-ASSERT period.
  • communication between the host processor 201 and the client processor 202 can be conducted using a newly allocated area in the main memory after a reset-NEGATE signal. In this manner, reallocation of a memory area can be carried out in real-time so as to rearrange the main memory area in a manner convenient to the host processor 201 .
  • the switches 204 and 205 are provided between the data bus 207 and one of the client processor 202 and the main memory 203 , respectively, and is controlled by the memory-allocation circuit 212 of the client processor 202 .
  • a switch between the main memory 203 and the client processor 202 is made by using the switches 204 and 205 with respect to the host processor 201 .
  • FIG. 41 is a flowchart showing an example of a process of controlling memory allocation and switching applications in the system of FIG. 40.
  • the memory 211 is allocated to the main-memory address space A during a period when the memory-allocation-RST register 215 is provided with an ASSERT signal, and a program and data of an application A are loaded while the processor-RST register 214 is receiving an ASSERT signal. In this manner, a memory area is allocated to the application A, and data processing can now commence.
  • steps S 41 - 8 through S 41 - 12 a program and data of an application B are loaded while the processor-RST register 214 is provided with an ASSERT signal. In this manner, a switch from the application A to the application B can be carried out while the allocated memory area is retained.
  • the memory 211 is allocated to the main-memory address space B while the memory-allocation-RST register 215 is provided with an ASSERT signal.
  • the client processor 202 can be reallocated to another memory area which is convenient to the host processor 201 without initializing the application process.
  • the processor-RST register 214 for initializing the processor 210 of the client processor 202 and the memory-allocation-RST register 215 for initializing the memory-allocation circuit 212 are separately provided, so that the allocation of a memory area and the switching of applications can be conducted independently from each other.
  • FIG. 42 is a block diagram of a system in which synchronization is established between client processors or between the host processor and a client processor.
  • the system of FIG. 42 includes a host processor 301 and a plurality of client processors 302 .
  • the host processor 301 controls the client processors 302 allocated to a host-processor address space.
  • Each of the client processors 302 includes a processor 310 , a memory 311 , a start/stop resistor 312 , and a status register 313 .
  • the memory 311 is used as a venue to exchange data between the host processor 301 and the client processors 302 .
  • the host processor 301 writes control information and data in an area which the host processor 301 allocated in the memory space.
  • the processor 310 receives the control information and the data to attend to data processing. Data obtained as a result of the processing is written in the memory 311 , and is passed to the host processor 301 .
  • the start/stop resistor 312 stores information which indicates the start or stop of operations of the processor 310 .
  • the start/stop resistor 312 is accessible for read/write operations from both the host processor 301 and the processor 310 .
  • the status register 313 is set in synchronism with the start/stop resistor 312 , and stores status information of the host processor 301 or status information of the client processor 302 at a time of the start or stop of operations of the client processor 302 .
  • FIGS. 43A and 43B are charts showing an example of synchronized operations between a host processor and a client processor.
  • FIG. 43A shows a timing chart of synchronized operations
  • FIG. 43B shows details of the synchronized operations of the host processor and the client processor.
  • data streams of video data VideoA, VideoB, and VideoC are supplied from an external network attached to the system, for example.
  • the host processor 301 receives a video-synchronization signal Vsync.
  • the host processor 301 controls the status of the video-synchronization signal Vsync by a unit of one frame, and activates a client processor 302 .
  • the host processor 301 controls the start/stop resistor 312 and the status register 313 of the client processor 302 in order to control the client processor 302 based on a start setting, a stop setting (i.e., processing status indicating completion of current data processing), an input status indicating whether data for next processing is received, etc.
  • FIGS. 44A and 44B are charts showing an example of synchronized operations between client processors.
  • FIG. 44A shows a timing chart of synchronized operations
  • FIG. 44B shows details of the synchronized operations of the host processor and the client processors.
  • data streams of video data VideoA, VideoB, and VideoC are supplied from an external network attached to the system, for example, and, further, data streams of audio data AudioA through AudioI are supplied.
  • One of the two client processors 302 attends to processing of the video data VideoA through VideoC, for example, and the other performs the processing of the audio data AudioA through AudioI.
  • the host processor 301 controls the start/stop resistor 312 and the status register 313 of the client processor 302 by a unit of one video frame in order to control the client processor 302 based on a start setting, a stop setting (i.e., processing status indicating completion of current data processing), an input status indicating whether data for next processing is received, etc.
  • the signal processing described in the above embodiments according to the present invention is not limited to processing of image data or audio data, but can be applied to another type of signal processing such as conversion of communication protocols.

Abstract

A signal processing device is provided by connecting information processing units to each other using communication links and connecting the information processing units to each other and a host processor using an external bus. Parallel and pipe-line processing is accommodated by communication between the information processing units via the communication links and respective storage units of the information processing units and also by communication between the host processor and the information processing units via the external bus and the respective storage units. The host processor can communicate with the information processing units via the external bus through the respective storage units, the storage units being accessible as memory by the host processor. If each information processing unit is implemented on a single chip as an integrated circuit, the signal processing device can be incorporated in a computer in the same manner as conventional memory device are incorporated.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention generally relates to data processing devices, and particularly relates to a signal processing accelerator which is incorporated into a personal computer to effect high-speed processing of multi-media data or the like. [0002]
  • 2. Description of the Related Art [0003]
  • Recent expansion in the number of application fields of data processing has resulted in an increasing demand for a device which can process a vast amount of data such as image and audio data at high speed. In particular, multi-media equipment is required to process image and audio data or the like at high speed in line with the display speed of moving pictures. [0004]
  • Multi-media equipment for high-speed data processing generally has a system configuration which incorporates a number of pieces of dedicated hardware for respective signal processing. When high-speed data processing is achieved through dedicated hardware, however, such a system has drawbacks in costs and lack of expandability and upgradability of the equipment. That is, costs are incurred with respect to design, development, and manufacture of dedicated hardware for respective signal processing, so that a resulting system incorporating the dedicated hardware becomes expensive. Further, dedicated hardware is designed for specific data processing, and, thus, is limited in use thereof because only limited types of processing is executable by such hardware. A problem of lack of expandability and upgradability thus arises when there is a need to apply the hardware to a new application field. [0005]
  • Recent enhancement in speed and performance of general-purpose processors has made it possible to use general-purpose processors for high-speed data processing. When compared with systems of dedicated hardware described above, systems employing such general-purpose processors are characterized in that software is used for achieving various signal processing functions. Such software-based systems for achieving various signal processing functions have advantages in that they are implemented at relatively low cost and have superior functional expandability when compared to the dedicated-hardware systems. [0006]
  • However, software-based systems employing general-purpose processors have disadvantages as follows. [0007]
  • First, since general-purpose processors in these software-bases systems are required to run operating systems (OSs), the general-purpose processors cannot be used exclusively for signal processing. Namely, since OS tasks need to be executed during the signal processing, it is difficult to sufficiently step up the signal processing speed. This poses a problem, especially, when real-time processing is required. [0008]
  • Second, general-purpose processors are designed for handling general data operations, but are not suitable for signal processing. Because of this, general-purpose processors cannot exhibit desirable performance in a field such as image processing where parallel data processing is preferred. [0009]
  • Third, when data transfer is conducted via a bus between a general-purpose processor, memories, I/O ports, etc., an increase in bus access may result in access collisions between data transfer for the signal processing and data transfer for other processes such as OS tasks, thereby reducing the speed of data transfer. For example, when data is first transferred from an I/O port to a memory, then transferred many times between the memory and a general-purpose processor to carry out signal processing, and finally transferred from the memory to the I/O port, the frequency of bus access is quite high. In such a case, a decrease in data-transfer speed due to access collisions cannot be avoided. [0010]
  • The software-based signal processing systems employing general-purpose processors also have a problem in that a sufficient data processing speed cannot be achieved because of the three reasons identified above. This problem becomes particularly conspicuous when a plurality of signal processing operations need to be simultaneously carried out as required in multi-media signal processing. [0011]
  • On the other hand, a system configuration which incorporates DSPs (digital signal processors) or the like specifically designed for signal processing can achieve processing of image and audio data at such a speed as to meet various requirements. Further, so-called multi-media-extended-instruction-set processors (e.g., P55C of the Intel corporation) are now available, and these processors are equipped with signal processing functions as extended instructions in addition to an original set of instructions. [0012]
  • Such a system, however, incurs additional costs for design, development, and manufacture of dedicated hardware portions for signal processing. Also, bus collisions at a time of data transfer place a cap on the data processing speed as described above. Accordingly, this system cannot exhibit a desirable performance because of bus-access conflict between a plurality of signal processing operations particularly when such a plurality of signal processing operations need to be simultaneously carried out as in multi-media signal processing. [0013]
  • Accordingly, there is a need for an architecture of a signal processing accelerator which is incorporated into a personal computer or the like and can achieve a sufficient signal processing speed at a relatively low cost. [0014]
  • SUMMARY OF THE INVENTION
  • Accordingly, it is a general object of the present invention to provide a signal processing accelerator having an architecture which can satisfy the need described above. [0015]
  • It is another and more specific object of the present invention to provide a signal processing accelerator having an architecture which is incorporated into a personal computer or the like and can achieve a sufficient signal processing speed at a relatively low cost. [0016]
  • In order to achieve the aforementioned objects according to the present invention, a device for signal processing includes a plurality of information processing units and communication links connected between the information processing units. Each of the information processing units includes a signal processing unit for processing data, a communication control unit for communicating with other information processing units via the communication links, and a storage unit for storing data and programs executed by the signal processing unit. The storage unit is used for data exchange between each of the information processing units and an external bus. [0017]
  • In the device described above, the plurality of information processing units can communicate with each other without using the external bus, so that high-speed signal processing is achieved by avoiding a reduction in data processing speed caused by bus conflict. Further, a plurality of processes such as image processing and audio processing can be allocated to different information processing units, so that this device is suited to multi-media signal processing which requires processing of a plurality of different signals. [0018]
  • According to one aspect of the present invention, the storage unit includes a memory for storing the data and the programs and a memory control unit for controlling the memory such that the memory is accessible from the external bus when the data exchange is conducted. [0019]
  • Accordingly, if the signal processing unit, the communication control unit, and the storage unit are implemented on a single chip as an integrated circuit, the device can be incorporated in a personal computer or the like in the same manner as conventional memory devices are incorporated. Because of this, costs for incorporating the above device can be included in the costs of the memory devices, and the device inserted into the memory devices can be utilized by using software. In this manner, costs of hardware extension can be reduced while providing a system having a functional expandability. [0020]
  • According to another aspect of the present invention, the memory control unit includes a key-data storage unit for storing key information, and controls the memory such that the memory is accessible from the external bus only when data matching the key information is provided from the external bus. [0021]
  • In the device described above, the memory of the storage unit is generally conditioned so as not to be accessible as a memory from the external bus, thereby preventing the operation system of a host processor from taking control of the memory for use as an OS memory space. Only when the keys are unlocked, will data exchange between the host processor and the information processing units become possible. [0022]
  • According to yet another aspect of the present invention, when a process is comprised of procedures which can be simultaneously carried out in parallel, the information processing units are operated in parallel, thereby achieving high-speed data processing. [0023]
  • According to yet another aspect of the present invention, when a process is comprised of procedures among which a given procedure requires results of another procedure and any procedure needs to be repeated, the information processing units are operated in a pipe-line manner such that all procedures are carried out at the same time by respective information processing units, thereby achieving high-speed data processing. [0024]
  • According to still another aspect of the present invention, when a host processor (CPU) generates an interruption upon fetching and decoding a particular instruction, the information processing units can serve as a virtual machine by executing this instruction on behalf of the host processor. This configuration allows the system to run a program as if the host processor executed such an instruction. [0025]
  • According to further aspect of the present invention, a first resource-management program and a second resource-management program are provided in an application interface layer and a device-driver layer, respectively, and control process allocation and data connection as well as hardware of the information processing units. Because of this configuration, data to be processed does not have to be brought all the way up to the uppermost application layer where user programs and application programs reside, so that efficient processing is carried out with regard to data transfer. [0026]
  • Other objects and further features of the present invention will be apparent from the following detailed description when read in conjunction with the accompanying drawings.[0027]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram of a signal processing accelerator according to the present invention; [0028]
  • FIG. 2 is an illustrative drawing showing software architecture corresponding to the hardware architecture of the signal processing accelerator shown in FIG. 1; [0029]
  • FIG. 3 is an illustrative drawing showing resource allocation of the signal processing accelerator under the control of the resource-management programs shown in FIG. 2; [0030]
  • FIGS. 4A through 4C are illustrative drawings showing examples of connections between processor elements; [0031]
  • FIGS. 5A and 5B are illustrative drawings showing two different allocations of processes; [0032]
  • FIG. 6 is a flowchart of a main routine of a dynamic-process-allocation algorithm according to the present invention; [0033]
  • FIG. 7 is a flowchart of step S[0034] 3 as shown in FIG. 6, where one processor element is allocated to a process;
  • FIG. 8 is a flowchart of step S[0035] 4 as shown in FIG. 6, where a plurality of processor elements are allocated to a process;
  • FIG. 9 is a flowchart of calculation of an allocation efficiency for a next allocation which is conducted at the step S[0036] 14 of FIG. 7 as well as at the step S28 of FIG. 8;
  • FIG. 10A is a table chart showing results obtained when the dynamic-process-allocation algorithm is used; [0037]
  • FIG. 10B is a table chart showing results obtained when a simple allocation algorithm is used; [0038]
  • FIG. 11A is a table chart showing simulation conditions; [0039]
  • FIG. 11B is a table chart showing simulation results; [0040]
  • FIG. 12 is an illustrative drawing showing a memory space into which the DRAM of the signal processing accelerator of FIG. 1 is incorporated when the resource-management program controls the processor elements to carry out data processing; [0041]
  • FIG. 13 is an illustrative drawing showing address conversion between a host processor and the signal processing accelerator; [0042]
  • FIG. 14 is a block diagram of a detailed configuration of the DRAM controller of FIG. 1; [0043]
  • FIG. 15 is an illustrative drawing showing state transitions of an information processing unit of FIG. 1; [0044]
  • FIG. 16 is an illustrative drawing showing a mechanism for executing virtual-machine codes according to the present invention; [0045]
  • FIG. 17 is a flowchart of exceptional handling by the signal processing accelerator for emulation; [0046]
  • FIG. 18 is a block diagram showing a switching mechanism which switches, between a client processor and a memory when the client processor and the memory are connected to a host processor via a memory interface; [0047]
  • FIG. 19 is a circuit diagram of an address-check means of FIG. 18 which activates an output thereof when a particular address in a memory space is provided; [0048]
  • FIG. 20 is a circuit diagram of the address-check means of FIG. 18 which activates an output thereof when an address within a particular memory-space range is provided; [0049]
  • FIG. 21 is an illustrative drawing schematically showing a change of bit positions in a bit arrangement; [0050]
  • FIG. 22A is an illustrative drawing showing a relation between a data word and sub-words; [0051]
  • FIG. 22B is an illustrative drawing showing a key code (key information); [0052]
  • FIG. 23 is a flowchart of a process of generating data words in which each sub-word is comprised of a key code; [0053]
  • FIG. 24 is a flowchart of a process of reading data words in which each sub-word is comprised of a key code, and extracting the key code from the data words; [0054]
  • FIGS. 25A and 25B are illustrative drawings for explaining a key comparison which is made by using a time data series to avoid an effect of the shuffling of bit positions; [0055]
  • FIG. 26 is a flowchart of a process of generating data based on a key code so that the data has each bit thereof representing one bit of the key code in a time order; [0056]
  • FIG. 27 is a flowchart of a process of extracting a key code from data that is read; [0057]
  • FIG. 28 is an illustrative drawing for explaining a key comparison which is made based on the number of 0s or 1s so as to nullify the effect of the bit-position shuffling; [0058]
  • FIG. 29 is a flowchart of a process of counting the number of is included in each data word when a plurality of data words are provided; [0059]
  • FIG. 30 is a flowchart of a process of generating a plurality of data words such that the number of is included in a given data word is equal to a number that is represented by a corresponding input data word when a plurality of input data words are supplied; [0060]
  • FIG. 31 is a flowchart of a variation of the switching process based on a key comparison; [0061]
  • FIG. 32 is a flowchart of another variation of the switching process based on a key comparison; [0062]
  • FIG. 33 is an illustrative drawing for explaining a pattern-check process in which parity is used as a predetermined pattern; [0063]
  • FIG. 34 is a flowchart of a process of checking supplied data with regard to parity thereof; [0064]
  • FIG. 35 is an illustrative drawing for explaining a process of making a pattern check using a predetermined set of bits included in data; [0065]
  • FIG. 36 is a flowchart of a method of extracting a predetermined set of bits from supplied data and using the predetermined set for pattern check; [0066]
  • FIG. 37 is an illustrative drawing for explaining a pattern-check process which is performed based on whether a supplied data word is comprised of a predetermined pattern; [0067]
  • FIG. 38 is a flowchart of a process of checking whether a supplied data word is comprised of 0s or comprised of 1s; [0068]
  • FIG. 39 is a flowchart of a process of acquiring a memory area by means of OS (operating system) functions of a host processor; [0069]
  • FIG. 40 is a block diagram of a system in which control of allocating memory areas and control of switching applications are carried out independently from each other; [0070]
  • FIG. 41 is a flowchart showing an example of a process of controlling memory allocation and switching applications in the system of FIG. 40; [0071]
  • FIG. 42 is a block diagram of a system in, which synchronization is established between client processors or between the host processor and a client processor; [0072]
  • FIGS. 43A and 43B are charts showing an example of synchronized operations between a host processor and a client processor; and [0073]
  • FIGS. 44A and 44B are charts showing an example of synchronized operations between client processors.[0074]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • In the following, embodiments of the present invention will be described with reference to the accompanying drawings. [0075]
  • FIG. 1 is a block diagram of a signal processing accelerator according to the present invention. The signal processing accelerator of FIG. 1 includes a plurality of [0076] information processing units 10 which are identical to each other. Each of the information processing units 10 is connected with each other, and, also, is connected to a host memory bus 30.
  • The [0077] information processing unit 10 includes a signal processing processor 11, an instruction cache 12, a data RAM 13, link- control units 14 and 15, a main cache 16, a link cache 17, a DRAM 18, and a DRAM controller 19. The signal processing processor 11, the instruction cache 12, and the data RAM 13 together make up a signal processing unit 25. The link- control units 14 and 15, the main cache 16, and the link cache 17 together form a communication-control unit 26.
  • A [0078] communication link 20 is connected to each of the link-control units, 14 and 15. The information processing units 10 are connected in series via the communication links 20 so that each information processing unit 10 can directly communicate with adjacent information processing units 10 via the communication links 20. Communication between two information processing units 10 which are spaced apart from each other can be effected by successively propagating communication data through intervening information processing units 10 from a given unit to the next unit. FIG. 1 shows three information processing units 10 as an example, but any number of information processing units 10 can be provided. Each of the information processing units 10 is connected to the host memory bus 30 via the DRAM controller 19. A host processor 31 is connected to the host memory bus 30.
  • The [0079] signal processing processor 11 carries out signal processing functions. The instruction cache 12 is a cache memory for storing instructions which are frequently used by the signal processing processor 11. Programs carried out by the signal processing processor 11 are stored in the DRAM 18 in addition to the instruction cache 12. The data RAM 13 is used as a memory work area for saving intermediate results or the like obtained while the signal processing processor 11 attends to data processing.
  • The [0080] main cache 16 and the link cache 17 are cache memories for storing data which is processed by the signal processing processor 11. The main cache 16 stores data which is extracted from the DRAM 18 of the same information processing unit 10, whereas the link cache 17 holds data which is transferred from other information processing units 10 via the link- control units 14 and 15. Even when the data stored in the main cache 16 is swapped out, the same data can be retrieved from the DRAM 18 of the same information processing unit 10 when it becomes necessary. On the other hand, if the data in the link cache 17 is swapped out, the same data has to be brought in from other information processing units 10 via the communication links 20. If the main cache 16 and the link cache 17 are structured as one and the same cache memory, a problem may arise in that data transferred from another information processing unit 10 may be swapped out despite a heavy communication load in order to secure storage of data extracted from the DRAM 18 of the same information processing unit 10. Because of this, the main cache 16 and the link cache 17 are provided as separate cache memories in accordance with different functions thereof.
  • The [0081] information processing unit 10 is connected to the host memory bus 30 via the DRAM controller 19, which includes the DRAM 18. Memory space of the DRAM 18 is controlled by the DRAM controller 19, and is allocated to physical address space controlled by the host processor 31. By using physical addresses allocated to the DRAM 18, the host processor 31 can exchange data with the information processing unit 10. Namely, the host processor 31 accesses the DRAM 18 via the host memory bus 30, and writes data and programs in the DRAM 18. The information processing unit 10 uses the data stored in the DRAM 18 as input data, and executes the programs in the DRAM 18 so as to carry out required data processing.
  • During the data processing, the plurality of [0082] information processing units 10 carry out parallel processing or pipe-line processing by communicating with each other. For example, some of the information processing units 10 may perform parallel image-data processing, while other information processing units 10 carry out parallel audio-data processing. As previously described, communications between the plurality of information processing units 10 are conducted via the communication links 20. Because of these dedicated communication links, the host memory bus 30 can provide a data-transfer route for other processes such as OS processes of the host processor 31 without paying attention to the communications between the information processing units 10.
  • Each of the [0083] information processing units 10 stores processed data in the DRAM 18. The host processor 31 accesses the DRAM 18 via the host memory bus 30 so as to read the processed data from the DRAM 18.
  • The signal processing accelerator of FIG. 1 includes the plurality of [0084] information processing units 10 which can communicate with each other without using the host memory bus 30 to carry out parallel processing, so that high-speed signal processing is achieved without suffering a decrease in data processing speed which would be caused by bus-access conflict. Further, each of the information processing units 10 may be assigned to each of a plurality of processes in image processing and/or audio processing, so that the signal processing accelerator of FIG. 1 is suitable for multi-media signal processing since such processing requires simultaneous processing of different signals.
  • Moreover, the signal processing unit [0085] 25 (i.e., the signal processing processor 11, the instruction cache 12, and the data RAM 13), the communication-control unit 26 (i.e., the main cache 16, the link cache 17, and the link-control units 14 and 15), and the memory (i.e., the DRAM 18 and the DRAM controller 19) may be implemented as an integrated circuit on one chip. In this manner, the signal processing accelerator of FIG. 1 can be incorporated into a personal computer in the same manner as prior-art memory devices are incorporated. Because of this, costs for incorporating the signal processing accelerator can be included into the costs of the memory devices, and the signal processing accelerator inserted in the memory devices can be utilized by using software. In this manner, costs of hardware extension can be reduced while providing a system having a functional expandability.
  • FIG. 2 is an illustrative drawing showing a software architecture corresponding to the hardware architecture of the signal processing accelerator shown in FIG. 1. [0086]
  • FIG. 2 shows a hierarchy of software structure with regard to a personal computer by superimposing a software structure of the present invention on that of the prior art. In the prior art, a hierarchical structure of software includes an application layer, an API (application interface) layer, and a device-driver layer. The application layer includes user programs and application programs such as Windows application programs. The API layer includes programs such as dynamic loading libraries which are dynamically loaded at a time of process execution. The device-driver layer includes device drivers for controlling hardware of various devices. In FIG. 2, the API layer includes three dynamic loading libraries XX.API, YY.API, and ZZ.API. Each of these library programs operates device hardware XX, YY, and ZZ, respectively, by using device drivers XX.VxD, YY.VxD, and ZZ.VxD, respectively, located in the device-driver layer. The device hardware XX, YY, and ZZ include a hard drive, a display, a memory, a DSP, etc. [0087]
  • The software architecture of the present invention includes a dynamic loading library RMI.API in the API layer for operating the signal processing accelerator of the present invention, and further includes a device driver RMI.VxD in the device-driver layer for controlling the signal processing accelerator. [0088]
  • RMI.API is a dynamic loading library for carrying out processes such as allocation of resources (the information processing units [0089] 10) provided in the signal processing accelerator, and is communicable with other dynamic loading libraries of the prior art. The layer which includes RMI.API can be regarded as the API layer as in the prior art. Since this layer serves as a venue in which RMI.API communicates with other dynamic loading libraries, however, this layer is also referred to as an RMI-API-association layer when discussing some features of the present invention.
  • RMI.VxD is a device driver for controlling the hardware of the signal processing accelerator, and can exchange data with other prior-art device drivers. The layer which includes RMI.VxD can be regarded as the device-driver layer as in the prior art. Since this layer serves as a venue in which RMI.VxD communicates with other device drivers, however, this layer is also referred to as an driver-association layer when discussing some features of the present invention. [0090]
  • The RMI.VxD controls resources (the information processing units [0091] 10) of the hardware, but processes closer to the user-application level such as allocation of resources are carried out by RMI.API. Since functional differences between RMI.API and RMI.VxD are not so distinctive as to provide a clear boundary, the RMI-API-association layer and the driver-association layer are collectively referred to as a resource-management layer in the present invention.
  • Drawbacks of the prior-art software architecture will be illustrated below by taking an example in which an application program applies data processing using the device YY to data stored in the device XX, and outputs processed data to the device ZZ. In this example, the data is brought to the application layer from the device XX via XX.VxD and XX.API in the hierarchy of the software structure shown in FIG. 2. Then, the data is supplied to the device YY via YY.API and YY.VxD. After processing of the data, processed data is brought up to the application layer again, and, finally, is provided to the device ZZ via ZZ.API and ZZ.VxD. Moving the data back and forth between the device hardware and the uppermost layer of the software hierarchy corresponds to repeated data transfer via a bus between respective hardware devices. [0092]
  • In the software architecture of the present invention, when an application program makes a request for processing of data using the signal processing accelerator and outputting of processed data to the device ZZ, RMI.VxD in the resource-management layer receives data from the device driver XX.VxD, and uses the signal processing accelerator for processing of the data before supplying the processed data to the device driver ZZ.VxD. In this manner, there is no need to bring up data all the way to the uppermost layer of the software hierarchy. This is equivalent to reducing the number of bus accesses to a minimum level when data transfer via a bus is taken into consideration. [0093]
  • In multi-media data processing in which a plurality of processes need to be simultaneously carried out as in image-data processing and audio-data processing, the hierarchical software structure of the prior art suffers an increasing number of data transfers between the uppermost application layer and a plurality of devices as the number of processes increases. On the other hand, the hierarchical software structure of the present invention is provided with the resource-management layer which controls the signal processing accelerator to carry out a plurality of processes simultaneously, so that there is no need to bring data all the way up to the uppermost application layer, thereby achieving effective processing in terms of data transfer. [0094]
  • FIG. 3 is an illustrative drawing showing resource allocation of the signal processing accelerator under the control of the resource-management programs (RMI.API and RMI.VxD) in the resource-management layer. As previously described, RMI.API mainly controls resource allocation while RMI.VxD controls hardware in actual data processing. [0095]
  • In FIG. 3, a resource-management program RMI controls a plurality of PEs (processor elements) [0096] 40. Each of the PEs 40 corresponds to a respective one of the signal processing processors 11 in FIG. 1, and conceptually represents a data processing function of the signal processing processor 11. An input channel 41 is a pointer pointing to the device driver XX.VxD, and an output channel 42 is a pointer pointing to the device driver ZZ.VxD. In this manner, the resource-management program RMI receives data from the device driver XX.VxD, and uses the plurality of the PEs 40 for processing the data before outputting the processed data to the device driver ZZ.VxD. If input and output device drivers are different from those of this example, reference destinations by the input channel 41 and the output channel 42 are changed.
  • The resource-management program RMI receives from a user program a pointer pointing to an input-data origin, a pointer pointing to an output-data destination, information on execution programs which are to be executed by the [0097] PEs 40, and information about how to connect the PEs 40. The execution programs to be executed by the PEs 40 are written specifically for the signal processing accelerator of FIG. 1, and each of the execution programs may be a program module executed by the respective PEs 40, which serves as a processing element. In this case, the number of execution programs is the same as the number of the PEs 40 to be used. The user program loads the dynamic loading library RMI.API first, and, then, specifies the input-data origin, the output-data destination, names of the execution programs, and connections between the execution programs.
  • The resource-management program RMI selects a required number of [0098] PEs 40 from available PEs 40 stored in a free-resource stack 43, and allocates the selected PEs 40 to respective processing of the execution programs. Further, the resource-management program RMI arranges the input channel 41, the allocated PEs 40, and the output channel 42 so as to establish a connection for data processing between the device driver XX.VxD pointed to by the input channel 41 and the device driver ZZ.VxD pointed to by the output channel 42. After the data processing, the resource-management program RMI releases the allocated PEs 40, and stores them in the free-resource stack 43.
  • When an execution of a process is requested during an execution of another process, the resource-management program RMI selects a requested number of [0099] PEs 40 from available PEs 40 stored in the free-resource stack 43, and allocates the selected PEs 40 to the new process. Control following the allocation is the same as before.
  • FIGS. 4A through 4C are illustrative drawings showing examples of connections between the [0100] PEs 40.
  • FIG. 4A shows a configuration in which the [0101] PEs 40 are arranged in series to carry out pipe-line processing. In computation of computer graphics, for example, various data processing operations are involved, including geometric transformation computation which divides objects into polygons and obtains vertex coordinates, colors, reflection indexes, etc., rasterizing computation which scans interiors of the polygons after dividing the interiors into scan lines, texture mapping computation which maps texture onto pixels on each scan line, and Z-buffer computation which carries out hidden-surface processing based on a distance of each pixel from the viewpoint. In this example, the PEs 40 arranged in series as shown in FIG. 4A are each allocated to the geometric transformation computation, the rasterizing computation, the texture mapping computation, and the Z-buffer computation so as to achieve high-speed processing through a pipe-line operation of these computations.
  • FIG. 4B shows a configuration in which the [0102] PEs 40 are arranged in parallel to perform parallel processing. In image processing, for example, a Laplacian filter is often applied to an image in order to enhance edges. In such a case, a filtering operation needs to be conducted at each position within the image. The configuration of FIG. 4B may be applied to this case by dividing the image into a plurality of small portions and allocating the PEs 40 to filtering operations of respective portions. In this manner, the filtering operation in its entirety can be carried out in parallel, thereby achieving high-speed processing.
  • The pipe-line operation by a series connection as shown in FIG. 4A can be combined with the parallel processing by a parallel connection as shown in FIG. 4B. FIG. 4C shows an example of connections of the [0103] PEs 40 which combines the series connection and the parallel connection. When two images are matched with each other, for example, products of pixel values between the two images are obtained with respect to each pixel, and, then, a sum of the products is calculated. In such a case, PEs 40 arranged in parallel may be used for calculating products of pixel values at a plurality of portions within the image frame, and a PE 40 connected in series with these PEs 40 may be used for obtaining the sum of the products. In this manner, high-speed processing is achieved.
  • As shown in FIG. 3, the resource-management program RMI in the resource-management layer controls the resource allocation of the signal processing accelerator. Performance of the system will be greatly affected by how PEs [0104] 40 (free resources) are allocated to respective programs.
  • For example, assume that the signal processing accelerator is comprised of four information processing units [0105] 10 (i.e., four PEs 40). Further, assume that a process includes two procedures, and each procedure is carried out by a single PE 40. The amount of data transfer between two PEs 40 in operation is denoted as M. In a description given below, two such processes are carried out by allocating the four PEs 40.
  • FIGS. 5A and 5B are illustrative drawings showing two different allocations of processes. [0106]
  • In FIG. 5A, a [0107] process 1 is allocated to processor elements PE1 and PE3, and a process 2 is allocated to processor elements PE2 and PE4. Since the amount of data transfer between two PEs allocated to the same process is M, M data transfer is conducted between PE1 and PE3 via PE2. By the same token, M data transfer is present between PE2 and PE4 via PE3. Therefore, the amount of data transfer is M between PE1 and PE2, is 2M between PE2 and PE3, and is M between PE3 and PE4.
  • In FIG. 5B, the [0108] process 1 is allocated to the processor elements PE1 and PE2, and the process 2 is allocated to processor elements PE3 and PE4. In this case, the amount of data transfer is M between PE1 and PE2 as well as between PE3 and PE4. No data transfer is present between PE2 and PE3.
  • If the capacity of data transfer through a link connecting adjacent PEs is 1.5 Mbit/sec, for example, the configuration of FIG. 5A cannot allow both processes to run at the same time. On the other hand, the configuration of FIG. 5B achieves simultaneous computation of both processes. In this manner, the way in which the processes are allocated determines the amount of data transfer on each link, creating one case in which simultaneous computation is possible and the other case in which simultaneous computation is impossible. When simultaneous computation is impossible, data processing speed as a whole is bound to decrease. How [0109] many PEs 40 are requested at what timing is totally unknown before the request is actually made, so that allocation of the PEs 40 should be dynamically handled. Because of this, there is a need for an efficient dynamic-process-allocation algorithm.
  • In the following, a dynamic-process-allocation algorithm according to the present invention will be described. This dynamic-process-allocation algorithm allocates resources according to two criteria. The first criterion requires that data transfer of an allocated process causes the least interference possible to other data transfers. The second criterion requires that a next process can be allocated to cause the least interference possible to other data transfers after the allocation of a current process. [0110]
  • First, various amounts of data transfers on transfer links which result from allocation of a given process are estimated, and a maximum amount of data transfer is identified. This maximum amount is obtained with respect to each different pattern of allocation. Then, an allocation pattern which minimizes this maximum amount is selected. This is a selection of an allocation pattern according to the first criterion. [0111]
  • It is likely that a plurality of allocation patterns are selected according to the first criterion. The second criterion is used to select one of the allocation patterns such that allocation of a next process will suffer the least interference possible as a result of the allocation of the current process. [0112]
  • FIG. 6 is a flowchart of a main routine of the dynamic-process-allocation algorithm. As shown in FIG. 6, this algorithm obtains an optimum allocation in a different manner between an allocation of one PE and an allocation of a plurality of PEs. When use of only one PE is requested, no data transfer will result from the allocation of a pertinent process, so that influence on the next process allocation should only be taken into consideration. On the other hand, when a plurality of PEs are requested, data transfer should be conducted via communication links, so that efficiency of the current process varies depending on the way in which the process is allocated to the PEs. [0113]
  • At a step S[0114] 1 in FIG. 6, a check is made as to how many PEs are available as free resources. If there is no available PE, the procedure ends. Otherwise, the procedure goes to a step S2.
  • At the step S[0115] 2, a check is made whether the number of requested PEs is one. If it is one, the procedure goes to a step S3. Otherwise, the procedure goes to a step S4.
  • At the step S[0116] 3, one PE is allocated to the process. If the allocation fails, the procedure ends. Otherwise, the procedure goes to a step S5.
  • At the step S[0117] 4, a plurality of PEs are allocated to the process. If the allocation fails, the procedure ends. Otherwise, the procedure goes to the step S5.
  • At the step S[0118] 5, a process ID is updated. Namely, a new process ID is assigned to the newly allocated process. This ends the procedure.
  • FIG. 7 is a flowchart of the step S[0119] 3 shown-in FIG. 6 where one PE is allocated to the process.
  • At a step S[0120] 1, a search is made for available PEs.
  • At a step S[0121] 12, a loop is introduced to all the available PEs. Namely, the following steps are successively carried out for each of the available PEs.
  • At a step S[0122] 13, one PE is tentatively allocated to the process.
  • At a step S[0123] 14, an allocation efficiency for a next allocation is calculated. The calculation of the allocation efficiency will be described later. A resulting value of the calculation is hereinafter denoted as RESULT.
  • At a step S[0124] 15, a minimum value of RESULT is held. That is, if RESULT of the current tentative allocation is smaller than a stored value of RESULT, the stored value is replaced by the newly obtained RESULT.
  • At a step S[0125] 16, the loop is ended.
  • At a step S[0126] 17, the PE which brought about the minimum value of RESULT is allocated to the process. This ends the procedure.
  • FIG. 8 is a flowchart of the step S[0127] 4 shown in FIG. 6 where a plurality of PEs are allocated to the process.
  • At a step S[0128] 21, a search is made for available PEs.
  • At a step S[0129] 22, a first loop is introduced to all combinations of the requested number of available PEs. Namely, the following steps are successively carried out for each of the combinations formed by the requested number of available PEs.
  • At a step S[0130] 23, the amount of data transfer is calculated with respect to each communication link by assuming that the process is allocated to a current combination of PEs.
  • At a step S[0131] 24, a combination of PEs which minimizes a maximum amount of data transfer is held.
  • At a step S[0132] 25, the first loop is ended.
  • At a step S[0133] 26, a second loop is introduced to all the selected combinations which equally minimize the maximum amount of data transfer.
  • At a step S[0134] 27, a plurality of PEs are tentatively allocated to the process according to one of the selected combinations.
  • At a step S[0135] 28, the allocation efficiency for a next allocation is calculated. The calculation of the allocation efficiency will be described later. A resulting value of the calculation is denoted as RESULT.
  • At a step S[0136] 29, a minimum value of RESULT is held. That is, if RESULT of the current tentative allocation is smaller than a stored value of RESULT, the stored value is replaced by the newly obtained RESULT.
  • At a step S[0137] 30, the second loop is ended.
  • At a step S[0138] 31, a combination of PEs which brought about the minimum value of RESULT is actually allocated to the process. This ends the procedure.
  • FIG. 9 is a flowchart of the calculation of the allocation efficiency for a next allocation which is conducted at the step S[0139] 14 of FIG. 7 as well as at the step S28 of FIG. 8.
  • At a step S[0140] 41, the leftmost PE is selected from all the available PEs, and is denoted as PE_L.
  • At a step S[0141] 42, the rightmost PE is selected from all the available PEs, and is denoted as PE_R.
  • At a step S[0142] 43, the number of communication links intervening between PE_L and PE_R is counted, and the obtained number is provided as RESULT. This ends the procedure.
  • As described above, the flowchart of FIG. 9 selects the leftmost PE and the rightmost PE, and counts the number of intervening communication links. The number of intervening communication links is used here as a measure to indicate the allocation efficiency for a next process. One may appreciate ramifications of use of this measure from the following description. If the number of intervening communication links is small, this indicates that all the available PEs exist in a small pack. If the number of intervening communication links is large, on the other hand, this means that the available PEs are spread over a wide range along the extension of communication links. If the process is allocated to PEs packed in a narrow range, the number of intervening PEs between the allocated PEs should be relatively small, so that the maximum amount of data transfer after the allocation is likely to be small. If the process is allocated to PEs spread over a wide range, the number of intervening PEs is relatively large so that the data transfer for the allocated process is more likely to interfere with other data transfers. In this case, thus, the maximum amount of data transfer after the allocation is likely to be large. In this manner, the flowchart of FIG. 9 provides a criterion indicating to what extent the available PEs remaining after a process allocation are packed in a narrow range. That is, this criterion indicates how efficient the data transfer will be when some of the available PEs remaining after a process allocation ate used for a next allocation. [0143]
  • In what follows, a description will be given with regard to a case in which requests for resources and releases of resources are made as follows: [0144]
  • 1. a PE is requested (for process [0145] 1);
  • 2. a PE is further requested (for process [0146] 2);
  • 3. the PE for [0147] process 1 is released;
  • 4. two PEs conducting M data transfer therebetween are requested (for process [0148] 3);
  • 5. the PE for [0149] process 2 is released; and
  • 6. two PEs conducting M data transfer therebetween are requested (for process [0150] 4).
  • FIG. 10A is a table chart showing results obtained when the dynamic-process-allocation algorithm described above is used. FIG. 10B is a table chart showing results obtained when a simple allocation algorithm is used. This simple allocation algorithm allocates available PEs successively selected from the left hand side. In the figures, LK[n, m] represents the amount of data transfer on a communication link between the n-th PE and the m-th PE. [0151]
  • As can be seen from FIG. 10A and FIG. 10B, LK[[0152] 2, 3] at time 6 is zero when the dynamic-process-allocation algorithm of the present invention is used, and is 2M when the simple allocation algorithm is used. The allocation patterns at time 6 of these two algorithms correspond to allocation patterns shown in FIGS. 5A and 5B. The maximum amount of data transfer over the entire time span is M in the dynamic-process-allocation algorithm of the present invention. On the other hand, the simple allocation algorithm results in the maximum amount of data transfer being 2M. In this manner, the dynamic-process-allocation algorithm of the present invention achieves an efficient process allocation.
  • A computer simulation was conducted in order to demonstrate the dynamic-process-allocation algorithm of the present invention. FIG. 11A is a table chart showing simulation conditions, and FIG. 11B is a table chart showing simulation results. In this computer simulation, a random number generation is used for determining the number of PEs requested at a time of a resource request. For the sake of simplicity, the amount of data transfer between PEs in each process is set to 1. [0153]
  • In a total of 1023 trials, the sum of maximum amounts of data transfer is 1279 in the case of the simple allocation algorithm. In the case of the dynamic-process-allocation algorithm of the present invention, this sum is 1220. These numbers indicate that the dynamic-process-allocation algorithm of the present invention allocates resources so as to maintain a small amount of data transfer. [0154]
  • FIG. 11B shows a comparison between the algorithm of the present invention and the simple allocation algorithm by using the maximum amount of data transfer as a measure for comparison. As shown in FIG. 11B, only in about 5% of the total trials, did the simple allocation algorithm show superior results to the algorithm of the present invention. The algorithm of the present invention outperformed the simple allocation algorithm in about 11% of the total trials. These figures clearly signify superiority of the algorithm of the present invention. [0155]
  • FIG. 12 is an illustrative drawing showing a memory space into which the [0156] DRAM 18 of the signal processing accelerator of FIG. 1 is incorporated when the resource-management program controls the PEs 40 to carry out data processing.
  • As described in connection with FIG. 1, the [0157] information processing units 10 of the signal processing accelerator communicate with each other via the communication links 20. In this manner, the signal processing processors 11 of the information processing units 10 can access the DRAMs 18 of other information processing units 10 in order to read and write data. When viewed from each of the signal processing processors 11, the DRAMs 18 of the information processing units 10 form a single unified memory space.
  • As shown in FIG. 12, the [0158] PEs 40 which carry out data processing between the input channel 41 and the output channel 42 exchange data with each other via the unified memory space. Namely, data processed by a given PE 40 is stored at an indicated address in the unified memory, and another PE reads the data from this address of the unified memory to further process the data. In this manner, the DRAMs 18, which are provided for the respective information processing units 10, can make up the unified memory space because of communications between the information processing units 10. Each information processing unit 10 thus can attend to information processing without discriminating a memory space of its own unit against memory spaces of other information processing units 10.
  • FIG. 13 is an illustrative drawing showing address conversion between the host processor and the signal processing accelerator. As shown in FIG. 13, a [0159] VM mechanism 55 for controlling virtual memory on the side of the host processor converts a host-processor virtual-address space 51 into a host-processor physical-address space 52. The host-processor virtual-address space 51 may, for example, constitute a 5-GB memory space at maximum.
  • An accelerator physical-[0160] address space 53 of a given DRAM 18, which is controlled by the DRAM controller 19 of a corresponding information processing unit 10, is allocated to part of the host-processor physical-address space 52. The accelerator physical-address space 53 may, for example, be a 512-KB memory space at maximum. Since the accelerator physical-address space 53 is allocated to the host-processor physical-address space 52 and hence to the host-processor virtual-address space 51, data transfer is achieved between the host processor 31 and the information processing unit 10.
  • The accelerator physical-[0161] address space 53 is allocated to an accelerator processor-address space 54 (i.e., the unified memory space) with a predetermined offset. The accelerator processor-address space 54 may, for example, have a 4-GB memory space at maximum. The accelerator physical-address space 53 of each DRAM 18, which is controlled by the DRAM controller 19 of a corresponding information processing unit 10, is allocated to a respective portion of the accelerator processor-address space 54 by a respective predetermined offset. In this manner, the DRAMs 18 provided in the respective information processing units 10 together make up the unified memory.
  • FIG. 14 is a block diagram of a detailed configuration of the [0162] DRAM controller 19 of the information processing unit 10.
  • As previously described, the [0163] DRAM 18 controlled by the DRAM controller 19 is allocated to the host-processor virtual-address space 51 of the host processor 31. This allocation to the host-processor virtual-address space 51 of the host processor 31 can be controlled by the operating system. When the signal processing accelerator is used with a conventional operating system which does not support such an allocation function, however, a precaution must be taken to prohibit the operating system from taking control of the DRAM 18 and exclusively using it as part of the OS memory space. That is, the DRAM 18 should not be recognized by the operating system as a memory at an initial state. Only when the signal processing accelerator is used, should the DRAM 18 be allocated to the host-processor virtual-address space 51 as a memory accessible from the operating system. Once allocated, the DRAM 18 can serve as a venue through which data is exchanged between the host processor 31 and the signal processing accelerator.
  • In order to achieve this, the [0164] host processor 31 is allowed to allocate the DRAM 18 to the host-processor virtual-address space 51 only after successfully unlocking keys. That is, the host processor 31 supplies data to the DRAM controller 19 as key information such that the DRAM 18 is recognized as a memory by the operating system only when the supplied data matches predetermined key information.
  • The [0165] DRAM controller 19 of FIG. 14 includes the DRAM 18, a key register 61, a comparator 62, a host-memory control circuit 63, and a control register 64. The DRAM 18 is a conventional DRAM which includes memory cells, a word-selection mechanism, a column-selection mechanism, sense amplifiers, a precharging mechanism, etc., and a description thereof will be omitted.
  • The key register [0166] 61 stores a plurality of key data. When a plurality of data provided from the host processor 31 (FIG. 1) matches the plurality of keys stored in the key register 61, the keys are unlocked. The comparator 62 compares the data supplied from the host processor 31 via the host memory bus 30 (FIG. 1) with the plurality of key data stored in the key register 61. The comparator 62 supplies results of the comparison to the host-memory control circuit 63.
  • The host-[0167] memory control circuit 63 controls the DRAM 18, key register 61, and the control register 64. When data is written in a particular register which is provided in the control register 64 for the purpose of key matching, the host-memory control circuit 63 supplies a plurality of key numbers to the key register 61 so that the key register 61 outputs a plurality of keys. The comparator 62 compares the plurality of keys with the plurality of data provided from the host memory bus 30. If all the keys are matched, the host-memory control circuit 63 writes recognition codes in a recognition-code register of the control register 64. The host processor 31 reads and recognizes the recognition codes so that the host processor 31 recognizes the DRAM 18 and the DRAM controller 19 as a memory. Details of this recognition operation will be later described.
  • In addition to the key matching register and the recognition-code register described above, the [0168] control register 64 includes an initialization register for initializing the signal processing unit 25 and the communication-control unit 26, a reset-signal flag for controlling operations of the signal processing unit 25, etc.
  • FIG. 15 is an illustrative drawing showing state transitions of the [0169] information processing unit 10.
  • Immediately after the system is turned on, the [0170] information processing unit 10 is in an initial state ST1. By this time, other conventional DRAMs connected to the host memory bus 30 are recognized as memories. The DRAM 18 of the information processing unit 10, however, is not recognized as memories at this time.
  • In the initial state ST[0171] 1, data and storage addresses are supplied from the resource-management program or other programs via the host memory bus 30. At the same time, control signals RAS, /CAS, WE, and /OE are provided in order to access the DRAM controller 19. If data is written in the key matching register of the control register 64, a state transition takes place from the initial state ST1 to the key matching mode ST2.
  • In the key matching mode ST[0172] 2, the host-memory control circuit 63 supplies a plurality of key numbers to the key register 61. The key register 61 successively feeds a plurality of keys to the comparator 62 in response to the plurality of key numbers. The comparator 62 compares the plurality of data provided via the host memory bus 30 with the plurality of keys, and sends comparison results to the host-memory control circuit 63. If all the keys match the supplied data, a state transition is made from the key matching mode ST2 to a tentatively unlocked state ST3. If all the keys and the data do not match, the information processing unit 10 goes back to the initial state ST1.
  • In the tentatively unlocked state ST[0173] 3, the host-memory control circuit 63 writes recognition codes in the recognition-code register of the control register 64. The host processor 31 reads the recognition codes, and checks the codes to recognize the DRAM 18 as a memory, thereby registering the DRAM 18 in a device table. The access by the host processor 31 to the recognition-code register brings about a state transition to an unlocked state ST4.
  • In the unlocked state ST[0174] 4, the host processor 31 write an initialization request in the initialization register of the control register 64. When the initialization request is written, the signal processing unit 25 and the communication-control unit 26 are initialized. The writing of the initialization request changes a state to a signal-processing-processor reset state ST5.
  • In the signal-processing-processor reset state ST[0175] 5, the host processor 31 writes information in the DRAM 18 with regard to execution programs, address pointers referring to data input/output buffers, etc. Further, the host processor 31 clears a reset-signal flag of the control register 64. When the reset-signal flag is removed, the signal processing unit 25 starts data processing. With the start of the data processing, a state is changed to a signal-processing-processor running state ST6.
  • Changing the reset-signal flag back and forth between the cleared status and the set status, a state can be shifted back and forth between the signal-processing-processor reset state ST[0176] 5 and the signal-processing-processor running state ST6. In this manner, programs can be updated and results can be read out at appropriate timings during the signal-processing-processor reset state ST5.
  • From the signal-processing-processor running state ST[0177] 6, a state goes to the initial state ST1 upon completion of the data processing operations. In this state, the host processor 31 does not recognize the DRAM 18 of the information processing unit 10 as a memory.
  • As described above, the initial state does not allow the [0178] DRAM 18 to be recognized as a memory so that the operation system does not take control of the DRAM 18 and use it as OS memory space. When the signal processing accelerator is used, however, keys are unlocked to allow the DRAM 18 to be recognized as a usable memory. Unlocking of the keys is tantamount to searching in the host-processor physical-address space 52 for the DRAM 18 of the information processing unit 10 which is not a conventional DRAM.
  • FIG. 16 is an illustrative drawing showing a mechanism for executing virtual-machine codes according to the present invention. Microprocessors of the Intel corporation, for example, include a P55C microprocessor which can execute a multi-media-extended-instruction set MMX. This instruction set is provided as an extension to a general-purpose instruction set. If programs using the extended instruction set MMX are executed by a general-purpose processor such as a Pentium processor which does not support extended instructions, an interruption INT6 is generated as an instruction exception at the time of execution of an extended instruction. If an interruption handling routine is provided, however, the signal processing accelerator of the present invention can emulate this extended instruction, thereby serving as a virtual machine. [0179]
  • FIG. 16 shows a software structure for implementing such a virtual machine by taking the Pentium processor and the extended instruction set MMX as an example. As shown in FIG. 16, the application layer includes an ordinary application program and an MMX user program. The extended instruction set MMX is used in the MMX user program, but not used in the ordinary application program. These programs are executed by a Pentium processor which does not support the extended instruction set MMX. When the MMX user program is executed, the Pentium processor generates an interruption INT6 at the time of execution of an extended instruction MMX. [0180]
  • A virtual-machine program VMMX in addition to the resource-management program RMI resides in the resource-management layer. The virtual-machine program VMMX handles interruption. Upon receiving the interruption INT6, the virtual-machine program VMMX writes an extended instruction MMX causing the interruption in an instruction queue (FIFO) of the main memory. The virtual-machine program VMMX reads an extended instruction MMX from the FIFO of the main memory, and supplies it to the resource-management program RMI. The resource-management program RMI writes programs for the signal processing accelerator to emulate the extended instruction MMX, pointers pointing to input/output references, etc., in the unified memory. Each PE of the signal processing accelerator emulates the extended instruction MMX, and stores emulation results in the unified memory. The emulation results are passed to the user program in the application layer via the resource-management program RMI and the virtual-machine program VMMX in the resource-management layer. [0181]
  • In this manner, when a general-purpose processor not supporting the extended instruction set MMX executes an extended instruction MMX, the interruption INT6 is detected to control the signal processing accelerator of the present invention to emulate the extended instruction MMX. In this configuration, programs can be executed as if the processor supports the execution instruction set MMX. Here, the extended instruction set MMX, the interruption INT6, the Pentium processor, etc., are used merely as an example for explanation. That is, emulation by the signal processing accelerator as exceptional handling in response to detection of interruption is not limited to processors and systems of the Intel corporation, but can be applied to any system. Further, the virtual machine (signal processing accelerator) may execute an instruction of a user's own creation as exceptional handling so that the user can create and execute instructions which are not supported by any commercially available processors. [0182]
  • FIG. 17 is a flowchart of exceptional handling by the signal processing accelerator for emulation. [0183]
  • At a step S[0184] 51, a virtual machine code (virtual machine instruction) of a user program is fetched by the host processor 31 (FIG. 1). The virtual machine code is an instruction which is to be emulated by the signal processing accelerator. The host processor 31 detects an illegal instruction when decoding the virtual machine code, and generates an interruption signal INT6. The interruption signal generated by the host processor 31 does not have to be INT6, but can be any code as long as the code indicates an instruction exception.
  • At a step S[0185] 52, a virtual machine program (i.e., an interruption handling routine corresponding to VMMX of FIG. 16) detects the interruption signal INT6, and transfers the virtual machine code causing the interruption to FIFO serving as an instruction queue. In this example, the virtual machine code causing the interruption is assumed to be a data processing instruction.
  • At a step S[0186] 53, the resource-management program RMI (RMI.API and RMI.VxD) reads the virtual machine code from the FIFO, and checks whether processing of a previous virtual-machine instruction is finished. After the processing of the previous virtual-machine instruction is completed, the procedure goes to a step S54.
  • At the step S[0187] 54, the resource-management program RMI writes the virtual machine code in an instruction queue which stores instructions to be executed by the signal processing processor 11 (FIG. 1). After writing the virtual machine code in the instruction queue, the resource-management program RMI gives an instruction to the signal processing accelerator to emulation the virtual machine instruction, and, also, sends-a notice of execution completion to the virtual machine program.
  • At a step S[0188] 55, the virtual machine program receives the notice of execution completion so as to know that the execution is completed, and prompts the host processor 31 to resume operations after the interruption handling.
  • At a step S[0189] 56, the next instruction of the user program is fetched by the host processor 31.
  • At a step S[0190] 57, the signal processing accelerator performs the emulation of the virtual machine instruction independently of the execution of the user program by the host processor 31.
  • At a step S[0191] 58, results of the emulation are stored in a virtual-machine register block (the DRAM 18 of the information processing unit 10 shown in FIG. 1).
  • At a step S[0192] 59, the host processor 31 fetches a virtual machine code of the user program independently of the emulation by the signal processing accelerator. When decoding the virtual machine code, the host processor 31 learns that this virtual machine code is an illegal instruction, and, then, generates an interruption signal INT6. The interruption signal generated by the host processor 31 does not have to be INT6, but can be any code as long as the code indicates an instruction exception.
  • At a step S[0193] 60, upon detection of the interruption signal INT6, the virtual machine program transfers the virtual machine code causing the interruption to the FIFO which serves as an instruction queue. In this example, this virtual machine code is assumed to be a data-read instruction.
  • At a step S[0194] 61, the resource-management program RMI reads the virtual machine code from the FIFO, and checks whether processing of the previous virtual-machine instruction is finished. After the processing of the previous virtual-machine instruction is completed, the procedure goes to a step S62.
  • At a step S[0195] 62, the resource-management program RMI stores the virtual machine code to the instruction queue which is provided for storing instructions to be executed by the signal processing accelerator.
  • At a step S[0196] 63, the resource-management program RMI copies the results of the emulation from the virtual-machine register block to the memory space of the user program. Further, the resource-management program RMI sends a notice of execution completion to the virtual machine program.
  • At a step S[0197] 64, the virtual machine program receives the notice of execution completion so as to know that the execution is completed, and prompts the host processor 31 to resume operations after the interruption handling.
  • At a step S[0198] 65, the next instruction of the user program is fetched by the host processor 31.
  • In this manner, when a virtual machine instruction is fetched by the [0199] host processor 31, the virtual machine program detects the interruption signal INT6, and the signal processing accelerator emulates the virtual machine instruction under the control of the resource-management program RMI. Therefore, the user program can be executed as if the host processor 31 itself was executing the virtual machine instructions.
  • In what follows, various methods of controlling a client processor by using a host processor will be described with regard to a system in which the client processor (signal processing processor or signal processing accelerator of the previous embodiments) is connected to the host processor via a memory interface (i.e., host-memory bus to which main memories are connected). Here, the memory interface is an interface through which the host processor accesses the main memories connected to the host-memory bus, and the main memories store data and instruction codes executable by the host processor which are initially read from an auxiliary memory device. [0200]
  • FIG. 18 is a block diagram showing a switching mechanism which switches between a client processor and a memory when the client processor and the memory are connected to a host processor via a memory interface. [0201]
  • As shown in FIG. 18, a [0202] host processor 101 is connected to a client processor 102 and a memory 103 via a switch means 104. The host processor 101 can access only one of the client processor 102 and the memory 103 at a time, and the switch means 104 controls which one of them is accessible at a given time.
  • The switch means [0203] 104 includes an address-check means 105, a key-check means 106, a switch flag 107, an AND logic 108, and a switch 109. The host processor 101 writes predetermined data at a predetermined address. Upon the address input, the address-check means 105 activates an output thereof. When the output of the address-check means 105 is activated, the key-check means 106 compares the predetermined data supplied from the host processor 101 with predetermined key information. If the supplied data and the key information match, the key-check means 106 sets a flag to the switch flag 107. The switch flag 107 produces an active output when a flag is set. The AND logic 108 opens the switch 109 when both the output of the address-check means 105 and the output of the switch flag 107 are active. In this manner, the host processor 101 accesses the client processor 102 instead of accessing the memory 103. When the client processor 102 needs to access the memory 103, the host processor 101 supplies predetermined data to a predetermined address so as to clear the flag of the switch flag 107.
  • In this manner, writing of predetermined key data at a predetermined address makes it possible to switch between the [0204] client processor 102 and the memory 103. If a comparison between data and key information is made more than one time, a probability of an accidental match between the data and the key can be reduced. Namely, the larger the number of required comparison, the greater the reliability of the match.
  • The predetermined address described above may be a particular address in a memory space. [0205]
  • FIG. 19 is a circuit diagram of the address-check means [0206] 105 which activates an output thereof when a particular address in a memory space is provided.
  • The address-check means [0207] 105 includes a storage means 111 for storing the particular address and a comparator 112. When the same address as that stored in the storage means 111 is provided, the address-check means 105 of FIG. 19 activates an output thereof.
  • Alternately, the predetermined address described above may be an address within a particular range in a memory space. [0208]
  • FIG. 20 is a circuit diagram of the address-check means [0209] 105 which activates an output thereof when an address within a particular memory-space range is provided.
  • The address-check means [0210] 105 includes a storage means 111A for storing a first address, a storage means 111B for storing a second address, comparators 112A and 112B, and an AND logic 113. The comparator 112A activates an output thereof when a provided address is larger than the first address stored in the storage means 111A. The comparator 112B activates an output thereof when the provided address is smaller than the second address stored in the storage means 111B. An address-check output from the AND logic 113, therefore, becomes active when the provided address is within a range between the first address and the second address.
  • In FIG. 18, when the key-check means [0211] 106 compares supplied data with predetermined key information, shuffling of bit positions in a data-bit arrangement may surface as a problem. In a computer system, generally, bit positions in a data-bit arrangement are changed at a memory interface. Such a change is brought about when a data bus is laid out from a host processor to memories by placing emphasis on factors such as a noise reduction and a layout-area-size reduction while ignoring an order of bit lines of the data bus.
  • FIG. 21 is an illustrative drawing schematically showing a change of bit positions in a bit arrangement. As shown in FIG. 21, the most significant bit MSB on the host-processor side is changed to a fourth bit on the memory side, and the least significant bit LSB is displaced to a third-bit position, for example. Such shuffling of bit positions in a bit arrangement does not surface as a problem in a conventional computer system since data stored in memories in a shuffled bit order is read out and transmitted to the host processor in a rearranged and corrected bit order. [0212]
  • When the key-check means [0213] 106 compares supplied data with predetermined key information, however, shuffling of bit positions renders it meaningless to make a direct comparison of bit patterns between the supplied data and the key information. To overcome this problem, various methods as described below are presented.
  • FIG. 22A is an illustrative drawing showing a relation between a data word and sub-words, and FIG. 22B is an illustrative drawing showing a key code (key information). In many systems, generally, changes of bit positions only occur sub-word by sub-word, and bit positions within a given sub-word are not changed. When the data word is 32 bits including four sub-words of 8 bits, for example, sub-words are switched with each other, but an arrangement of 8 bits within each sub-word does not change in such systems. [0214]
  • In such systems, therefore, a data word in which each sub-word is a key code (key information) may be supplied from a host processor to the key-check means [0215] 106 to obviate the problem of the data-bit shuffling. In this case, switching of sub-words during an intervening path does not affect the comparison of each sub-word with the key code by the key-check means 106, and, thus, a correct check result is obtained.
  • FIG. 23 is a flowchart of a process of generating data words in which each sub-word is comprised of a key code. [0216]
  • At a step S[0217] 23-1, Lw data x[i] (i=1, . . . , Lw) are provided. Here, each datum x[i] is a key code which is comprised of Kw bits.
  • At a step S[0218] 23-2, a loop repeating Lw times based on a variable i is started.
  • At a step S[0219] 23-3, datum y[i] comprised of Mw bits is set to zero.
  • At a step S[0220] 23-4, a loop repeating Mw/Kw times is started. Here, Mw is the number of data-word bits (e.g., 32), and Kw is the number of sub-word bits (e.g., 8).
  • At a step S[0221] 23-5, a bit-wise OR operation is performed between y[i) and x(i), and an obtained result is substituted for an old value of y[i].
  • At a step S[0222] 23-6, each bit of y(i] is shifted to the left by Kw bits. That is, the datum x[i] incorporated into y[i] at the step S23-5 is shifted to a sub-word second from the right.
  • At a step S[0223] 23-7, a check is made whether the above procedure is repeated Mw/Kw times. If it is, the loop is ended.
  • At a step S[0224] 23-8, a check is made whether the loop based on the variable i is repeated Lw times. If it is, the loop is ended.
  • At a step S[0225] 23-9, Lw data y[i] are obtained as output data. Each datum y[i] has sub-words each of which is comprised of the key code. When y[i] is written into a predetermined address, thus, a key-code comparison is correctly made even when there is shuffling of sub-word orders.
  • In the system of FIG. 18, a switch between the client processor and the memory is made when data is written at a predetermined address, as previously described. In this case, it is preferable for the host processor to be able to confirm if a switch is actually made after an attempt to switch over to the client processor is made. To achieve this, the predetermined key data is read from the client processor, and the host processor performs a key comparison. [0226]
  • FIG. 24 is a flowchart of a process of reading data words in which each sub-word is comprised of a key code, and extracting the key code from the data words. [0227]
  • At a step S[0228] 24-1, Nr data y[i] (i=1, . . . , Nr) are read. Here, each datum y[i] is comprised of Mr bits.
  • At a step S[0229] 24-2, a mask MASK which is comprised of Mr bits having lower Kr bits of 1 and the remaining bits of 0 is created.
  • At a step S[0230] 24-3, a loop repeating Nr times based on a variable i is started.
  • At a step S[0231] 24-4, a bit-wise AND operation is performed between the mask MASK and the datum y[i], and an obtained result is substituted for x[i].
  • At a step S[0232] 24-5, a check is made whether the loop based on the variable i is repeated Nr times. If it is, the loop is ended.
  • At a step S[0233] 24-6, Nr data x[i] are obtained as output data. Each datum x[i] is compared with the predetermined key code to allow the host computer to check whether an attempted switch has actually taken effect.
  • FIGS. 25A and 25B are illustrative drawings for explaining a key comparison which is made by using a time data series to avoid an effect of the shuffling of bit positions. As shown in FIG. 25A, a plurality of data words, each of which is either an all-zero bit pattern or an all-one bit pattern, are written into the memory space. If one bit is taken out from each of the data words and arranged in a time order, a time data series as shown in FIG. 25B can be formed. This time data series is not affected by whatever shuffling of bit positions occurring through the memory interface, and, thus, can be used as data for a key comparison. [0234]
  • FIG. 26 is a flowchart of a process of generating data based on a key code so that the data has each bit thereof representing one bit of the key code in a time order. [0235]
  • At a step S[0236] 26-1, Lw data x[i] (i=1, . . . , Lw) are provided. Here, each datum x[i] is a key code which is comprised of Kw bits.
  • At a step S[0237] 26-2, a mask MASK comprised of Kw bits is created. Only the least significant bit of the mask MASK is 1, and other bits are 0.
  • At a step S[0238] 26-3, a loop repeating Lw times based on a variable j is started.
  • At a step S[0239] 26-4, a loop repeating Kw times based on a variable i is started.
  • At a step S[0240] 26-5, an OR operation is performed between x[i] and the mask MASK. If the resulting value is 1, the procedure goes to a step S26-6. Otherwise, the procedure goes to a step S26-7.
  • At the step S[0241] 26-6, datum y[jKw+i] comprised of Mw bits are set to 1 with respect to all bits thereof.
  • At the step S[0242] 26-7, the datum y[jKw+i] comprised of Mw bits are set to 0 with respect to all bits thereof.
  • At a step S[0243] 26-8, x[i] is shifted to the right by one bit.
  • At a step S[0244] 26-9, a check is made whether the loop based on the variable i is repeated Kw times. If it is, the loop is ended.
  • At a step S[0245] 26-10, a check is made whether the loop based on the variable j is repeated Lw times. If it is, the loop is ended.
  • At a step S[0246] 26-11, (Kw)x(Lw) data y[i] are obtained as output data. Each datum y[i] is comprised of Mw bits, where either all of the Mw bits are 0 or all of the Mr bits are 1. When a line of bits is taken from the data y[i] along a time line (in a direction in which the variable i changes), the line of bits represents a time series corresponding to the key code. When the data y[i] is written in a predetermined address, a key comparison will produce a correct comparison result even when there a is bit-position shuffling.
  • FIG. 27 is a flowchart of a process of extracting a key code from data that is read. [0247]
  • At a step S[0248] 27-1, Nr data y[i] (i=1, . . . , Nr) are read. Here, each datum y[i] is comprised of Mr bits.
  • At a step S[0249] 27-2, a mask MASK which is comprised of Mr bits having a value of 1 only in the least significant bit is created.
  • At a step S[0250] 27-3, a loop repeating Nr/Kr times based on a variable j is started.
  • At a step S[0251] 27-4, datum x[j] comprised of Kr bits is set to zero.
  • At a step S[0252] 27-5, a loop repeating Kr times based on a variable i is started.
  • At a step S[0253] 27-6, x[j] is shifted to the left by one bit.
  • At a step S[0254] 27-7, a value of y[jKr+i] is checked. If all the bits are 1, the procedure goes to a step S27-8. If all the bits are 0, the procedure goes to a step S27-9. Otherwise, the procedure ends with an error report.
  • At a step S[0255] 27-8, a bit-wise OR operation is performed between the mask MASK and the datum x[j], and an obtained result is substituted for x[j].
  • At a step S[0256] 27-9, a check is made whether the loop based on the variable i is repeated Kr times. If it is, the loop is ended.
  • At a step S[0257] 27-10, a check is made whether the loop based on the variable j is repeated Nr/Kr times.
  • If it is, the loop is ended. [0258]
  • At a step S[0259] 27-11, Nr/Kr data x[i] are obtained. Each datum x[i] is comprised of Kr bits. Each datum x[i] is compared with the predetermined key code to allow the host computer to check whether an attempted switch has actually taken effect.
  • FIG. 28 is an illustrative drawing for explaining a key comparison which is made based on the number of 0s or 1s so as to nullify the effect of the bit-position shuffling. Counting the numbers of 0s and 1s included in a data word shown in the figure finds that there are fourteen 0s and eighteen 1s. The numbers of 0s and 1s included in a data word do not change whatever bit-position shuffling takes place through the memory interface. The numbers of 0s and 1s thus can be used as data for a key comparison. [0260]
  • FIG. 29 is a flowchart of a process of counting the number of is included in each data word when a plurality of data words are provided. [0261]
  • At a step S[0262] 29-1, Lw data x[i] (i=1, . . . , Lw) are provided. Here, each datum x[i] is comprised of Kw bits.
  • At a step S[0263] 29-2, a mask MASK comprised of Kw bits is created. Only the least significant bit of the mask MASK is 1, and other bits are 0.
  • At a step S[0264] 29-3, a loop repeating Lw times based on a variable j is started.
  • At a step S[0265] 29-4, y[j] is set to zero, and a variable temp is set equal to x[j].
  • At a step S[0266] 29-5, a loop repeating Kw times based on a variable i is started.
  • At a step S[0267] 29-6, a bit-wise AND operation is performed between the variable temp and the mask MASK. If the resulting value is 0, the procedure skips a step S29-7. If the resulting value is equal to the mask MASK, the procedure goes to the step S29-7.
  • At [0268]
  • the step S[0269] 29-7, y[j] is incremented by 1.
  • At a step S[0270] 29-8, the variable temp is shifted to the right by one bit.
  • At a step S[0271] 29-9, a check is made whether the loop based on the variable i is repeated Kw times. If it is, the loop is ended.
  • At a step S[0272] 29-10, a check is made whether the loop based on the variable j is repeated Lw times. If it is, the loop is ended.
  • At a step S[0273] 29-11, Lw data y[j] (j=1, . . . , Lw) are obtained. Namely, when a plurality of data words x is provided, the number of 1s included in each data word is counted to generate data y representing the numbers of 1s.
  • FIG. 30 is a flowchart of a process of generating a plurality of data words such that the number of is included in a given data word is equal to a number that is represented by a corresponding input data word when a plurality of input data words are supplied. [0274]
  • FIG. 30 is a flowchart of a process of extracting a key code from data that is read. [0275]
  • At a step S[0276] 30-1, Nr data y[i] (i=1, . . . , Nr) are supplied. Here, each datum y[i] is comprised of Mr bits.
  • At a step S[0277] 30-2, a mask MASK which is comprised of Mr bits having a value of 1 only in the least significant bit is created.
  • At a step S[0278] 30-3, a loop repeating Nr times based on a variable j is started.
  • At a step S[0279] 30-4, x[j] is set to zero.
  • At a step S[0280] 30-5, a loop repeating Kr times based on a variable i is started.
  • At a step S[0281] 30-6, x[j] is shifted to the left by one bit.
  • At a step S[0282] 30-7, a check is made whether the variable i is smaller than y[j]. If it is not, the procedure skips a step S30-8. Otherwise, the procedure goes to the step S30-8.
  • At the step S[0283] 30-8, a bit-wise OR operation is performed between the mask MASK and the datum x[j], and an obtained result is substituted for x[j].
  • At a step S[0284] 30-9, a check is made whether the loop based on the variable i is repeated Kr times. If it is, the loop is ended.
  • At a step S[0285] 30-10, a check is made whether the loop based on the variable j is repeated Nr times. If it is, the loop is ended.
  • At a step S[0286] 30-11, Nr data x[j] (j=1, . . . , Nr) are obtained. Each datum x[j] is comprised of Kr bits, in which y[j] bits are 1 and remaining bits are 0. Namely, a plurality of data words x are obtained such that the number of is included in a given data word x is equal to a number that is represented by a corresponding data word y when a plurality of data words y are supplied.
  • FIG. 31 is a flowchart of a variation of the switching process based on a key comparison. [0287]
  • As previously described, a plurality of key data may be written in the memory space and compared with a plurality of key codes, so as to achieve a highly reliable verification (i.e., verification of a switch request) excluding a possibility of a coincidental match. A reliability of the verification can be further enhanced by checking the number of write operations and the number of read operations in addition to the checking of key information. [0288]
  • At a step S[0289] 31-1, a loop repeating N times is started.
  • At a step S[0290] 31-2, a check is made whether a write operation for writing key data has been conducted exactly Wi times. If it has, the procedure goes to a step S31-3. Otherwise, the procedure goes to a step S31-7.
  • At the step S[0291] 31-3, a check is made whether all of Wi key data match corresponding key codes. If they do, the procedure goes to a step S31-4. Otherwise, the procedure goes to the step S31-7.
  • At the step S[0292] 31-4, a check is made whether the number of read operations conducted for reading data is Ri. If it is, the procedure goes to a step S31-5. Otherwise, the procedure goes to the step S317. Here, the read operations mean reading some data from a predetermined address. All that matters here is only the number of executed read instructions, and the contents of data obtained through the read operations are irrelevant with regard to this verification operation. Only the counted number is used in the verification process.
  • At the step S[0293] 31-5, the loop having repeated N times is finished.
  • At a step S[0294] 31-6, it is ascertained that the verification has given a positive result.
  • At the step S[0295] 31-7, it is ascertained that the verification has given a negative result.
  • In this manner, the number of data-read operations and the number of data-write operations are checked in addition to the check of key information so as to achieve a highly reliable verification, excluding a possibility of a coincidental match. [0296]
  • FIG. 32 is a flowchart of another variation of the switching process based on a key comparison. [0297]
  • In the process of FIG. 32, a check is made whether a predetermined pattern included in key data matches a verification pattern prior to the checking of key information. This process excludes cases in which no pattern match is obtained before conducting the check of key information, so that a verification process can be conducted at a higher speed. [0298]
  • At a step S[0299] 32-1, key data is written.
  • At a step S[0300] 32-2, a check is made whether a predetermined pattern in the key data matches a verification pattern. If it does, the procedure goes to a step S32-3. Otherwise, the procedure goes to a step S32-5.
  • At the step S[0301] 32-3, a check is made whether a key match is found. If it is, the procedure goes to a step S32-4. Otherwise, the procedure goes to the step S32-5.
  • At the step S[0302] 32-4, it is ascertained that the verification has given a positive result.
  • At the step S[0303] 32-5, it is ascertained that the verification has given a negative result.
  • In this manner, a check is made whether a match is found for a predetermined pattern so as to exclude cases in which no pattern match is obtained before conducting the check of key information, so that a verification process can be conducted at a higher speed. [0304]
  • Here, the above-mentioned predetermined pattern may be a pattern which is included in a data word written as key data when the system does not shuffle bit positions. In systems in which bit positions are shuffled, the predetermined pattern may be a pattern which is contained in key data extracted from written data words, or may be a pattern which is contained in a data word itself. [0305]
  • FIG. 33 is an illustrative drawing for explaining a pattern-check process in which parity is used as the predetermined pattern. [0306]
  • Counting the number of is included in a 32 bit data word of the figure reveals that there are eighteen is, and parity is even. If such a parity check is conducted prior to the check of key information, cases in which keys do not match can be quickly excluded in advance. [0307]
  • FIG. 34 is a flowchart of a process of checking supplied data with regard to parity thereof. [0308]
  • At [0309]
  • a step S[0310] 34-1, data x comprised of Kw bits is supplied.
  • At a step S[0311] 34-2, a mask MASK which is comprised of Kw bits and has a value of 1 only at the least significant bit is created.
  • At a step S[0312] 34-3, a variable y is set to zero.
  • At a step S[0313] 34-4, a loop repeating Kw times based on a variable i is started.
  • At a step S[0314] 34-5, an AND operation is performed between the mask MASK and the data x, and, further, an EXOR operation is taken between the result of the AND operation and the variable y.
  • At a step S[0315] 34-6, the data x is shifted to the right by one bit.
  • At a step S[0316] 34-7, the loop is ended when the above-procedure is repeated Kw times.
  • At a step S[0317] 34-8, the variable y is checked. If the variable y is 0, the number of 1s in the data x is even. If the variable y is 1, the number of is in the data x is odd.
  • When a pattern check is to be made, even parity, for example, is used as a verification pattern. Namely, the procedure shown in the flowchart of FIG. 34 is performed with regard to data x, and it is ascertained that the predetermined pattern matches the verification pattern when the obtained result y shows even parity. [0318]
  • FIG. 35 is an illustrative drawing for explaining a process of making a pattern check using a predetermined set of bits included in the data. [0319]
  • As shown in the figure, a plurality of bits are extracted from data at predetermined bit positions, and a set of these bits is to be used as the predetermined pattern for pattern check. If a check is made as to whether this pattern matches a verification pattern prior to the check of key information, cases in which keys do not match can be quickly excluded in advance. [0320]
  • FIG. 36 is a flowchart of a method of extracting a predetermined set of bits from supplied data and using the predetermined set for pattern check. [0321]
  • At a step S[0322] 36-1, data x comprised of K bits is supplied. Further, data CHK comprised of K bits used for check as well as a verification pattern PAT comprised of N bits are prepared. The data CHK has a bit value of 1 at predetermined bit positions, and has a bit value of 0 at other bit positions. The number of bits that are 1 is N.
  • At a step S[0323] 36-2, a mask MASK which is comprised of K bits and only the least significant bit thereof is 1 is created.
  • At a step S[0324] 36-3, data y is set to zero.
  • At a step S[0325] 36-4, a loop repeating K times based on a variable i is started.
  • At a step S[0326] 36-5, a check is made whether an AND operation between the mask MASK and the data CHK produces a result of 1 or a result of 0. If the result is 1, the procedure goes to a step S36-6. If the result is 0, the procedure goes to a step S36-8.
  • At a step S[0327] 36-6, a check is made whether an AND operation between the mask MASK and the data x produces the same result as an AND operation between the mask MASK and the verification pattern PAT. If it does, the procedure goes to a step S36-7. Otherwise, the procedure goes to a step S36-11.
  • At the step S[0328] 36-7, the verification pattern PAT is shifted to the right by one bit.
  • At a step S[0329] 36-8, the data CHK and the data x are shifted to the right by one bit.
  • At a step S[0330] 36-9, the loop based on the variable i is ended when the loop is repeated K times.
  • At a step S[0331] 36-10, it is ascertained that a pattern match is found.
  • At the step S[0332] 36-11, it is ascertained that no pattern match is found.
  • In this manner, a comparison can be made between the verification pattern and a set of bits provided at predetermined bit positions of the data x. [0333]
  • FIG. 37 is an illustrative drawing for explaining a pattern-check process which is performed based on whether a supplied data word is comprised of a predetermined pattern. [0334]
  • Taken as an example here is a case in which, as shown in FIG. 25A, data words either comprised of Os or comprised of is define a time series which is to be used for a key comparison. As shown in FIG. 37, a pattern check is readily performed by checking whether or not a given data word has all bits thereof comprised of the same bits which are either 0 or 1. Namely, if all bits are comprised of the same bits, a positive. verification is obtained. If all bits are not comprised of the same bits, the verification process rejects demand for the switch. If this pattern check is performed prior to a key comparison, cases in which keys do not match can be excluded in advance. [0335]
  • FIG. 38 is a flowchart of a process of checking whether a supplied data word is comprised of 0s or comprised of 1s. [0336]
  • At a step S[0337] 38-1, datum x comprised of K bits is supplied.
  • At a step S[0338] 38-2, a mask MASK which is comprised of K bits and has a bit value of 1 only at the least significant bit thereof is created.
  • At a step S[0339] 38-3, datum y is set to 1, and datum z is set to 0.
  • At a step S[0340] 38-4, a loop repeating K times based on a variable i is started.
  • At a step S[0341] 38-5, an AND operation is taken between the mask MASK and the datum x, and a further AND operation is taken between the result of the AND operation and the datum y. The obtained result is substituted for the datum y.
  • At a step S[0342] 38-6, an AND operation is taken between the mask MASK and the datum x, and, further, an OR operation is taken between the result of the AND operation and the datum z. The obtained result is substituted for the datum z.
  • At the step S[0343] 38-7, the datum x is shifted to the right by one bit.
  • At a step S[0344] 38-8, the loop based on the variable i is ended when the loop is repeated K times.
  • At a step S[0345] 38-9, a value of the datum y and a value of the datum z are checked. If both values are 0 or both values are 1, the procedure goes to a step S38-10. Otherwise, the procedure goes to a step S38-11.
  • At a step S[0346] 38-10, it is ascertained that a pattern match is found.
  • At the step S[0347] 38-11, it is ascertained that no pattern match is found.
  • In this manner, a check is made as to whether or not all the bits of the datum x are comprised of the same bits of either Os or is. That is, a comparison with a verification pattern is made. [0348]
  • In what follows, a description will be given with regard to a process of allocating a memory area which becomes necessary when the host processor controls the client processor. When an attempt is made to allocate a memory area to the client processor, an area usable by the client processor might be already occupied by another application process. In this case, reallocation of memory areas is necessary in order to provide a memory area for the client processor. [0349]
  • FIG. 39 is a flowchart of a process of acquiring a memory area by means of OS (operation system) functions of the host processor. [0350]
  • At a step S[0351] 39-1, a check is made whether an area usable by the client processor has space to accommodate another process. If there is space, the procedure goes to a step S39-6. Otherwise, the procedure goes to a step S39-2.
  • At the step S[0352] 39-2, a search is made for applications which are currently using the client processor area.
  • At a step S[0353] 39-3, a check is made whether it is possible to obtain another area for accommodating the applications currently occupying the client processor area. If it is, the procedure goes to a step S39-5. Otherwise, the procedure goes to a step S39-4.
  • At the step S[0354] 39-4, an application having a low priority order is swapped out.
  • At the step S[0355] 39-5, an area is obtained for accommodating an application which is currently using the client processor area, and the application is reallocated to the newly obtained area.
  • At the step S[0356] 39-6, the client processor is allocated to the created vacant area.
  • In this manner, reallocation of the client processor area is attended to by means of OS functions of the host processor. [0357]
  • FIG. 40 is a block diagram of a system in which control of allocating memory areas and control of switching applications are carried out independently from each other. [0358]
  • A system of FIG. 40 includes a [0359] host processor 201, a client processor 202, a main memory 203, a switch 204, a switch 205, an address bus 206, and a data bus 207.
  • The [0360] host processor 201 allocates a client processor area to the memory space of the main memory 203, and controls the allocated area.
  • The [0361] client processor 202 exchanges data with the host processor 201 through an interface established in the memory space of the main memory 203.
  • The [0362] main memory 203 is a work memory directly connected to the host processor 201.
  • The [0363] client processor 202 includes a processor 210, a memory 211, a memory-allocation circuit 212, an address-comparison circuit 213, a processor-RST register 214, and a memory-allocation-RST register 215.
  • The [0364] host processor 201 writes control information and data in an area which the host processor 201 allocated in the memory space. In response, the processor 210 receives the control information and the data to attend to data processing. Data obtained as a result of the processing is written in the memory 211, and is passed to the host processor 201.
  • The [0365] memory 211 provides a memory space which overlaps the main memory space of the main memory 203. The memory space of the memory 211 is allocated to an address space of the processor 210. Through this allocated memory space, the host processor 201 and the client processor 202 can communicate with each other.
  • The memory-[0366] allocation circuit 212 operates when the client processor 202 is not allocated to the main memory, and monitors an access request which is sent from the host processor 201. The memory-allocation circuit 212 learns which portion of the main memory should be allocated to the client processor 202 when a predetermined access of a special kind (e.g., an access by key information) is attempted, and, then, allocates the client processor 202 to this portion of the memory space.
  • The address-[0367] comparison circuit 213 operates after the client processor 202 is allocated to the main memory. The address-comparison circuit 213 checks whether an access from the host processor 201 is directed to the client processor area, an address of which is kept in the memory-allocation circuit 212.
  • The processor-[0368] RST register 214 is used for resetting the processor 210. When an ASSERT signal is sent to the processor-RST register 214, the client processor 202 is initialized. A new application program is loaded into the memory 211 from the host processor 201 during a reset-ASSERT period, so that a switch to the new application can be made after a reset-NEGATE signal.
  • The memory-allocation-[0369] RST register 215 is used for resetting allocation of the client processor 202 to the main memory space. When an ASSERT signal is sent to the memory-allocation-RST register 215, the memory-allocation circuit 212, which has allocated the client processor 202 to the main memory, is reset. An area where the client processor 202 is allocated is changed from an address space A to an address space B, for example as shown in FIG. 40, during a reset-ASSERT period. By doing so, communication between the host processor 201 and the client processor 202 can be conducted using a newly allocated area in the main memory after a reset-NEGATE signal. In this manner, reallocation of a memory area can be carried out in real-time so as to rearrange the main memory area in a manner convenient to the host processor 201.
  • The [0370] switches 204 and 205 are provided between the data bus 207 and one of the client processor 202 and the main memory 203, respectively, and is controlled by the memory-allocation circuit 212 of the client processor 202. A switch between the main memory 203 and the client processor 202 is made by using the switches 204 and 205 with respect to the host processor 201.
  • FIG. 41 is a flowchart showing an example of a process of controlling memory allocation and switching applications in the system of FIG. 40. [0371]
  • At steps S[0372] 41-1 through S41-7, the memory 211 is allocated to the main-memory address space A during a period when the memory-allocation-RST register 215 is provided with an ASSERT signal, and a program and data of an application A are loaded while the processor-RST register 214 is receiving an ASSERT signal. In this manner, a memory area is allocated to the application A, and data processing can now commence.
  • At steps S[0373] 41-8 through S41-12, a program and data of an application B are loaded while the processor-RST register 214 is provided with an ASSERT signal. In this manner, a switch from the application A to the application B can be carried out while the allocated memory area is retained.
  • At steps S[0374] 41-13 through S41-16, the memory 211 is allocated to the main-memory address space B while the memory-allocation-RST register 215 is provided with an ASSERT signal. In this manner, the client processor 202 can be reallocated to another memory area which is convenient to the host processor 201 without initializing the application process.
  • As described above, the processor-[0375] RST register 214 for initializing the processor 210 of the client processor 202 and the memory-allocation-RST register 215 for initializing the memory-allocation circuit 212 are separately provided, so that the allocation of a memory area and the switching of applications can be conducted independently from each other.
  • In what follows, a description will be given with regard to a process of establishing synchronization between client processors or between the host processor and a client processor when a plurality of client processors are provided. [0376]
  • FIG. 42 is a block diagram of a system in which synchronization is established between client processors or between the host processor and a client processor. [0377]
  • The system of FIG. 42 includes a [0378] host processor 301 and a plurality of client processors 302. The host processor 301 controls the client processors 302 allocated to a host-processor address space.
  • Each of the [0379] client processors 302 includes a processor 310, a memory 311, a start/stop resistor 312, and a status register 313.
  • The [0380] memory 311 is used as a venue to exchange data between the host processor 301 and the client processors 302.
  • The [0381] host processor 301 writes control information and data in an area which the host processor 301 allocated in the memory space. In response, the processor 310 receives the control information and the data to attend to data processing. Data obtained as a result of the processing is written in the memory 311, and is passed to the host processor 301.
  • The start/[0382] stop resistor 312 stores information which indicates the start or stop of operations of the processor 310. The start/stop resistor 312 is accessible for read/write operations from both the host processor 301 and the processor 310.
  • The [0383] status register 313 is set in synchronism with the start/stop resistor 312, and stores status information of the host processor 301 or status information of the client processor 302 at a time of the start or stop of operations of the client processor 302.
  • Assume that an [0384] application 1 and an application 2 are performed by the two client processors 302, respectively. In order to establish synchronization between the applications 1 and 2 by a unit of time or by a unit of processing, the host processor 301 simultaneously activates the two client processors 302 by referring to the start/stop resistor 312 and the status register 313 of the client processor 302. In this manner, synchronization can be established between different applications. Use of these registers also makes it possible to achieve synchronized operations between the host processor 301 and the client processors 302.
  • FIGS. 43A and 43B are charts showing an example of synchronized operations between a host processor and a client processor. FIG. 43A shows a timing chart of synchronized operations, and FIG. 43B shows details of the synchronized operations of the host processor and the client processor. [0385]
  • In an example shown in FIGS. 43A and 43B, data streams of video data VideoA, VideoB, and VideoC are supplied from an external network attached to the system, for example. The [0386] host processor 301 receives a video-synchronization signal Vsync. The host processor 301 controls the status of the video-synchronization signal Vsync by a unit of one frame, and activates a client processor 302. In doing so, the host processor 301 controls the start/stop resistor 312 and the status register 313 of the client processor 302 in order to control the client processor 302 based on a start setting, a stop setting (i.e., processing status indicating completion of current data processing), an input status indicating whether data for next processing is received, etc.
  • FIGS. 44A and 44B are charts showing an example of synchronized operations between client processors. FIG. 44A shows a timing chart of synchronized operations, and FIG. 44B shows details of the synchronized operations of the host processor and the client processors. [0387]
  • In an example shown in FIGS. 44A and 44B, data streams of video data VideoA, VideoB, and VideoC are supplied from an external network attached to the system, for example, and, further, data streams of audio data AudioA through AudioI are supplied. One of the two [0388] client processors 302 attends to processing of the video data VideoA through VideoC, for example, and the other performs the processing of the audio data AudioA through AudioI. The host processor 301 controls the start/stop resistor 312 and the status register 313 of the client processor 302 by a unit of one video frame in order to control the client processor 302 based on a start setting, a stop setting (i.e., processing status indicating completion of current data processing), an input status indicating whether data for next processing is received, etc.
  • The signal processing described in the above embodiments according to the present invention is not limited to processing of image data or audio data, but can be applied to another type of signal processing such as conversion of communication protocols. [0389]
  • Further, the present invention is not limited to these embodiments, but variations and modifications may be made without departing from the scope of the present invention. [0390]

Claims (29)

What is claimed is:
1. A computer program product for data processing using a plurality of information processing units which are connected in series via communication links and incorporated in a computer having a CPU and a bus, each of said information processing units being accessible as a memory by said CPU via said bus, said computer program product comprising:
a computer usable medium providing program-code means for controlling said computer so as to cause said information processing units to carry out said data processing, said program-code means comprising:
first resource-management means for controlling process allocation to said information processing units and data connection between said information processing units in response to a request for said data processing from an application program; and
second resource-management means for controlling said information processing units to carry out said data processing according to said process allocation and said data connection,
wherein said first resource-management means resides in an application interface layer of software of said computer, and said second resource-management means resides in a device-driver layer of said software of-said computer.
2. The computer program product as claimed in claim 14, wherein said first resource-management means establishes parallel data connections between said information processing units such that said information processing units carry out parallel processing.
3. The computer program product as claimed in claim 14, wherein said first resource-management means establishes serial data connections between said information processing units such that said information processing units carry out a pipe-line operation by successively passing data from a given one of said information processing units to a next one of said information processing units.
4. The computer program product as claimed in claim 14, wherein said computer-code means further comprises virtual-machine means for detecting an interruption when said interruption is generated by said CPU executing said application program and for. handing an instruction causing said interruption in said application program to said first resource-management means, wherein said first resource-management means and said second resource-management means control said information processing units to execute said instruction.
5. The computer program product as claimed in claim 14, wherein said first resource-management means controls said process allocation so as to minimize a maximum amount of data transfer between said information processing units after said process allocation.
6. The computer program product as claimed in claim 14, wherein said first resource-management means comprises:
first process-allocation means for obtaining combinations of said information processing units for said process allocation such that a maximum amount of data transfer between said information processing units after said process allocation is minimized; and
second process-allocation means for selecting one of said combinations such that said information processing units remaining unallocated after said process allocation are provided in a range defined by as small a number of said communication links as possible.
7. A software architecture comprising:
an application layer in which application programs are provided;
an application interface layer in which dynamic loading libraries are provided to be dynamically loaded when said application programs are executed;
a device-driver layer in which device drivers are provided to control hardware devices corresponding to respective ones of said dynamic loading libraries; and
a resource-management program provided in said application interface layer and said device-driver layer, said resource-management program controlling a plurality of information processing elements implemented as a hardware device and controlling process allocation to said information processing elements and data connection between said information processing elements.
8. A method of allocating a process to a plurality of information processing units connected in series via communication links so as to communicate with each other, said method comprising:
obtaining combinations of said information processing units for process allocation such that a maximum amount of data transfer between said information processing units after said process allocation is minimized; and
selecting one of said combinations such that said information processing units remaining unallocated after said process allocation are provided in a range defined by as small a number of said communication links as possible.
9. A method of controlling at least one client processor connected to a host processor having a main memory, said method comprising the steps of:
a) accessing a memory space of said main memory from said host processor; and
b) allocating a portion of said memory space for use for communication between said host processor and said at least one client processor in response to said accessing.
10. The method as claimed in claim 22, further comprising a step of disconnecting said at least one client processor from said host processor by releasing said portion of said memory space in response to said accessing.
11. The method as claimed in claim 22, wherein said accessing comprises a plurality of accesses which are made to a predetermined address.
12. The method as claimed in claim 22, wherein said accessing comprises a plurality of accesses which are made within a predetermined range of addresses.
13. The method as claimed in claim 22, wherein said step a) comprises a step of writing data including a key in said memory space, and said step b) comprises a step of allocating said portion of said memory space for said use for said communication when said key matches a predetermined key.
14. The method as claimed in claim 26, wherein said step a) comprises a step of writing a data word including a plurality of identical sub-words in said memory space, each of said sub-words being said key.
15. The method as claimed in claim 26, wherein said step a) comprises a step of writing data words in said memory space, said data words including data words comprised of only is and data words comprised of only 0s, said key being represented as a time series of is and Os each of which is taken from a corresponding one of said. data words.
16. The method as claimed in claim 26, wherein said step a) comprises a step of writing data words in said memory space, said key being represented by one of a number of 1s and a number of Os included in each of said data words.
17. The method as claimed in claim 26, wherein said step b) further comprises a step of counting a number of accesses of said accessing, and allocates said portion of, said memory space for said use for said communication when said number is a predetermined number.
18. The method as claimed in claim 26, wherein said step b) further comprises a step of checking parity of said data and deciding that said key fails to match said predetermined key without actually checking said key when said parity fails to meet a predetermined parity condition.
19. The method as claimed in claim 26, wherein said step b) further comprises a step of checking a predetermined set of bits included in said data and deciding that said key fails to match said predetermined key without actually checking said key when said predetermined set of bits fails to match a predetermined bit pattern.
20. The method as claimed in claim 28, wherein said step b) further comprises a step of deciding that said key fails to match said predetermined key without actually checking said key when one of said data words is comprised of bits of. different values.
21. The method as claimed in claim 22, wherein said step b) further comprises a step of allocating said at least one client processor to said portion of said memory space after moving an application to another portion of said memory space when said portion of said memory space is occupied by said application.
22. The method as claimed in claim 22, further comprising a step of controlling allocation of said portion of said memory space for said at least one client processor and allocation of an application to said at least one client processor independently from each other.
23. The method as claimed in claim 22, further comprising a step of establishing synchronization between said host processor and said at least one client processor, and a step of establishing synchronization between a plurality of client processors inclusive of said at least one client processor.
24. A machine readable medium having a program embodied therein for controlling at least one client processor connected to a host processor having a main memory, said program comprising:
first program code means for accessing a memory space of said main memory from said host processor; and
second program code means for allocating a portion of said memory space for use for communication between said host processor and said at least one client processor in response to said accessing.
25. The machine readable medium as claimed in claim 37, further comprising a program code means for disconnecting said at least one client processor from said host processor by releasing said portion of said memory space in response to said-accessing.
26. The machine readable medium as claimed in claim 37, wherein said second program code means further comprises program code means for allocating said at least one client processor to said portion of said memory space after moving an application to another portion of said memory space when said portion of said memory space is occupied by said application.
27. The machine readable medium as claimed in claim 37, further comprising program code means for controlling allocation of said portion of said memory space for said at least one client processor and allocation of an application to said at least one client processor independently from each other.
28. The machine readable medium as claimed in claim 37, further comprising program code means for establishing synchronization between said host processor and said at least one client processor, and a step of establishing synchronization between a plurality of client processors inclusive of said at least one client processor.
29. A device for signal processing connected to a host processor through an external bus and comprising:
information processing units comprising respective DRAMs coupled to the external bus, said information processing units connected to each other by a communication link and to each other and to the host processor by the external bus through the respective DRAMs, and said information processing units exchanging data with each other through the communication link and the respective DRAMs and processing data while exchanging data with the host processor through only the respective DRAMs.
US10/234,482 1996-12-17 2002-09-05 Signal processing device accessible as memory Abandoned US20030005073A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/234,482 US20030005073A1 (en) 1996-12-17 2002-09-05 Signal processing device accessible as memory

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP8-337205 1996-12-17
JP33720596 1996-12-17
JP9221617A JPH10232788A (en) 1996-12-17 1997-08-18 Signal processor and software
JP9-221617 1997-08-18
US08/955,089 US6470380B1 (en) 1996-12-17 1997-10-21 Signal processing device accessible as memory
US10/234,482 US20030005073A1 (en) 1996-12-17 2002-09-05 Signal processing device accessible as memory

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US08/955,089 Division US6470380B1 (en) 1996-12-17 1997-10-21 Signal processing device accessible as memory

Publications (1)

Publication Number Publication Date
US20030005073A1 true US20030005073A1 (en) 2003-01-02

Family

ID=26524410

Family Applications (2)

Application Number Title Priority Date Filing Date
US08/955,089 Expired - Lifetime US6470380B1 (en) 1996-12-17 1997-10-21 Signal processing device accessible as memory
US10/234,482 Abandoned US20030005073A1 (en) 1996-12-17 2002-09-05 Signal processing device accessible as memory

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US08/955,089 Expired - Lifetime US6470380B1 (en) 1996-12-17 1997-10-21 Signal processing device accessible as memory

Country Status (3)

Country Link
US (2) US6470380B1 (en)
JP (1) JPH10232788A (en)
KR (1) KR19980063551A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040163132A1 (en) * 2002-12-16 2004-08-19 Masaaki Oka Signal processing device and entertainment device
US20060005190A1 (en) * 2004-06-30 2006-01-05 Microsoft Corporation Systems and methods for implementing an operating system in a virtual machine environment
US7075784B2 (en) 2002-10-22 2006-07-11 Sullivan Jason A Systems and methods for providing a dynamically modular processing unit
US7242574B2 (en) 2002-10-22 2007-07-10 Sullivan Jason A Robust customizable computer processing system
US7256991B2 (en) 2002-10-22 2007-08-14 Sullivan Jason A Non-peripherals processing control module having improved heat dissipating properties
US20090063665A1 (en) * 2007-08-28 2009-03-05 Rohati Systems, Inc. Highly scalable architecture for application network appliances
US20090103127A1 (en) * 2007-08-28 2009-04-23 Parata Systems, Llc Methods, systems, and computer program products for compiling information for use in a command script for a product dispensing system
US20090203409A1 (en) * 2007-10-18 2009-08-13 Interdigital Technology Corporation Umts fdd modem optimized for high data rate applications
US20090285228A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Multi-stage multi-core processing of network packets
US20090288136A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Highly parallel evaluation of xacml policies
US20090288135A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Method and apparatus for building and managing policies
US20090288104A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Extensibility framework of a network element
US20100070471A1 (en) * 2008-09-17 2010-03-18 Rohati Systems, Inc. Transactional application events
CN101763332A (en) * 2010-02-24 2010-06-30 浙江中控技术股份有限公司 Parallel communication bus interface
US20110106328A1 (en) * 2009-11-05 2011-05-05 General Electric Company Energy optimization system
US20160050213A1 (en) * 2013-04-13 2016-02-18 Digital (Id) Entity Limited System, method, computer program and data signal for the provision of a profile of identification
US9413854B1 (en) * 2013-07-15 2016-08-09 Amazon Technologies, Inc. Network-accessible signal processing service
USRE48365E1 (en) 2006-12-19 2020-12-22 Mobile Motherboard Inc. Mobile motherboard

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11296381A (en) * 1998-04-08 1999-10-29 Matsushita Electric Ind Co Ltd Virtual machine and compiler
EP1087293A3 (en) * 1999-09-24 2006-02-01 Hitachi, Ltd. A computer system and a program install method thereof
JP2001103280A (en) * 1999-09-30 2001-04-13 Canon Inc Information processing method and its device
EP1188294B1 (en) * 1999-10-14 2008-03-26 Bluearc UK Limited Apparatus and method for hardware implementation or acceleration of operating system functions
US7171546B2 (en) * 2002-05-23 2007-01-30 Adams Phillip M CPU life-extension apparatus and method
US20040252547A1 (en) * 2003-06-06 2004-12-16 Chengpu Wang Concurrent Processing Memory
US7617012B2 (en) * 2004-03-04 2009-11-10 Yamaha Corporation Audio signal processing system
EP1612977A3 (en) * 2004-07-01 2013-08-21 Yamaha Corporation Control device for controlling audio signal processing device
WO2006051902A1 (en) * 2004-11-11 2006-05-18 Japan Science And Technology Agency Calculation processing system, calculation processing method, user program system, library program system, program, and recording medium containing the program
US8156313B2 (en) * 2007-09-22 2012-04-10 Navosha Corporation Chained operation of functional units in integrated circuit by writing DONE/complete value and by reading as GO/start value from same memory location
US20090125706A1 (en) * 2007-11-08 2009-05-14 Hoover Russell D Software Pipelining on a Network on Chip
US8261025B2 (en) 2007-11-12 2012-09-04 International Business Machines Corporation Software pipelining on a network on chip
US7873701B2 (en) * 2007-11-27 2011-01-18 International Business Machines Corporation Network on chip with partitions
US8423715B2 (en) 2008-05-01 2013-04-16 International Business Machines Corporation Memory management among levels of cache in a memory hierarchy
US8438578B2 (en) 2008-06-09 2013-05-07 International Business Machines Corporation Network on chip with an I/O accelerator
CN102077170A (en) * 2008-06-27 2011-05-25 Nxp股份有限公司 Method of interruption of meta language program code execution
US8755515B1 (en) 2008-09-29 2014-06-17 Wai Wu Parallel signal processing system and method
US9170816B2 (en) * 2009-01-15 2015-10-27 Altair Semiconductor Ltd. Enhancing processing efficiency in large instruction width processors
FR2952731B1 (en) 2009-11-13 2011-11-04 Bull Sas METHOD AND DEVICE FOR OPTIMIZING THE EXECUTION OF SOFTWARE APPLICATIONS IN A MULTIPROCESSOR ARCHITECTURE COMPRISING SEVERAL INPUT / OUTPUT CONTROLLERS AND SECONDARY CALCULATION UNITS
JP2011123842A (en) 2009-12-14 2011-06-23 Ricoh Co Ltd Image forming apparatus, function addition method, and program
US8402228B2 (en) * 2010-06-30 2013-03-19 International Business Machines Corporation Page buffering in a virtualized, memory sharing configuration
US8589509B2 (en) 2011-01-05 2013-11-19 Cloudium Systems Limited Controlling and optimizing system latency
US8886699B2 (en) * 2011-01-21 2014-11-11 Cloudium Systems Limited Offloading the processing of signals
JP6222079B2 (en) * 2012-02-28 2017-11-01 日本電気株式会社 Computer system, processing method thereof, and program
US9292569B2 (en) * 2012-10-02 2016-03-22 Oracle International Corporation Semi-join acceleration
US9542248B2 (en) * 2015-03-24 2017-01-10 International Business Machines Corporation Dispatching function calls across accelerator devices
JP6548459B2 (en) * 2015-05-29 2019-07-24 キヤノン株式会社 Information processing device
JP7408956B2 (en) * 2019-09-03 2024-01-09 ヤマハ株式会社 Library program, link program, and sound processing device
JP7430659B2 (en) * 2021-03-04 2024-02-13 Jbアドバンスト・テクノロジー株式会社 Service linkage system

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4441152A (en) * 1980-02-14 1984-04-03 Hitachi, Ltd. Data processing system having ring-like connected multiprocessors relative to key storage
US4823257A (en) * 1986-08-08 1989-04-18 Hitachi, Ltd. Information processing system having smart memories
US4947318A (en) * 1983-11-16 1990-08-07 Hitachi, Ltd. Data processing security system for automatically transferring software protection data from removable store into internal memory upon mounting of stores
US4999768A (en) * 1987-04-14 1991-03-12 Mitsubishi Denki Kabushiki Kaisha Data transfer control units each of which comprises processors and dual-part memory
US5446841A (en) * 1991-06-15 1995-08-29 Hitachi, Ltd. Multi-processor system having shared memory for storing the communication information used in communicating between processors
US5455920A (en) * 1989-12-04 1995-10-03 Mitsubishi Denki Kabushiki Kaisha Multiprocessor system having offset address setting
US5504918A (en) * 1991-07-30 1996-04-02 Commissariat A L'energie Atomique Parallel processor system
US5528549A (en) * 1993-05-28 1996-06-18 Texas Instruments Incorporated Apparatus, systems and methods for distributed signal processing
US5590284A (en) * 1992-03-24 1996-12-31 Universities Research Association, Inc. Parallel processing data network of master and slave transputers controlled by a serial control network
US5611075A (en) * 1994-10-04 1997-03-11 Analog Devices, Inc. Bus architecture for digital signal processor allowing time multiplexed access to memory banks
US5671430A (en) * 1993-06-30 1997-09-23 Gunzinger; Anton Parallel data processing system with communication apparatus control
US5678021A (en) * 1992-08-25 1997-10-14 Texas Instruments Incorporated Apparatus and method for a memory unit with a processor integrated therein
US5677864A (en) * 1993-03-23 1997-10-14 Chung; David Siu Fu Intelligent memory architecture
US5717943A (en) * 1990-11-13 1998-02-10 International Business Machines Corporation Advanced parallel array processor (APAP)
US5724600A (en) * 1994-12-06 1998-03-03 Fujitsu Limited Parallel processor system
US5751987A (en) * 1990-03-16 1998-05-12 Texas Instruments Incorporated Distributed processing memory chip with embedded logic having both data memory and broadcast memory
US5754795A (en) * 1990-08-31 1998-05-19 Texas Instruments Incorporated Method for communication between processors of a multi-processor system
US5778244A (en) * 1996-10-07 1998-07-07 Timeplex, Inc. Digital signal processing unit using digital signal processor array with recirculation
US5892934A (en) * 1996-04-02 1999-04-06 Advanced Micro Devices, Inc. Microprocessor configured to detect a branch to a DSP routine and to direct a DSP to execute said routine
US5964865A (en) * 1995-03-30 1999-10-12 Sony Corporation Object code allocation in multiple processor systems
US5987568A (en) * 1997-01-10 1999-11-16 3Com Corporation Apparatus and method for operably connecting a processor cache and a cache controller to a digital signal processor
US6000027A (en) * 1992-08-25 1999-12-07 Texas Instruments Incorporated Method and apparatus for improved graphics/image processing using a processor and a memory
US6026478A (en) * 1997-08-01 2000-02-15 Micron Technology, Inc. Split embedded DRAM processor
US6185704B1 (en) * 1997-04-11 2001-02-06 Texas Instruments Incorporated System signaling schemes for processor and memory module

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638601A (en) 1986-06-27 1988-01-14 Matsushita Electric Ind Co Ltd Optical fiber with anti-reflection coating
CA2145106C (en) * 1994-04-22 1999-08-24 Abhaya Asthana Intelligent memory-based input/output system

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4441152A (en) * 1980-02-14 1984-04-03 Hitachi, Ltd. Data processing system having ring-like connected multiprocessors relative to key storage
US4947318A (en) * 1983-11-16 1990-08-07 Hitachi, Ltd. Data processing security system for automatically transferring software protection data from removable store into internal memory upon mounting of stores
US4823257A (en) * 1986-08-08 1989-04-18 Hitachi, Ltd. Information processing system having smart memories
US4999768A (en) * 1987-04-14 1991-03-12 Mitsubishi Denki Kabushiki Kaisha Data transfer control units each of which comprises processors and dual-part memory
US5455920A (en) * 1989-12-04 1995-10-03 Mitsubishi Denki Kabushiki Kaisha Multiprocessor system having offset address setting
US5751987A (en) * 1990-03-16 1998-05-12 Texas Instruments Incorporated Distributed processing memory chip with embedded logic having both data memory and broadcast memory
US5754795A (en) * 1990-08-31 1998-05-19 Texas Instruments Incorporated Method for communication between processors of a multi-processor system
US5717943A (en) * 1990-11-13 1998-02-10 International Business Machines Corporation Advanced parallel array processor (APAP)
US5446841A (en) * 1991-06-15 1995-08-29 Hitachi, Ltd. Multi-processor system having shared memory for storing the communication information used in communicating between processors
US5504918A (en) * 1991-07-30 1996-04-02 Commissariat A L'energie Atomique Parallel processor system
US5590284A (en) * 1992-03-24 1996-12-31 Universities Research Association, Inc. Parallel processing data network of master and slave transputers controlled by a serial control network
US6000027A (en) * 1992-08-25 1999-12-07 Texas Instruments Incorporated Method and apparatus for improved graphics/image processing using a processor and a memory
US5678021A (en) * 1992-08-25 1997-10-14 Texas Instruments Incorporated Apparatus and method for a memory unit with a processor integrated therein
US5677864A (en) * 1993-03-23 1997-10-14 Chung; David Siu Fu Intelligent memory architecture
US5528549A (en) * 1993-05-28 1996-06-18 Texas Instruments Incorporated Apparatus, systems and methods for distributed signal processing
US5671430A (en) * 1993-06-30 1997-09-23 Gunzinger; Anton Parallel data processing system with communication apparatus control
US5611075A (en) * 1994-10-04 1997-03-11 Analog Devices, Inc. Bus architecture for digital signal processor allowing time multiplexed access to memory banks
US5724600A (en) * 1994-12-06 1998-03-03 Fujitsu Limited Parallel processor system
US5964865A (en) * 1995-03-30 1999-10-12 Sony Corporation Object code allocation in multiple processor systems
US5892934A (en) * 1996-04-02 1999-04-06 Advanced Micro Devices, Inc. Microprocessor configured to detect a branch to a DSP routine and to direct a DSP to execute said routine
US5778244A (en) * 1996-10-07 1998-07-07 Timeplex, Inc. Digital signal processing unit using digital signal processor array with recirculation
US5987568A (en) * 1997-01-10 1999-11-16 3Com Corporation Apparatus and method for operably connecting a processor cache and a cache controller to a digital signal processor
US6185704B1 (en) * 1997-04-11 2001-02-06 Texas Instruments Incorporated System signaling schemes for processor and memory module
US6026478A (en) * 1997-08-01 2000-02-15 Micron Technology, Inc. Split embedded DRAM processor

Cited By (57)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10849245B2 (en) 2002-10-22 2020-11-24 Atd Ventures, Llc Systems and methods for providing a robust computer processing unit
US20110022770A1 (en) * 2002-10-22 2011-01-27 Sullivan Jason A Systems and methods for providing a dynamically modular processing unit
US20110102991A1 (en) * 2002-10-22 2011-05-05 Sullivan Jason A Systems and methods for providing a robust computer processing unit
US7242574B2 (en) 2002-10-22 2007-07-10 Sullivan Jason A Robust customizable computer processing system
US7256991B2 (en) 2002-10-22 2007-08-14 Sullivan Jason A Non-peripherals processing control module having improved heat dissipating properties
US20070258205A1 (en) * 2002-10-22 2007-11-08 Sullivan Jason A Systems and methods for providing a robust computer processing unit
US20080013270A1 (en) * 2002-10-22 2008-01-17 Sullivan Jason A Non-Peripherals Processing Control Module Having Improved Heat Dissipating Properties
US8405969B2 (en) 2002-10-22 2013-03-26 Jason A. Sullivan Non-peripherals processing control module having improved heat dissipating properties
US8976513B2 (en) 2002-10-22 2015-03-10 Jason A. Sullivan Systems and methods for providing a robust computer processing unit
US20090257179A1 (en) * 2002-10-22 2009-10-15 Sullivan Jason A Systems and methods for providing a dynamically modular processing unit
US7075784B2 (en) 2002-10-22 2006-07-11 Sullivan Jason A Systems and methods for providing a dynamically modular processing unit
US7817412B2 (en) 2002-10-22 2010-10-19 Sullivan Jason A Non-peripherals processing control module having improved heat dissipating properties
US7764506B2 (en) 2002-10-22 2010-07-27 Sullivan Jason A Systems and methods for providing a dynamically modular processing unit
US11751350B2 (en) 2002-10-22 2023-09-05 Atd Ventures, Llc Systems and methods for providing a robust computer processing unit
US9606577B2 (en) 2002-10-22 2017-03-28 Atd Ventures Llc Systems and methods for providing a dynamically modular processing unit
US20110090628A1 (en) * 2002-10-22 2011-04-21 Sullivan Jason A Non-peripherals processing control module having improved heat dissipating properties
US10285293B2 (en) 2002-10-22 2019-05-07 Atd Ventures, Llc Systems and methods for providing a robust computer processing unit
US9961788B2 (en) 2002-10-22 2018-05-01 Atd Ventures, Llc Non-peripherals processing control module having improved heat dissipating properties
US7733635B2 (en) 2002-10-22 2010-06-08 Sullivan Jason A Systems and methods for providing a robust computer processing unit
US9418044B2 (en) 2002-12-16 2016-08-16 Sony Interactive Entertainment Inc. Configuring selected component-processors operating environment and input/output connections based on demand
US20040163132A1 (en) * 2002-12-16 2004-08-19 Masaaki Oka Signal processing device and entertainment device
US20060005190A1 (en) * 2004-06-30 2006-01-05 Microsoft Corporation Systems and methods for implementing an operating system in a virtual machine environment
USRE48365E1 (en) 2006-12-19 2020-12-22 Mobile Motherboard Inc. Mobile motherboard
US20090103127A1 (en) * 2007-08-28 2009-04-23 Parata Systems, Llc Methods, systems, and computer program products for compiling information for use in a command script for a product dispensing system
US8295306B2 (en) 2007-08-28 2012-10-23 Cisco Technologies, Inc. Layer-4 transparent secure transport protocol for end-to-end application protection
US7921686B2 (en) 2007-08-28 2011-04-12 Cisco Technology, Inc. Highly scalable architecture for application network appliances
US7895463B2 (en) 2007-08-28 2011-02-22 Cisco Technology, Inc. Redundant application network appliances using a low latency lossless interconnect link
US9491201B2 (en) 2007-08-28 2016-11-08 Cisco Technology, Inc. Highly scalable architecture for application network appliances
US8621573B2 (en) 2007-08-28 2013-12-31 Cisco Technology, Inc. Highly scalable application network appliances with virtualized services
US20090063625A1 (en) * 2007-08-28 2009-03-05 Rohati Systems, Inc. Highly scalable application layer service appliances
US20110173441A1 (en) * 2007-08-28 2011-07-14 Cisco Technology, Inc. Highly scalable architecture for application network appliances
US9100371B2 (en) 2007-08-28 2015-08-04 Cisco Technology, Inc. Highly scalable architecture for application network appliances
US8161167B2 (en) * 2007-08-28 2012-04-17 Cisco Technology, Inc. Highly scalable application layer service appliances
US8180901B2 (en) 2007-08-28 2012-05-15 Cisco Technology, Inc. Layers 4-7 service gateway for converged datacenter fabric
US8443069B2 (en) 2007-08-28 2013-05-14 Cisco Technology, Inc. Highly scalable architecture for application network appliances
US20090063665A1 (en) * 2007-08-28 2009-03-05 Rohati Systems, Inc. Highly scalable architecture for application network appliances
US7913529B2 (en) 2007-08-28 2011-03-29 Cisco Technology, Inc. Centralized TCP termination with multi-service chaining
US20090064300A1 (en) * 2007-08-28 2009-03-05 Rohati Systems, Inc. Application network appliance with built-in virtual directory interface
TWI383705B (en) * 2007-10-18 2013-01-21 Interdigital Tech Corp Umts fdd modem optimized for high data rate applications
US8295891B2 (en) * 2007-10-18 2012-10-23 Interdigital Technology Corporation UMTS FDD modem optimized for high data rate applications
US8996078B2 (en) 2007-10-18 2015-03-31 Interdigital Technology Corporation UMTS FDD modem optimized for high data rate applications
US20090203409A1 (en) * 2007-10-18 2009-08-13 Interdigital Technology Corporation Umts fdd modem optimized for high data rate applications
US8667556B2 (en) 2008-05-19 2014-03-04 Cisco Technology, Inc. Method and apparatus for building and managing policies
US8677453B2 (en) 2008-05-19 2014-03-18 Cisco Technology, Inc. Highly parallel evaluation of XACML policies
US20090285228A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Multi-stage multi-core processing of network packets
US20090288136A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Highly parallel evaluation of xacml policies
US8094560B2 (en) 2008-05-19 2012-01-10 Cisco Technology, Inc. Multi-stage multi-core processing of network packets
US20090288135A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Method and apparatus for building and managing policies
US20090288104A1 (en) * 2008-05-19 2009-11-19 Rohati Systems, Inc. Extensibility framework of a network element
US20100070471A1 (en) * 2008-09-17 2010-03-18 Rohati Systems, Inc. Transactional application events
US20110106328A1 (en) * 2009-11-05 2011-05-05 General Electric Company Energy optimization system
US20110106327A1 (en) * 2009-11-05 2011-05-05 General Electric Company Energy optimization method
US8359124B2 (en) 2009-11-05 2013-01-22 General Electric Company Energy optimization system
CN101763332A (en) * 2010-02-24 2010-06-30 浙江中控技术股份有限公司 Parallel communication bus interface
CN101763332B (en) * 2010-02-24 2012-07-18 浙江中控技术股份有限公司 Parallel communication bus interface
US20160050213A1 (en) * 2013-04-13 2016-02-18 Digital (Id) Entity Limited System, method, computer program and data signal for the provision of a profile of identification
US9413854B1 (en) * 2013-07-15 2016-08-09 Amazon Technologies, Inc. Network-accessible signal processing service

Also Published As

Publication number Publication date
US6470380B1 (en) 2002-10-22
JPH10232788A (en) 1998-09-02
KR19980063551A (en) 1998-10-07

Similar Documents

Publication Publication Date Title
US6470380B1 (en) Signal processing device accessible as memory
US7233335B2 (en) System and method for reserving and managing memory spaces in a memory resource
CN1210651C (en) Read lock miss control in a multithreaded environment
US7739473B1 (en) Off-chip memory allocation for a unified shader
US6393520B2 (en) Data processor and data processing system with internal memories
US8407443B1 (en) Off-chip out of order memory allocation for a unified shader
US6170070B1 (en) Test method of cache memory of multiprocessor system
US7080169B2 (en) Receiving data from interleaved multiple concurrent transactions in a FIFO memory having programmable buffer zones
US5481688A (en) Information processing system having an address translation table loaded with main/expanded memory presence bits
JP4507791B2 (en) System and method for loading software on multiple processors
CN114860329B (en) Dynamic consistency bias configuration engine and method
US20020124157A1 (en) Method and apparatus for fast operand access stage in a CPU design using a cache-like structure
US7386647B2 (en) System and method for processing an interrupt in a processor supporting multithread execution
US5283878A (en) Method and apparatus for encoding data types for object identification
JPH1063525A (en) Information processor, and information processing system and control method therefor
US20030135708A1 (en) System, method and computer program product for mapping system memory in a multiple node information handling system
CN111026680A (en) Mapping a first identifier to a second identifier
KR100395311B1 (en) Process control method
JP2001051855A (en) Memory division management system
JPS59112479A (en) High speed access system of cache memory
US7796133B1 (en) Unified shader
US6418505B1 (en) Accessing beyond memory address range of commodity operating system using enhanced operating system adjunct processor interfaced to appear as RAM disk
JP2023527770A (en) Inference in memory
JPH04156620A (en) Virtual computer system
JP2943401B2 (en) External storage device allocation processing method for virtual machine

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

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