[go: up one dir, main page]

CN101980149B - Main processor and coprocessor communication system and communication method - Google Patents

Main processor and coprocessor communication system and communication method Download PDF

Info

Publication number
CN101980149B
CN101980149B CN 201010509700 CN201010509700A CN101980149B CN 101980149 B CN101980149 B CN 101980149B CN 201010509700 CN201010509700 CN 201010509700 CN 201010509700 A CN201010509700 A CN 201010509700A CN 101980149 B CN101980149 B CN 101980149B
Authority
CN
China
Prior art keywords
coprocessor
communication
control module
primary processor
main processor
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.)
Expired - Fee Related
Application number
CN 201010509700
Other languages
Chinese (zh)
Other versions
CN101980149A (en
Inventor
艾国
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.)
Vimicro Qingdao Corp
Original Assignee
Wuxi Vimicro Corp
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 Wuxi Vimicro Corp filed Critical Wuxi Vimicro Corp
Priority to CN 201010509700 priority Critical patent/CN101980149B/en
Publication of CN101980149A publication Critical patent/CN101980149A/en
Application granted granted Critical
Publication of CN101980149B publication Critical patent/CN101980149B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Advance Control (AREA)
  • Multi Processors (AREA)

Abstract

本发明揭露了一种主处理器与协处理器通信系统,所述系统包括:主处理器,发送命令字和控制字;通信存储模块,存储所述主处理器发送的命令字;通信控制模块,接收所述主处理器发送的控制字并发出控制信号;协处理器中断控制模块,接收所述控制信号并发出中断信号;和协处理器,在收到中断信号后从所述通信存储模块获取所述命令字。与现有技术相比,本发明改变了传统协处理器的设计模式,采用直接通信的方式,通过预定义的命令字来实现主处理器与协处理器之间的通信,使得主处理器和协处理器之间的通信更加便捷和有效。

Figure 201010509700

The present invention discloses a communication system between a main processor and a coprocessor. The system includes: a main processor, which sends command words and control words; a communication storage module, which stores the command words sent by the main processor; a communication control module , receiving the control word sent by the main processor and sending a control signal; the coprocessor interrupt control module receiving the control signal and sending an interrupt signal; and the coprocessor, after receiving the interrupt signal, from the communication storage module Get the command word. Compared with the prior art, the present invention changes the design mode of the traditional coprocessor, adopts the mode of direct communication, realizes the communication between the main processor and the coprocessor through the predefined command word, makes the main processor and the coprocessor Communication between coprocessors is more convenient and efficient.

Figure 201010509700

Description

主处理器与协处理器通信系统及通信方法Main processor and coprocessor communication system and communication method

【技术领域】【Technical field】

本发明涉及芯片设计领域,特别涉及主处理器与协处理器之间的通信技术。The invention relates to the field of chip design, in particular to the communication technology between the main processor and the co-processor.

【背景技术】【Background technique】

现有的电子产品行业中,要求新产品的开发周期越来越短。如果产品的方案设计厂商已有较为成熟和固定的硬件架构和软件架构,在推出新产品的时候,往往不会更换主控芯片,因为更换主控芯片意味着整个系统的硬件架构和软件架构要做很大的改动。实现新功能时,通常选择使用协处理器来补充。主处理器是系统中的主要处理芯片,用于系统整个工作流程的控制。协处理器能协助主处理器完成一定功能,具有一定的运算执行能力,例如数学协处理器可以控制数字处理,图形协处理器可以处理视频绘制。In the existing electronic product industry, the development cycle of new products is required to be shorter and shorter. If the product solution design manufacturer already has relatively mature and fixed hardware architecture and software architecture, when launching a new product, the main control chip is often not replaced, because replacing the main control chip means that the hardware architecture and software architecture of the entire system need to be changed. Make big changes. When implementing new functionality, it is often chosen to complement it with a coprocessor. The main processor is the main processing chip in the system and is used to control the entire workflow of the system. Coprocessors can assist the main processor to complete certain functions and have certain computing execution capabilities. For example, a math coprocessor can control digital processing, and a graphics coprocessor can handle video rendering.

