CN106294260A - The method that data export synchronous bus from asynchronous bus - Google Patents

The method that data export synchronous bus from asynchronous bus Download PDF

Info

Publication number
CN106294260A
CN106294260A CN201610679509.2A CN201610679509A CN106294260A CN 106294260 A CN106294260 A CN 106294260A CN 201610679509 A CN201610679509 A CN 201610679509A CN 106294260 A CN106294260 A CN 106294260A
Authority
CN
China
Prior art keywords
signal
bus
equipment
control signal
main equipment
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.)
Granted
Application number
CN201610679509.2A
Other languages
Chinese (zh)
Other versions
CN106294260B (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.)
Changsha Rich Communication Technology Co Ltd
Original Assignee
Changsha Rich Communication Technology Co 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 Changsha Rich Communication Technology Co Ltd filed Critical Changsha Rich Communication Technology Co Ltd
Priority to CN201610679509.2A priority Critical patent/CN106294260B/en
Publication of CN106294260A publication Critical patent/CN106294260A/en
Application granted granted Critical
Publication of CN106294260B publication Critical patent/CN106294260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/405Coupling between buses using bus bridges where the bridge performs a synchronising function
    • G06F13/4054Coupling between buses using bus bridges where the bridge performs a synchronising function where the function is bus cycle extension, e.g. to meet the timing requirements of the target bus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The method that data export synchronous bus from asynchronous bus, comprises the following steps: the chip selection signal CS and write signal WE of main equipment asynchronous bus are connected to the input with gate device by (1);(2) outfan with gate device is connected to the clock signal clk end from equipment;(3) control signal GPIO of main equipment is connected to the control signal from equipment synchronous bus;(4), when main equipment carries out write operation, chip selection signal CS and write signal WE is given to from the synchronous bus of equipment, as the clock signal clk of synchronous bus by producing a periodic signal with gate device;(5) control signal GPIO of main equipment is set to the signal significant level needed, and main equipment performs the write operation of an invalid data, control signal GPIO puts back into inactive level, produces one and the control signal of clock signal clk synchronization.Peripheral circuit of the present invention is simple, it is not necessary to extra clock signal.

Description

