CN100380354C - Data communication method for computing nucleas and external interface - Google Patents
Data communication method for computing nucleas and external interface Download PDFInfo
- Publication number
- CN100380354C CN100380354C CNB2005100611684A CN200510061168A CN100380354C CN 100380354 C CN100380354 C CN 100380354C CN B2005100611684 A CNB2005100611684 A CN B2005100611684A CN 200510061168 A CN200510061168 A CN 200510061168A CN 100380354 C CN100380354 C CN 100380354C
- Authority
- CN
- China
- Prior art keywords
- signal
- request
- data
- nuclear
- input
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004891 communication Methods 0.000 title claims abstract description 16
- 230000008676 import Effects 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 4
- 238000000547 structure data Methods 0.000 abstract 1
- 230000004044 response Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- LHMQDVIHBXWNII-UHFFFAOYSA-N 3-amino-4-methoxy-n-phenylbenzamide Chemical compound C1=C(N)C(OC)=CC=C1C(=O)NC1=CC=CC=C1 LHMQDVIHBXWNII-UHFFFAOYSA-N 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Images
Landscapes
- Communication Control (AREA)
Abstract
The present invention discloses a data communication method for a computing nuclear and an external interface. The present invention has the steps that 1, when data can be input into the computing nuclear, the computing nuclear sets an input request into valid; 2, when an external device receives the input request, the external device responds to the input request, and sets an answer signal of the input request into valid, and simultaneously, the data is arranged on a data input signal line; 3, when the computing nuclear can output the data, the data is arranged on an output data end by the computing nuclear, and a signal of an output request is arranged into valid; 4, when the external device receives the output request, the external device responds to the output request, and sets an answer signal of the output request into valid; 5, when the computing nuclear does not have time to treat the input data, and simultaneously novel structure data needs to be input, a busy treatment signal is arranged into valid. The present invention has the advantages of high computing speed and simple control. The control is carried out according to concrete completed situations of the computing, the data directly meets the computing requirements, and the management of a relevant controller is simplified.
Description
Technical field
The present invention relates to a kind of data communication method that calculates nuclear and external interface, but proposed the method for the calculating nuclear of a kind of reusability or versatility.
Background technology
Having formed at present more influential three kinds of bus standards is: CoreConnent, AMBA and Wishbone.
CoreConnent can be applied in the connection that is similar to the such high performance system of workstation, may have a few too complexity for simple embedded is used, and the numerous characteristics that provides can't be used.
The AMBA normalized definition three kinds of buses: ahb bus is used to connect the high performance system module.Support burst transfers of data mode and individual data transmission mode, the same clock of all timing references edge; Asb bus is used to connect the high performance system module, supports burst transfers of data; The APB bus is that a simple interface is supported the low performance peripheral interface.System designer must select to dock any in three kinds of buses as required.A high-performance equipment may be selected AHB or ASB,, this brings difficulty for the IP kernel designer.The APB bridge can limit and connect superincumbent high performance bus.
Wishboen has only defined a kind of high-speed bus, and bus adopts Handshake Protocol.Under this mechanism, MASTER and SLAVE all can control message transmission rate.
But the communication mode of the data-driven that the present invention relates to is to need only whole here and times spent of the desired input data of a certain operation, and this operation just can be carried out immediately.
Summary of the invention
The objective of the invention is for the deficiencies in the prior art, proposed a kind of data communication method that calculates nuclear and external interface.
The objective of the invention is to realize by following scheme:
The data communications method that calculates nuclear and external interface comprises the steps:
Be used for when calculating nuclear is wanted to import data, calculate nuclear " input request " signal is put effective step;
Be used for when external equipment is received " input request ", responding this request, " input request answer signal " is set effective, simultaneously data are placed on the step on " input data signal " line;
Be used for wanting to calculate nuclear and data are placed " output data " end, and " output request " signal is put effective step can output data the time when calculating nuclear;
Be used for when external equipment is received " output request ", responding this request the step that will " export the request-reply signal " and be set effective;
Be used for examining the data that have little time to process input when calculating, when having again new data to import simultaneously, just will " process and do " step that signal is set effective.
Be used for calculating the step that nuclear is set effective " input request " signal when calculating nuclear will be able to be imported data: expression is effective if " input request " signal is " 1 " (" 0 "), then with this holding wire set (" 0 ");
Be used for when external unit is received " input request ", respond this request, " input request-reply signal " is equipped with effect, simultaneously data are placed on the step on " input data signal " line: if " input request-reply signal " is that " 1 " (" 0 ") expression is effective, then with this signal wire set (" 0 ").
Be used for wanting can output data the time when calculating nuclear, calculate nuclear and data are placed " output data " end, and signal is put effective step will " to export request ": as if " output request " signal is that " 1 " (" 0 ") expression is effective, then with this signal wire set (" 0 ").
Be used for when external equipment is received " output request ", respond this request, the step that will " output request-reply signal " be set effective: if " output request-reply signal " be that " 1 " (" 0 ") expression is effective, then with this holding wire set (" 0 ").
Be used for examining the data that have little time to process input when calculating, when having again new data to import simultaneously, just the step that " processing busy " signal is set effective: represent effectively if " processing busy " is " 1 " (" 0 "), then with this holding wire set (" 0 ").
The present invention has following technique effect:
1) speed is fast, can finish at two minimum clock cycle rising edges the once transmission of data; Control is simple, is controlled by the concrete condition that calculating is finished, and data directly satisfy computation requirement;
2) management of simplification correlation control unit, control signal of the present invention is simple, is convenient to the management of controller;
3) have versatility, The present invention be directed to great majority and calculate the nuclear design, have stronger versatility.
Description of drawings
Fig. 1 is that the present invention calculates nuclear and external interface figure;
Fig. 2 is the data communication method sequential chart that calculates nuclear and external interface.
Embodiment
Describe a kind of mentality of designing of calculating the data communication method of nuclear and external interface below with reference to the accompanying drawings in detail.
As shown in Figure 1, when calculating nuclear is wanted to import data, calculate nuclear " input request " signal is set effective; When external equipment is received " input request ", respond this request, " input request answer signal " is set effective, simultaneously data are placed on " input data signal " line; When calculating nuclear is wanted to export data, calculate nuclear and data are placed " output data " hold, and " output request " signal is set effective; When external equipment is received " output request ", respond this request, " output request-reply signal " is set effective; Examine the data that have little time to process input when calculating, when having again new data to import simultaneously, just " processing is busy " signal is set effective.
The input of employing calculating nuclear and external device communication, output timing are imported, are exported and adopt separately two signals as shown in Figure 2.
(1) when calculating is endorsed to import data and is calculated, it is set to " height " with the input request signal, and after outside controller receives this signal, data is put on the input data line, and with input request response input request, at next clock edge reading data.Also need request msg if calculate nuclear at next cycle, the input request signal remains height so.When the input data have expired, calculate nuclear the input request signal is set to " low ", and the input request response of outside controller also is set to " low ".This just finishes the operation of once importing data
(2) when calculating is endorsed to export data, it is put into data on the output data line, will export simultaneously request signal and be set to " height ".And after outside controller receives this signal, with output request-reply response output request, and at next clock edge receive data.Also need to export data if calculate nuclear at next cycle, export so request signal and remain height.When the output data empty, calculating nuclear will be exported request signal and be set to " low ", and the output request of outside controller response also is set to " low ".So just, finish the operation of once calculating the nuclear output data.
Write data instance to calculate nuclear to data encryption equipment, wherein high level is effective:
When calculating nuclear will be write data to the data encryption device, 1) " output request " signal is set high level and exports, send request to data encryption equipment; 2) after data encryption equipment accepts to calculate the nuclear request, computing module is sent the output request signal, putting " output request-reply " signal is high level; 3) after calculating nuclear reception output request-reply signal, will export data and send on the system bus, send to data encryption equipment.
When calculating endorses to import the data that data encryption equipment sends, 1) " input request " signal is set high level output, send request to data encryption equipment; 2) after data encryption equipment accepts to calculate the nuclear request, computing module is sent the input request signal, putting " input request is replied " signal is high level; Simultaneously data are sent on the system bus; 3) after calculating nuclear reception input request answer signal, accept the data that data encryption equipment sends over.
The foregoing description is used for the present invention that explains, rather than limits the invention, and in the protection domain of spirit of the present invention and claim, any modification and change to the present invention makes all fall into protection scope of the present invention.
Claims (6)
1. a data communications method that calculates nuclear and external interface is characterized in that comprising the steps:
Be used for when calculating is endorsed to import data, calculating the step that nuclear is set effective " input request " signal;
Be used for when external equipment is received " input request ", responding this request, " input request answer signal " is set effective, simultaneously data are placed on the step on " input data signal " line;
Be used for when calculating is endorsed to export data, calculating nuclear places data at " output data " end, and will " export and ask " step that signal is set effective;
Be used for when external equipment is received " output request ", responding this request the step that will " export the request-reply signal " and be set effective;
Examine the data that have little time to process input when calculating, when having again new data to import simultaneously, the step that just " processing busy " signal is set effective.
2. a kind of nuclear and data communications method of external interface of calculating according to claim 1, it is characterized in that, described for when calculating is endorsed to import data, the step that calculating nuclear is set effective " input request " signal is: if " input request " signal is effective for " 1 " expression, then with the holding wire set of this input request signal, " if input request " signal be " 0 " expression effectively, then with the holding wire reset of this input request signal.
3. a kind of data communications method that calculates nuclear and external interface according to claim 1, it is characterized in that, described being used for when external unit is received " input request ", respond this request, " input request-reply signal " put effective step is: if " input request-reply signal " is that " 1 " expression is effective, then will import the signal wire set of request-reply signal, if " input request-reply signal " is that " 0 " expression effectively then will be imported the signal wire reset of request-reply signal.
4. a kind of nuclear and data communications method of external interface of calculating according to claim 1, it is characterized in that, described for when calculating is endorsed to export data, calculate nuclear and data are placed " output data " end, and the step that " output is asked " signal is set effective is: if " output request " signal is that " 1 " expression is effective, then will export the holding wire set of request signal, if " output request " signal is that " 0 " expression is effective, the holding wire reset that then will export request signal.
5. a kind of data communications method that calculates nuclear and external interface according to claim 1, it is characterized in that, described being used for when external unit is received " output request ", respond this request, " output request-reply signal " put effective step is: if " output request-reply signal " is that " 1 " expression is effective, then will export the signal wire set of request-reply signal, if " output request-reply signal " is that " 0 " expression is effective, the signal wire reset that then will export the request-reply signal.
6. a kind of data communications method that calculates nuclear and external interface according to claim 1, it is characterized in that, described when calculating the data that nuclear has little time to handle input, when having new data to import again simultaneously, just will " handle and do " signal puts effective step and is: if " handling busy " is that " 1 " expression is effective, then will handle the signal wire set of busy signal, effectively then will handle the signal wire reset of busy signal if " handling busy " is " 0 " expression.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100611684A CN100380354C (en) | 2005-10-19 | 2005-10-19 | Data communication method for computing nucleas and external interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100611684A CN100380354C (en) | 2005-10-19 | 2005-10-19 | Data communication method for computing nucleas and external interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1749983A CN1749983A (en) | 2006-03-22 |
CN100380354C true CN100380354C (en) | 2008-04-09 |
Family
ID=36605438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100611684A Expired - Fee Related CN100380354C (en) | 2005-10-19 | 2005-10-19 | Data communication method for computing nucleas and external interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100380354C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055511B (en) * | 2016-06-16 | 2019-10-29 | Tcl移动通信科技(宁波)有限公司 | A kind of CPU of mobile terminal and data communications method, the system of sensor |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4771378A (en) * | 1984-06-19 | 1988-09-13 | Cray Research, Inc. | Electrical interface system |
-
2005
- 2005-10-19 CN CNB2005100611684A patent/CN100380354C/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4771378A (en) * | 1984-06-19 | 1988-09-13 | Cray Research, Inc. | Electrical interface system |
Non-Patent Citations (2)
Title |
---|
IBM-PC/XT机与单片机通信系统的应用. 曹荣杰.冶金自动化,第1期. 1996 * |
MCS-51系列单片机与IBM-PC微机通信技术. 李泓.电子技术应用,第1期. 1996 * |
Also Published As
Publication number | Publication date |
---|---|
CN1749983A (en) | 2006-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951379B (en) | A kind of high-performance DDR controller and data transmission method based on AXI protocol | |
CN101770442B (en) | Data interaction system with a plurality of external interfaces and method | |
CN100468378C (en) | SPI apparatus telecommunication circuit | |
CN101937412B (en) | System on chip and access method thereof | |
CN108255776B (en) | I3C master device compatible with APB bus, master-slave system and communication method | |
CN106951388A (en) | A kind of DMA data transfer method and system based on PCIe | |
CN111901164B (en) | Adaptive control method, device, equipment and system of OCP NIC network card | |
TW200707201A (en) | Computer system and control method of the same | |
TWM501592U (en) | Universal serial bus (USB) KVM switch using virtual USB for switching among multiple hosts | |
US20190347237A1 (en) | Serial port communication mode conversion method, system, and circuit | |
CN102207920B (en) | Conversion bridge for conversion from BVCI (basic virtual component interface) bus to AHB (advanced high performance bus) | |
CN110557311B (en) | Inter-processor communication method for inter-die access latency in system-in-package | |
TW200604828A (en) | Direct memory access (DMA) controller and bus structure in a master/slave system | |
CN103729319A (en) | Equipment system based on serial bus and data transmission method | |
CN110851376A (en) | PCIe interface design method based on FPGA | |
CN109960851B (en) | Data transmission method based on different voltage domains and handshake protocol circuit | |
CN105718396B (en) | A kind of I of big data master transmissions2C bus units and its means of communication | |
CN111143261A (en) | PCIE (peripheral component interface express) -based high-speed data acquisition system | |
CN116594951B (en) | FPGA-based data transmission system and method | |
CN100380354C (en) | Data communication method for computing nucleas and external interface | |
CN102591817B (en) | Multi-bus bridge controller and implementing method thereof | |
CN111506461B (en) | Back pressure module based on bus and used for testing and implementation method thereof | |
WO2012081085A1 (en) | Interrupt source management device and interrupt processing system | |
CN116954192A (en) | Function test method, system and device of bus controller and readable storage medium | |
CN107885674B (en) | Bluetooth device simulator, working method thereof and Bluetooth device operating system |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080409 Termination date: 20091119 |