由于协作的需要,主处理器和协处理器之间需要通过一定的方式进行数据传输,即主处理器与协处理器之间进行通信。传统的主处理器主要通过操作寄存器和内存作为共享存储区域来达到控制协处理器的目的,但是在这种方式中主处理器不能直接发送中断信号给协处理器,而是通过寄存器和内存来驱动协处理器执行功能,协处理器也不能直接发送中断给主处理器,而是通过协处理器的功能模块来发送中断给主处理器。这就使得现有的通信系统中会出现主处理器与协处理器之间通信困难,协处理器被动,通信速度慢等问题。Due to the need for cooperation, data transmission between the main processor and the coprocessor needs to be carried out in a certain way, that is, communication between the main processor and the coprocessor. The traditional main processor mainly achieves the purpose of controlling the coprocessor by operating registers and memory as a shared storage area, but in this way, the main processor cannot directly send interrupt signals to the coprocessor, but through registers and memory. The coprocessor is driven to perform functions, and the coprocessor cannot directly send interrupts to the main processor, but sends interrupts to the main processor through the functional modules of the coprocessor. This causes problems such as difficult communication between the main processor and the co-processor, passive co-processor, and slow communication speed in the existing communication system.

因此,有必要提出一种新的技术方案来解决上述缺点。Therefore, it is necessary to propose a new technical solution to solve the above-mentioned shortcoming.

【发明内容】【Content of invention】

本部分的目的在于概述本发明的实施例的一些方面以及简要介绍一些较佳实施例。在本部分以及本申请的说明书摘要和发明名称中可能会做些简化或省略以避免使本部分、说明书摘要和发明名称的目的模糊,而这种简化或省略不能用于限制本发明的范围。The purpose of this section is to outline some aspects of embodiments of the invention and briefly describe some preferred embodiments. Some simplifications or omissions may be made in this section, as well as in the abstract and titles of this application, to avoid obscuring the purpose of this section, the abstract and titles, and such simplifications or omissions should not be used to limit the scope of the invention.

本发明的一个目的在于提供一种新的主处理器与协处理器通信系统。An object of the present invention is to provide a new communication system between a main processor and a coprocessor.

本发明的另一目的在于提供一种新的主处理器与协处理器系统的通信方法。Another object of the present invention is to provide a new communication method between the main processor and the co-processor system.

为了达到本发明的目的,根据本发明的一方面,本发明提供一种新的主处理器与协处理器通信系统,所述系统包括:主处理器,发送命令字和控制字;通信存储模块,存储所述主处理器发送的命令字;通信控制模块,接收所述主处理器发送的控制字并发出控制信号;协处理器中断控制模块,接收所述控制信号并发出中断信号;和协处理器,在收到中断信号后从所述通信存储模块获取所述命令字。In order to achieve the purpose of the present invention, according to an aspect of the present invention, the present invention provides a kind of new main processor and coprocessor communication system, described system comprises: main processor, sends order word and control word; Communication memory module , store the command word sent by the main processor; the communication control module receives the control word sent by the main processor and sends a control signal; the coprocessor interrupt control module receives the control signal and sends an interrupt signal; and the coprocessor The processor obtains the command word from the communication storage module after receiving an interrupt signal.

进一步地,所述系统还包括统一访问接口,所述主处理器通过所述统一访问接口访问所述通信存储模块和通信控制模块。Further, the system further includes a unified access interface, through which the main processor accesses the communication storage module and the communication control module.

进一步地,所述通信存储模块为所述主处理器和所述协处理器都可访问的一片共享内存区域或寄存器。Further, the communication storage module is a shared memory area or register accessible to both the main processor and the coprocessor.

进一步地,所述通信控制模块为能够直接控制所述协处理器中断控制模块的寄存器。Further, the communication control module is a register capable of directly controlling the coprocessor interrupt control module.