The method that data export synchronous bus from asynchronous bus
Technical field
The present invention relates to a kind of method that data export synchronous bus from asynchronous bus.
Background technology
In electronic product, have and need primary processor the data handled well to be issued peripheral hardware (as display module, outside are deposited in a large number Storage module) operation, the most all use the mode of data/address bus to carry out one to one, or one-to-many data transmission.
Asynchronous bus is again a kind of popular bus mode, with reference to Fig. 1, Fig. 2, the most the most frequently used intel i80 Bus mode, wherein chip selection signal CS is for particular device a certain in bus, only (this case when chip selection signal CS is effective Example is Low level effective), corresponding reception equipment just starts there is write signal WR response, and accepts data corresponding to write signal WR (present case is that write signal WR rising edge gathers data/address bus).If chip selection signal CS is invalid, even if write signal WR has action, Being considered as the equipment for other, accepting device corresponding for this chip selection signal CS will not do to be comprehended.
In addition to asynchronous bus, also having a kind of synchronous bus mode, with reference to Fig. 3, and the main distinction of asynchronous bus is two Clock signal clk to be relied between individual equipment, clock signal clk for control signal (this sentences synchronizing signal SP is example) and The synchronization of data signal obtains.Being by clock signal clk rising edge in lower example, the equipment that receives obtains synchronizing information, then start Rear each clock receives data, completes the accurate reception of whole data with this.
When the system of electronic product designs and be integrated, main equipment can be run into and provide asynchronous bus, and receive data Then can only receive the data synchronous bus from equipment.Now need at main equipment and select to be replaced from equipment, with Keep the consistent of bus, it is common practice to being further added by a processor and carry out the conversion of both sides bus, this will make system more Complicated and cause cost to increase.
The most also have and produce clock signal by main equipment or external clock generator, by clock plus peripheral auxiliary circuits Carrying out the conversion of bus, this mode is harsher to requirement and the control of clock, and design difficulty is bigger.
Summary of the invention
The technical problem to be solved is, overcomes the deficiency of above-mentioned background technology, it is provided that a kind of peripheral circuit letter Single, it is not necessary to the method that the data of extra clock signal export synchronous bus from asynchronous bus.
The present invention solves its technical problem and employed technical scheme comprise that, a kind of data export synchronous bus from asynchronous bus Method, comprise the following steps:
(1) the chip selection signal CS on main equipment asynchronous bus and write signal WE is connected to the input with gate device of outside;
(2) the clock signal clk end that the outfan with gate device is connected to from equipment;
(3) control signal GPIO of main equipment is directly connected to the control signal from equipment synchronous bus;
(4), when main equipment carries out write operation, chip selection signal CS and write signal WE produces a cycle by outside with gate device The signal of property is given to from the synchronous bus of equipment, as the clock signal clk of synchronous bus;
(5) control signal GPIO of main equipment is set to the signal significant level needed, and main equipment performs an invalid data Write operation, then control signal GPIO is put back into inactive level, then produces one and control signal that clock signal clk synchronizes.
Further, in step (3), described control signal selection synchronizing signal SP from equipment synchronous bus.
Compared with prior art, advantages of the present invention is as follows:
(1) utilize and carry out logical process with the chip selection signal CS and write signal WE of goalkeeper's asynchronous bus, produce synchronous bus time Clock, peripheral circuit is simple, it is not necessary to extra clock signal;(2) utilize control signal GPIO of main equipment, then coordinate once without The write operation of effect data, produces the control signal that synchronous bus needs, can produce the control signal of multiple synchronization, meets synchronization total The reception timing requirements of line equipment, directly carries out the coupling of sequential and the transmission of data.
Accompanying drawing explanation
Fig. 1 is the connection block diagram of the bus mode of existing intel i80.
Fig. 2 be existing intel i80 bus mode output write eDRAM.
Fig. 3 be existing synchronous bus mode write eDRAM.
Fig. 4 is that the circuit of the embodiment of the present invention connects schematic block diagram.
Fig. 5 is that the waveform of the embodiment of the present invention generates schematic block diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawings and the present invention is described in further detail by specific embodiment.
In terms of the contrast of synchronous bus and asynchronous bus, receiving this part of data, the write signal WE of asynchronous bus and with The clock signal clk of step bus is substantially compatibility with the sequential of data/address bus, and the main distinction is embodied in control signal and clock In the association of signal CLK, the present invention utilizes chip selection signal CS and write signal WE with goalkeeper's asynchronous bus to carry out logical process, produces The clock signal clk of raw synchronous bus, utilizes control signal GPIO of main equipment, then coordinates the write operation of an invalid data, Produce synchronous bus need control signal, thus realize main equipment from asynchronous bus transmit data to synchronous bus from setting Standby.
With reference to Fig. 4, Fig. 5, the present embodiment comprises the following steps:
(1) the chip selection signal CS on main equipment asynchronous bus and write signal WE is connected to the input with gate device of outside;
(2) the clock signal clk end that the outfan with gate device is connected to from equipment;
(3) control signal GPIO of main equipment being directly connected to the control signal from equipment synchronous bus, the present embodiment is from setting The control signal of standby synchronous bus selects synchronizing signal SP;Main equipment can be attached directly to from equipment by multiple control signals GPIO On, as multiple different synchronous bus control signals;
(4), when main equipment carries out write operation, chip selection signal CS and write signal WE produces a cycle by outside with gate device The signal of property is given to from the synchronous bus of equipment, as the clock signal clk of synchronous bus;
(5) control signal GPIO of main equipment is set to the signal significant level (such as low level) needed, and main equipment performs one The write operation of individual invalid data, then control signal GPIO is put back into inactive level (such as high level), then produce one and clock is believed The control signal that number CLK synchronizes;Control signal GPIO can stride across the multiple invalid or write operation of valid data, realizes difference The synchronous control signal of clock cycle length.
Although seeing in sequential that write signal WE and clock signal clk are essentially identical, but write signal WE is the upper multiplexing of bus Signal, miscellaneous equipment work time also have output, if be directly connected with the clock signal clk from equipment, can cause grasping by mistake Make, cause Data reception errors.Therefore write signal WE and chip selection signal CS signal are carried out logical AND operation by the present invention, it is ensured that only The write signal WE from equipment having chip selection signal CS corresponding gives clock signal clk.
The control signal (synchronizing signal SP in this example) of synchronised clock, it is also desirable to clock matches.The present embodiment uses main The universal input output signal (control signal GPIO) of equipment is simulated, according to the demand of synchronous bus, and the corresponding height of output Level and change.But there is also the need to the synchronization of clock signal clk, also will be during the effect of control signal GPIO for this In, the change of write signal WE is produced by sending the write operation (can write according to timing requirements) of hash with one or many Change, and be converted into clock signal clk so that control signal and clock signal clk can meet the timing requirements of synchronous bus.
Those skilled in the art can carry out various modifications and variations to the present invention, if these amendments and modification are at this Within the scope of invention claim and equivalent technologies thereof, then these amendments and modification are also within protection scope of the present invention.
The prior art that the content not described in detail in description is known to the skilled person.

Claims (2)