进一步地,所述系统还包括注册中断控制器,所述协处理器在获取到所述命令字后执行相应命令,在需要发送命令回复、状态信息或者执行结果时,将所述命令回复、状态信息或者执行结果存储在所述通信存储模块,并通过所述注册中断控制器发出中断请求。Further, the system also includes a registered interrupt controller, the coprocessor executes the corresponding command after obtaining the command word, and when it needs to send a command reply, status information or execution result, the command reply, status Information or execution results are stored in the communication storage module, and an interrupt request is issued through the registered interrupt controller.

进一步地,所述系统还包括主处理器中断控制模块,所述主处理器中断控制模块接收所述中断请求后发送中断信号给所述主处理器。Further, the system further includes a main processor interrupt control module, and the main processor interrupt control module sends an interrupt signal to the main processor after receiving the interrupt request.

进一步地,所述注册中断控制器、通信存储模块、通信控制模块、协处理器中断控制模块和协处理器同属于一个协处理器系统。Further, the registered interrupt controller, communication storage module, communication control module, coprocessor interrupt control module and coprocessor all belong to a coprocessor system.

进一步地,所述注册中断控制器的中断信号给出方式与所述主处理器中断控制模块的中断触发方式相匹配。Further, the interrupt signal giving method of the registered interrupt controller matches the interrupt triggering method of the main processor interrupt control module.

根据本发明的另一方面,本发明提供一种新的主处理器与协处理器系统的通信方法,所述方法包括:According to another aspect of the present invention, the present invention provides a new communication method between a main processor and a coprocessor system, the method comprising:

将协处理器系统中能够控制协处理器中断控制模块的寄存器设定为通信控制模块;Setting the register capable of controlling the coprocessor interrupt control module in the coprocessor system as the communication control module;

将协处理器系统中的共享内存或者寄存器设定为通信存储模块;Set the shared memory or register in the coprocessor system as a communication storage module;

主处理器通过统一访问接口发送控制字给所述通信控制模块和发送命令字给所述通信存储模块;The main processor sends a control word to the communication control module and a command word to the communication storage module through a unified access interface;

所述通信控制模块在接收到控制字后发送控制信号给所述协处理器中断控制模块;The communication control module sends a control signal to the coprocessor interrupt control module after receiving the control word;

所述协处理器中断控制模块发送中断信号给协处理器;和The coprocessor interrupt control module sends an interrupt signal to the coprocessor; and

所述协处理器从通信存储模块获取所述命令字并执行。The coprocessor acquires the command word from the communication storage module and executes it.

进一步地,所述命令字和控制字是预先定义的。Further, the command word and control word are predefined.

进一步地,在需要发送命令回复、状态信息或者执行结果时,Furthermore, when it is necessary to send command replies, status information or execution results,

所述协处理器将所述命令回复、状态信息或者执行结果存储在所述通信存储模块;The coprocessor stores the command reply, status information or execution result in the communication storage module;

所述协处理器通过注册中断控制器发出中断请求给主处理器中断控制模块;The coprocessor sends an interrupt request to the main processor interrupt control module by registering the interrupt controller;

所述主处理器中断控制模块发送中断信号给所述主处理器;和The main processor interrupt control module sends an interrupt signal to the main processor; and

所述主处理器从通信存储模块获取所述命令回复、状态信息或者执行结果。The main processor obtains the command reply, status information or execution result from the communication storage module.

与现有技术相比,本发明改变了传统协处理器的设计模式,采用直接通信的方式,通过预定义的命令字来实现主处理器与协处理器之间的通信,使得主处理器和协处理器之间的通信更加便捷和有效。Compared with the prior art, the present invention changes the design mode of the traditional coprocessor, adopts the mode of direct communication, realizes the communication between the main processor and the coprocessor through the predefined command word, makes the main processor and the coprocessor Communication between coprocessors is more convenient and efficient.

【附图说明】【Description of drawings】

结合参考附图及接下来的详细描述,本发明将更容易理解,其中同样的附图标记对应同样的结构部件,其中:The present invention will be better understood with reference to the accompanying drawings and the ensuing detailed description, wherein like reference numerals correspond to like structural components, wherein:

图1为本发明中的一个实施例中的主处理器与协处理器通信系统的结构示意图。和FIG. 1 is a schematic structural diagram of a communication system between a main processor and a coprocessor in an embodiment of the present invention. and

图2为本发明中的一个实施例中的主处理器与协处理器通信方法的方法流程图。FIG. 2 is a method flowchart of a communication method between a main processor and a coprocessor in an embodiment of the present invention.

【具体实施方式】【Detailed ways】

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

本发明所述主处理器与协处理器通信系统及通信方法采用预定义的命令字来进行通讯,而不是采用现有技术中的主处理器操作寄存器和内存作为共享存储区域来达到控制协处理器的技术方案。但是本发明所述主处理器与协处理器通信系统及通信方法既可以单独以软硬件结合的方式实施,也可以与现有技术中的技术方案共存,同时存在于一套系统中。The main processor and coprocessor communication system and communication method of the present invention use predefined command words to communicate, instead of using the main processor operation register and memory in the prior art as a shared storage area to achieve control co-processing device technical solutions. However, the main processor and co-processor communication system and communication method of the present invention can be implemented in a combination of software and hardware alone, or can coexist with technical solutions in the prior art, and exist in a system at the same time.

请参考图1,其示出了本发明的一个实施例中的主处理器与协处理器通信系统100的结构方框图。所述主处理器与协处理器通信系统100主要包括主处理系统120、协处理系统140和统一访问接口160。Please refer to FIG. 1 , which shows a structural block diagram of a communication system 100 between a main processor and a coprocessor in an embodiment of the present invention. The main processor and coprocessor communication system 100 mainly includes a main processing system 120 , a coprocessing system 140 and a unified access interface 160 .

所述主处理系统120包括主处理器121和主处理器中断控制模块122。The main processing system 120 includes a main processor 121 and a main processor interrupt control module 122 .

所述协处理系统140包括协处理器141、协处理器中断控制模块142、通信控制模块143、通信存储模块144和注册中断控制器145。The coprocessing system 140 includes a coprocessor 141 , a coprocessor interrupt control module 142 , a communication control module 143 , a communication storage module 144 and a registered interrupt controller 145 .

所述主处理器121通过所述统一访问接口160来访问和控制协处理系统140。所述统一访问接口160可以是标准总线接口中的主机访问接口(HostAccess Interface,HAI)。所述主处理器121需要与所述协处理器141通信时,其通过统一访问接口160可以发送控制字给所述通信控制模块143和发送命令字给所述通信存储模块144。所述控制字和命令字是预先定义的可以被所述主处理器121和所述协处理器141所识别执行的信号。The main processor 121 accesses and controls the co-processing system 140 through the unified access interface 160 . The unified access interface 160 may be a host access interface (Host Access Interface, HAI) in the standard bus interface. When the main processor 121 needs to communicate with the coprocessor 141 , it can send a control word to the communication control module 143 and a command word to the communication storage module 144 through the unified access interface 160 . The control word and the command word are predefined signals that can be recognized and executed by the main processor 121 and the coprocessor 141 .

所述通信控制模块143可以是协处理系统140中的能够直接控制所述协处理器中断控制模块142的寄存器。所述主处理器121可以发送控制字来改变所述通信控制模块143的内部状态来达到控制所述协处理器中断控制模块142的目的。The communication control module 143 may be a register in the coprocessor system 140 that can directly control the coprocessor interrupt control module 142 . The main processor 121 can send a control word to change the internal state of the communication control module 143 to achieve the purpose of controlling the coprocessor interrupt control module 142 .

所述通信存储模块144可以是协处理系统140中的一片共享内存区域或寄存器。所述主处理器121和所述协处理器141都可访问所述通信存储模块144。所述通信存储模块144用于存储所述主处理器121发送的命令字。The communication storage module 144 may be a shared memory area or a register in the co-processing system 140 . Both the main processor 121 and the coprocessor 141 can access the communication storage module 144 . The communication storage module 144 is used for storing command words sent by the main processor 121 .

所述协处理器中断控制模块142可以被所述通信控制模块143所控制,当所述通信控制模块143接收到所述主处理器141发送的控制字后发出控制信号给所述协处理器中断控制模块142,所述协处理器中断控制模块142进而发出中断信号给所述协处理器141。所述协处理器141在收到该中断信号后从所述通信存储模块144获取所述命令字以执行。The coprocessor interrupt control module 142 can be controlled by the communication control module 143, and when the communication control module 143 receives the control word sent by the main processor 141, it sends a control signal to the coprocessor interrupt The control module 142 , the coprocessor interrupt control module 142 further sends an interrupt signal to the coprocessor 141 . After receiving the interrupt signal, the coprocessor 141 obtains the command word from the communication storage module 144 for execution.

与传统方案中所述主处理器121不断查询所述协处理器141的工作状态不同,在本实施例中,所述协处理器141通过控制所述注册中断控制器145来控制所述协处理器141外部的一些预定管脚,这些预定的外部管脚和所述主处理器121的外部中断源相连,这样可以达到所述协处理器141主动给所述主处理器121发送中断的目的。所述协处理器141在获取到所述命令字后执行相应命令,在需要发送命令回复、状态信息或者执行结果时,将所述命令回复、状态信息或者执行结果存储在所述通信存储模块144,并通过所述注册中断控制器145发出中断请求给所述主处理器中断控制模块122,所述主处理器中断控制模块122接收所述中断请求然后发送中断信号给所述主处理器121,所述主处理器121即可从所述通信存储模块144中获取所述协处理器141的命令回复、状态信息或者执行结果。Different from the traditional scheme in which the main processor 121 continuously inquires about the working status of the coprocessor 141, in this embodiment, the coprocessor 141 controls the coprocessor 145 by controlling the registered interrupt controller 145 These predetermined external pins are connected to the external interrupt source of the main processor 121, so that the purpose of the coprocessor 141 actively sending an interrupt to the main processor 121 can be achieved. The coprocessor 141 executes the corresponding command after obtaining the command word, and stores the command reply, status information or execution result in the communication storage module 144 when it needs to send a command reply, status information or execution result. , and send an interrupt request to the main processor interrupt control module 122 through the registered interrupt controller 145, and the main processor interrupt control module 122 receives the interrupt request and then sends an interrupt signal to the main processor 121, The main processor 121 can obtain the command reply, status information or execution result of the coprocessor 141 from the communication storage module 144 .

应当认识到,所述主处理器121通过所述通信控制模块143对协处理器141发出中断,与协处理器141正常处理中断请求一样,不需要做特殊处理,所以降低了所述协处理器141的复杂性。而所述协处理器141通过所述注册中断控制器145可以主动给所述主处理器121发送中断,以使所述主处理器121能尽快获得所述协处理器141的命令回复、状态信息或者执行结果,使得主处理器和协处理器之间的通信更加便捷和有效。It should be recognized that the main processor 121 sends an interrupt to the coprocessor 141 through the communication control module 143, and as the coprocessor 141 normally handles an interrupt request, no special processing is required, so the coprocessor is reduced. 141 complexities. The coprocessor 141 can actively send an interrupt to the main processor 121 through the registered interrupt controller 145, so that the main processor 121 can obtain the command reply and status information of the coprocessor 141 as soon as possible. Or execute the result, making the communication between the main processor and the coprocessor more convenient and efficient.

本发明同时提出一种主处理器与协处理器系统的通信方法,请参考图2,其示出了本发明中的一个实施例中的主处理器与协处理器通信方法200的方法流程图。所述主处理器与协处理器通信方法200首先将协处理器系统中能够控制协处理器中断控制模块的寄存器设定为通信控制模块;将协处理器系统中的共享内存或者寄存器设定为通信存储模块。同时还预先定义了两者间进行通信的命令字和控制字。所述主处理器与协处理器通信方法200包括:The present invention also proposes a communication method between a main processor and a coprocessor system, please refer to FIG. 2 , which shows a method flow chart of a communication method 200 between a main processor and a coprocessor in an embodiment of the present invention . The main processor and the coprocessor communication method 200 first set the register that can control the coprocessor interrupt control module in the coprocessor system as the communication control module; set the shared memory or the register in the coprocessor system as Communication storage module. At the same time, the command word and control word for communication between the two are also predefined. The communication method 200 between the main processor and the coprocessor includes:

步骤201,主处理器通过统一访问接口发送控制字给所述通信控制模块和发送命令字给所述通信存储模块;Step 201, the main processor sends a control word to the communication control module and a command word to the communication storage module through a unified access interface;

步骤202,所述通信控制模块在接收到控制字后发送控制信号给所述协处理器中断控制模块;Step 202, the communication control module sends a control signal to the coprocessor interrupt control module after receiving the control word;

步骤203,所述协处理器中断控制模块发送中断信号给所述协处理器;Step 203, the coprocessor interrupt control module sends an interrupt signal to the coprocessor;

步骤204,所述协处理器从所述通信存储模块获取所述命令字并执行。Step 204, the coprocessor obtains the command word from the communication storage module and executes it.

步骤205,判断所述协处理器是否需要发送命令回复、状态信息或者执行结果,如果是,则进入步骤206,如果不是,则进入步骤210,结束本次通信。Step 205, judge whether the coprocessor needs to send command reply, status information or execution result, if yes, go to step 206, if not, go to step 210, end this communication.

步骤206,所述协处理器将所述命令回复、状态信息或者执行结果存储在所述通信存储模块;Step 206, the coprocessor stores the command reply, status information or execution result in the communication storage module;

步骤207,所述协处理器通过所述注册中断控制器发出中断请求给主处理器中断控制模块;Step 207, the coprocessor sends an interrupt request to the main processor interrupt control module through the registered interrupt controller;

步骤208,所述主处理器中断控制模块在接收到所述中断请求后发送中断信号给所述主处理器;和Step 208, the main processor interrupt control module sends an interrupt signal to the main processor after receiving the interrupt request; and

步骤209,所述主处理器从通信存储模块获取所述命令回复、状态信息或者执行结果。Step 209, the main processor acquires the command reply, status information or execution result from the communication storage module.

上述说明已经充分揭露了本发明的具体实施方式。需要指出的是,熟悉该领域的技术人员对本发明的具体实施方式所做的任何改动均不脱离本发明的权利要求书的范围。相应地,本发明的权利要求的范围也并不仅仅局限于所述具体实施方式。The above description has fully disclosed the specific implementation manners of the present invention. It should be pointed out that any changes made by those skilled in the art to the specific embodiments of the present invention will not depart from the scope of the claims of the present invention. Accordingly, the scope of the claims of the present invention is not limited only to the specific embodiments described.

Claims (8)

1. a primary processor and coprocessor communication system is characterized in that, it comprises:
Primary processor sends command word and control word;
The communication memory module is stored the command word that described primary processor sends;
Communication control module receives the control word of described primary processor transmission and sends control signal;
Coprocessor interrupts control module, receives described control signal and sends look-at-me; With
Coprocessor obtains described command word from described communication memory module after receiving look-at-me;
Described system also comprises the registration interruptable controller, described coprocessor is carried out the corresponding command after getting access to described command word, when needs send order answer, status information or execution result, described order answer, status information or execution result are stored in described communication memory module, and send interrupt request by described registration interruptable controller.
2. system according to claim 1 is characterized in that, described system also comprises unified access interface, and described primary processor is accessed described communication memory module and communication control module by described unified access interface.
3. system according to claim 1 is characterized in that, described communication memory module is described primary processor and described coprocessor all addressable a slice shared drive zone or register.
4. system according to claim 1 is characterized in that, described communication control module interrupts the register of control module for can directly controlling described coprocessor.
5. system according to claim 1 is characterized in that, described system comprises that also primary processor interrupts control module, and described primary processor interrupts sending look-at-me to described primary processor after control module receives described interrupt request.
6. system according to claim 1 is characterized in that, described registration interruptable controller, communication memory module, communication control module, coprocessor interruption control module and coprocessor belong to a coprocessor system.
7. system according to claim 5 is characterized in that, the down trigger mode that the look-at-me of described registration interruptable controller provides mode and described primary processor interruption control module is complementary.
8. the communication means of a primary processor and coprocessor system is characterized in that, it comprises:
The register that can control coprocessor interruption control module in the coprocessor system is set as communication control module;
Shared drive in the coprocessor system or register are set as the communication memory module;
Primary processor by unified access interface send control word to described communication control module and transmission command word to the described memory module of communicating by letter;
Described communication control module transmits control signal after receiving control word and interrupts control module to described coprocessor;
Described coprocessor interrupts control module and sends look-at-me to coprocessor; With
Described coprocessor obtains described command word and execution from the communication memory module,
When needs send order answer, status information or execution result,
Described coprocessor is stored in described communication memory module with described order answer, status information or execution result;
Described coprocessor sends interrupt request by the registration interruptable controller and interrupts control module to primary processor;
Described primary processor interrupts control module and sends look-at-me to described primary processor; With
Described primary processor obtains described order answer, status information or execution result from the communication memory module.
9. method according to claim 8 is characterized in that, described command word and control word are predefined.
CN 201010509700 2010-10-15 2010-10-15 Main processor and coprocessor communication system and communication method Expired - Fee Related CN101980149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010509700 CN101980149B (en) 2010-10-15 2010-10-15 Main processor and coprocessor communication system and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010509700 CN101980149B (en) 2010-10-15 2010-10-15 Main processor and coprocessor communication system and communication method

Publications (2)

Publication Number Publication Date
CN101980149A CN101980149A (en) 2011-02-23
CN101980149B true CN101980149B (en) 2013-09-18

Family

ID=43600653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010509700 Expired - Fee Related CN101980149B (en) 2010-10-15 2010-10-15 Main processor and coprocessor communication system and communication method

Country Status (1)

Country Link
CN (1) CN101980149B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156958A (en) * 2011-03-16 2011-08-17 中国科学院上海技术物理研究所 Embedded system on programmable chip (SOPC) having image coprocessor
CN104731028B (en) * 2013-12-19 2017-07-18 南京南瑞继保电气有限公司 The method that signal is exchanged automatically between embedded multi -CPU plate based on signal name
CN103793208B (en) * 2014-01-22 2016-07-06 芯原微电子(上海)有限公司 The data handling system of vector dsp processor and coprocessor Collaboration
CN105512085B (en) * 2014-09-28 2020-04-24 联想(北京)有限公司 Information processing method and electronic equipment
CN104750518A (en) * 2015-03-10 2015-07-01 昂纳信息技术(深圳)有限公司 Upgrade control method and control module
CN108073545A (en) * 2016-11-17 2018-05-25 联芯科技有限公司 A kind of multiprocessor communication device and method
CN108268281B (en) * 2017-01-04 2021-12-07 中科创达软件股份有限公司 Processor cooperation method and circuit
EP3637272A4 (en) 2017-06-26 2020-09-02 Shanghai Cambricon Information Technology Co., Ltd DATA SHARING SYSTEM AND PROCEDURES FOR DOING IT
CN109214616B (en) 2017-06-29 2023-04-07 上海寒武纪信息科技有限公司 Information processing device, system and method
CN109117415B (en) * 2017-06-26 2024-05-14 上海寒武纪信息科技有限公司 Data sharing system and data sharing method thereof
CN110502330A (en) 2018-05-16 2019-11-26 上海寒武纪信息科技有限公司 Processor and processing method
CN110413551B (en) 2018-04-28 2021-12-10 上海寒武纪信息科技有限公司 Information processing apparatus, method and device
CN109426553A (en) 2017-08-21 2019-03-05 上海寒武纪信息科技有限公司 Task cutting device and method, Task Processing Unit and method, multi-core processor
CN108845828B (en) * 2018-05-29 2021-01-08 深圳市国微电子有限公司 Coprocessor, matrix operation acceleration method and system
CN112513809A (en) * 2019-12-27 2021-03-16 深圳市大疆创新科技有限公司 Processor, task response method, movable platform and camera
CN115658590A (en) * 2020-02-27 2023-01-31 Oppo广东移动通信有限公司 Processor communication method and device, electronic device, computer-readable storage medium
CN113765935B (en) * 2021-09-17 2023-09-12 展讯通信(深圳)有限公司 Communication method and device, readable storage medium, application processor and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0287115A2 (en) * 1987-04-17 1988-10-19 Hitachi, Ltd. Coprocessor and method of controlling the same
CN1535427A (en) * 2001-07-30 2004-10-06 皇家菲利浦电子有限公司 Efficient interrupt system for system on chip design
CN101719115A (en) * 2009-11-04 2010-06-02 北京中星微电子有限公司 Communication method, device and system for main control processor and coprocessor system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0287115A2 (en) * 1987-04-17 1988-10-19 Hitachi, Ltd. Coprocessor and method of controlling the same
CN1535427A (en) * 2001-07-30 2004-10-06 皇家菲利浦电子有限公司 Efficient interrupt system for system on chip design
CN101719115A (en) * 2009-11-04 2010-06-02 北京中星微电子有限公司 Communication method, device and system for main control processor and coprocessor system

Also Published As

Publication number Publication date
CN101980149A (en) 2011-02-23

Similar Documents

Publication Publication Date Title
CN101980149B (en) Main processor and coprocessor communication system and communication method
US10387182B2 (en) Direct memory access (DMA) based synchronized access to remote device
CN112764872B (en) Computer device, virtualization acceleration device, remote control method, and storage medium
JP5245539B2 (en) Virtual machine I/O emulation mechanism
US20130072260A1 (en) Methods and apparatuses for facilitating sharing device connections
US11995351B2 (en) DMA engines configured to perform first portion data transfer commands with a first DMA engine and second portion data transfer commands with second DMA engine
US20130227270A1 (en) Electronic devices and methods for switching between dual operating systems
CN114662136B (en) PCIE (peripheral component interface express) channel-based high-speed encryption and decryption system and method for multi-algorithm IP (Internet protocol) core
CN108304334B (en) Application processor and integrated circuit including interrupt controller
CN105393236B (en) Requiring rapid data read/writing method and apparatus
CN114817965B (en) High-speed encryption and decryption system and method for implementing MSI interrupt processing based on multi-algorithm IP core
CN118396073B (en) Heterogeneous computing system and model training method, device, medium and program product thereof
CN103885908A (en) Data transmission system and method based on external device and accessible registers
CN107544937A (en) A kind of coprocessor, method for writing data and processor
CN108062234B (en) A system and method for realizing server host accessing BMC FLASH through mailbox protocol
CN100388254C (en) Direct memory access control method, direct memory access controller, information processing system
CN111210012B (en) Data processing method and device and related products
CN108829530B (en) Image processing method and device
CN118409712B (en) RAID card management system, method, equipment, product and medium
US20160314086A1 (en) Secure digital host controller virtualization
CN106909523B (en) Large-scale data transmission method and system
CN116955244A (en) Data processing methods, systems, chips and terminals
CN115756322A (en) Data storage method and device, electronic equipment and storage medium
CN112214444A (en) An inter-core communication method, ARM, DSP and terminal
CN103765478A (en) Drawing control device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 214028 Jiangsu New District of Wuxi, Taihu international science and Technology Park Jia Qing 530 building 10 layer

Patentee after: Zgmicro Corporation

Address before: 214028 Jiangsu New District of Wuxi, Taihu international science and Technology Park Jia Qing 530 building 10 layer

Patentee before: WUXI VIMICRO Corp.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240808

Address after: Room 606, Building C, Entrepreneurship Building, No.1 Zhizhi Island Road, High tech Zone, Qingdao City, Shandong Province, China 266112

Patentee after: Vimicro Qingdao Corp.

Country or region after: China

Address before: 214028 10-storey Building 530 Qingjia Road, Taihu International Science Park, Wuxi New District, Jiangsu Province

Patentee before: Zgmicro Corporation

Country or region before: China

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130918