1. the method that data export synchronous bus from asynchronous bus, it is characterised in that comprise the following steps:
(1) the chip selection signal CS on main equipment asynchronous bus and write signal WE is connected to the input with gate device of outside;
(2) the clock signal clk end that the outfan with gate device is connected to from equipment;
(3) control signal GPIO of main equipment is directly connected to the control signal from equipment synchronous bus;
(4), when main equipment carries out write operation, chip selection signal CS and write signal WE produces a cycle by outside with gate device The signal of property is given to from the synchronous bus of equipment, as the clock signal clk of synchronous bus;
(5) control signal GPIO of main equipment is set to the signal significant level needed, and main equipment performs an invalid data Write operation, then control signal GPIO is put back into inactive level, then produces one and control signal that clock signal clk synchronizes.
2. the method that data as claimed in claim 1 export synchronous bus from asynchronous bus, it is characterised in that: step (3) In, described control signal selection synchronizing signal SP from equipment synchronous bus.
CN201610679509.2A 2016-08-18 2016-08-18 The method that data are output to synchronous bus from asynchronous bus Active CN106294260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610679509.2A CN106294260B (en) 2016-08-18 2016-08-18 The method that data are output to synchronous bus from asynchronous bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610679509.2A CN106294260B (en) 2016-08-18 2016-08-18 The method that data are output to synchronous bus from asynchronous bus

Publications (2)

Publication Number Publication Date
CN106294260A true CN106294260A (en) 2017-01-04
CN106294260B CN106294260B (en) 2019-05-07

Family

ID=57678896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610679509.2A Active CN106294260B (en) 2016-08-18 2016-08-18 The method that data are output to synchronous bus from asynchronous bus

Country Status (1)

Country Link
CN (1) CN106294260B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486887A (en) * 2020-12-07 2021-03-12 天津津航计算技术研究所 Method and device for transmitting asynchronous signals by using SPI bus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065672A (en) * 2012-12-24 2013-04-24 西安华芯半导体有限公司 Asynchronous static random access memory based on internet protocol (IP) of synchronous static random access memory
US20140222610A1 (en) * 1999-11-22 2014-08-07 Accenture Global Services Limited Increased visibility during order management in a network-based supply chain environment
CN104866390A (en) * 2015-04-15 2015-08-26 中国科学院高能物理研究所 Triple modular redundancy controller for static random access memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140222610A1 (en) * 1999-11-22 2014-08-07 Accenture Global Services Limited Increased visibility during order management in a network-based supply chain environment
CN103065672A (en) * 2012-12-24 2013-04-24 西安华芯半导体有限公司 Asynchronous static random access memory based on internet protocol (IP) of synchronous static random access memory
CN104866390A (en) * 2015-04-15 2015-08-26 中国科学院高能物理研究所 Triple modular redundancy controller for static random access memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486887A (en) * 2020-12-07 2021-03-12 天津津航计算技术研究所 Method and device for transmitting asynchronous signals by using SPI bus
CN112486887B (en) * 2020-12-07 2023-06-30 天津津航计算技术研究所 Method and device for transmitting asynchronous signals by using SPI bus

Also Published As

Publication number Publication date
CN106294260B (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN102339267B (en) I2C address is changed
EP1877916B1 (en) Dynamic 12c slave device address decoder
JP6517243B2 (en) Link Layer / Physical Layer (PHY) Serial Interface
CN101329663A (en) Apparatus and method for implementing pin time-sharing multiplexing
CN101089838A (en) Method for implementing 12C read-write sequence
CN109783416A (en) SPI shares method, circuit and the electronic equipment of GPIO from equipment and I2C from equipment
CN101930314A (en) Touch control system in order to the control contact panel
US7162003B2 (en) Method and apparatus for driving multiple peripherals with different clock frequencies in an integrated circuit
CN101206911A (en) Data strobe timing compensation
CN106851183A (en) Multi-channel video processing system and method based on FPGA
CN103914167B (en) Computer system and touch control and display data transmission device and method thereof
CN202838317U (en) Bus unit and rear panel system
US9747246B2 (en) Electronic device for communicating between a microcontroller unit (MCU) and a host processor and related methods
CN201548484U (en) Universal multi-path digital image simulating source
CN107370651B (en) Communication method between SPI slave machines
CN106294260A (en) The method that data export synchronous bus from asynchronous bus
US20120239870A1 (en) Fifo apparatus for the boundary of clock trees and method thereof
CN108345564A (en) Interrupt matrix module, chip and electronic equipment
CN104581147B (en) HDMI and MIPI functions mutually testing method and device
CN102902648A (en) Direct memory access (DMA)-based general purpose input output (GPIO) module capable of refreshing light-emitting diode (LED) display screen
CN101027624A (en) Latency normalization by balancing early and late clocks
CN113032321B (en) Address extension circuit, communication interface chip and communication system
CN104391817A (en) Electronic system synchronous with peripheral equipment
Venkateswaran et al. Design and implementation of FPGA based interface model for scale-free network using I2C bus protocol on Quartus II 6.0
CN202871257U (en) GPIO module based on DMA and capable of updating LED display screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant