CN109445855B - Bridging device for multi-path low-speed peripheral integration - Google Patents

Bridging device for multi-path low-speed peripheral integration Download PDF

Info

Publication number
CN109445855B
CN109445855B CN201811276109.2A CN201811276109A CN109445855B CN 109445855 B CN109445855 B CN 109445855B CN 201811276109 A CN201811276109 A CN 201811276109A CN 109445855 B CN109445855 B CN 109445855B
Authority
CN
China
Prior art keywords
interface
processor
speed
peripheral
unit
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.)
Active
Application number
CN201811276109.2A
Other languages
Chinese (zh)
Other versions
CN109445855A (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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN201811276109.2A priority Critical patent/CN109445855B/en
Publication of CN109445855A publication Critical patent/CN109445855A/en
Application granted granted Critical
Publication of CN109445855B publication Critical patent/CN109445855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/44Arrangements for executing specific programs

Landscapes

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

Abstract

The invention belongs to the technical field of digital circuit front end design, and particularly relates to a bridging device for multi-path low-speed peripheral integration, which is applied to low-speed peripheral equipment expanded on the periphery of a processor. The invention can ensure stable and reliable data transmission from the external expansion interface of the higher-speed processor to the low-speed external equipment. Compared with the scheme built by using discrete devices, the invention can greatly reduce the area of the circuit board, achieve the purpose of reducing the cost and simultaneously provide convenience for logic debugging and use. The invention can conveniently provide user extension setting in the application process, is convenient to increase or reduce the logic use resource amount according to the actual use condition and has good adaptability. In addition, the expandable peripheral unit in the invention can be used in a cascade mode to construct a secondary address mapping relation, and has stronger adaptability to the design with less address space. Under the condition of allowing bandwidth and FPGA resources, a processor peripheral interface and any multi-path low-speed peripheral equipment can be provided to realize cross-clock domain synchronous processing.

Description

Bridging device for multi-path low-speed peripheral integration
Technical Field
The invention belongs to the technical field of digital circuit front end design, and particularly relates to a bridging device for multi-path low-speed peripheral integration, which is applied to low-speed peripheral equipment expanded on the periphery of a processor.
Background
In the field of industrial control, low-speed communication interfaces such as serial ports and CAN are common command and data transmission ways. In a whole machine system, it is common that a plurality of serial ports and a CAN are integrated on a host node or a relay node. These control systems are typically used in the embedded domain, mounted in the chassis using line cards. The ply-yarn drill size is less, when using traditional serial ports control chip and CAN interface control chip to realize, CAN appear the not enough condition of integrated circuit board area. By integrating a single FPGA chip with proper capacity at the periphery of the processor and integrating multi-path serial port logic, CAN control logic and bridging logic into the FPGA chip, the area of the serial port and the CAN line card CAN be greatly reduced.
Usually, the clock frequencies between the external expansion interface of the processor and the external low-speed device are different, and the speed of the external expansion interface of the processor is generally higher than that of the external device interface and is about 2-3 times of the logic working speed of the external device interface. At this time, a clock domain crossing condition exists between the multi-path serial port logic and the external low-speed device, and if a proper bridging structure cannot be used, the occupation of logic resources is large, or a function error is caused by synchronization failure.
Disclosure of Invention
Technical problem to be solved
The invention provides a bridging device for multi-path low-speed peripheral integration, which aims to solve the problem of synchronizing the clock domain crossing behavior between multi-path serial port logic and external low-speed equipment.
(II) technical scheme
In order to solve the above technical problem, the present invention provides a bridging device for multi-channel low-speed peripheral integration, which includes a synchronous bridging unit and an expandable peripheral interface unit; the synchronous bridging unit is a bidirectional interface unit, one side interface realizes the connection with an external expansion interface of the processor, and the other side interface realizes the connection with an expandable peripheral interface unit; the request for accessing the external equipment is sent by the processor, and one side of the fast clock domain of the synchronous bridging unit receives the access request and synchronizes the request to one side of the slow clock domain; signals on two sides of different clock domains in the synchronous bridging unit realize a clock domain crossing synchronous function of transmitting data and control signals from a high-speed interface to a low-speed interface in a request, sampling and feedback handshake mode; the expandable peripheral interface unit is a bidirectional interface unit, one side interface realizes the connection with the synchronous bridging unit, and the other side realizes the connection with the multi-path low-speed peripheral equipment.
Furthermore, address and data buses between the synchronous bridging unit and the extensible peripheral interface unit are realized in a 32-bit width discrete mode, and data input and data output are realized in a discrete mode.
Furthermore, a flow control backpressure signal is arranged between the synchronous bridging unit and the expandable peripheral interface unit, the flow control backpressure signal is used for feeding back the data processing condition of the current peripheral to the processor side, the sending behavior of the processor is controlled at the necessary moment of inputting the sending data, and the buffer area of the low-speed peripheral is ensured not to be filled with the frequent sending request of the processor, so that the overflow is caused.
Furthermore, the synchronous bridge unit works by using an extended peripheral interface clock at the side connected with the external expansion interface of the processor, and the working frequency of the peripheral interface clock is 1/2 or 1/3 of the frequency of the external expansion interface clock of the processor.
Furthermore, the expandable peripheral interface unit completes configuration in a macro parameter definition mode, and at most 232 external expansion low-speed devices are connected.
Furthermore, the expandable peripheral interface unit is provided with a register array which is used for collecting and storing the interrupt state of the external expandable low-speed equipment and reporting the interrupt to the processor.
(III) advantageous effects
The bridging device for multi-path low-speed peripheral integration provided by the invention can ensure that the external expansion interface of the higher-speed processor can stably and reliably transmit data to the low-speed external equipment. Compared with the scheme built by using discrete devices, the invention can greatly reduce the area of the circuit board, achieve the purpose of reducing the cost and simultaneously provide convenience for logic debugging and use. The invention can conveniently provide user extension setting in the application process, is convenient to increase or reduce the logic use resource amount according to the actual use condition and has good adaptability. In addition, the expandable peripheral unit in the invention can be used in a cascade mode to construct a secondary address mapping relation, and has stronger adaptability to the design with less address space. Under the condition of allowing bandwidth and FPGA resources, a processor peripheral interface and any multi-path low-speed peripheral equipment can be provided to realize cross-clock domain synchronous processing.
Drawings
FIG. 1 is a block diagram of a bridge device according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating connection details of a bridging device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, contents and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
The embodiment provides a bridging device for multi-path low-speed peripheral integration, which integrates six-path serial ports and four-path CAN controllers, and the architecture of the bridging device is shown in fig. 1. The bridging device comprises a synchronous bridging unit and an extensible peripheral interface unit. The synchronous bridging unit is a bidirectional interface unit, and an interface at one side is connected with an external expansion interface of the processor; and the interface at the other side realizes the connection with the extensible peripheral interface. The processor can use a synchronous extension mode to realize interconnection with the synchronous bridging unit by using any clock within 100 MHz. The request for accessing the external device is sent by the processor, and the fast clock domain side of the synchronous bridging unit receives the access request and synchronizes the request to the slow clock domain side. For the case that one side of the slow clock domain is divided into a plurality of clock distributions, a synchronous bridging unit can be used for secondary division.
Details of the connection between the synchronization bridge unit and the extensible peripheral interface unit are shown in fig. 2. The synchronous bridging unit interface has the characteristics of high bandwidth and controllable flow. The address bus and the data bus are realized in a 32-bit width discrete mode, the data input and the data output are realized in a discrete mode, and the maximization of the working bandwidth is ensured by the parallel 32-bit bidirectional data channel. The interface is provided with a flow control backpressure signal, can feed back the current data processing condition of the peripheral equipment to the processor side, provides the flow control backpressure signal at the necessary moment of inputting and sending data, controls the sending behavior of the processor, ensures the reliability of the working process of the peripheral equipment, and ensures that the buffer area of the low-speed peripheral equipment cannot be filled with the frequent sending request of the processor to cause overflow. The other side of the synchronous bridging unit works by using an extended peripheral interface clock, and the working frequency of the peripheral interface clock is specified to be about 1/2 or 1/3 of the frequency of the external extended interface clock of the processor, and no special phase requirement exists. The synchronous processing of the clock domain crossing signals is realized by the signals at two sides of different clock domains through request, sampling and feedback handshake inside the synchronous bridging unit.
From the architecture perspective, the expandable peripheral interface unit is also a bidirectional interface unit, one side interface realizes the connection with the synchronous bridging unit, and the other side realizes the connection with the multi-path low-speed peripheral equipment. The expandable peripheral interface part completes configuration by a macro definition parameter mode, and can be connected with 232 low-speed peripheral equipment at most under the condition that the peripheral expansion address of the processor allows. The expandable peripheral interface unit configured by macro definition switch can define any position in 32-bit address as the starting point of the chip selection address segment of the peripheral unit and can specify any width in 32-bit address width as the decoding width. In addition, the expandable peripheral interface unit is also provided with a register array which can be used for collecting and storing the interrupt state of the external expandable low-speed equipment and reporting the interrupt to the processor. The processor can inquire the concrete register number of the reported interrupt by a register access mode and take corresponding processing action.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (2)

1. A bridging device for multi-path low-speed peripheral integration is characterized in that the bridging device comprises a synchronous bridging unit and an expandable peripheral interface unit; wherein,
the synchronous bridging unit is a bidirectional interface unit, one side interface realizes the connection with an external expansion interface of the processor, and the other side interface realizes the connection with the expandable peripheral interface unit; the request for accessing the external equipment is sent by the processor, and the quick clock domain side of the synchronous bridging unit receives the access request and synchronizes the request to the slow clock domain side; signals on two sides of different clock domains in the synchronous bridging unit realize a clock domain crossing synchronous function of transmitting data and control signals from a high-speed interface to a low-speed interface in a request, sampling and feedback handshake mode;
the extensible peripheral interface unit is a bidirectional interface unit, one side interface is connected with the synchronous bridging unit, and the other side interface is connected with the multi-path low-speed peripheral equipment;
the address and data bus between the synchronous bridging unit and the expandable peripheral interface unit is realized in a 32-bit width discrete mode, and the data input and the data output are realized in a discrete mode;
a flow control backpressure signal is arranged between the synchronous bridging unit and the expandable peripheral interface unit, the flow control backpressure signal is used for feeding back the data processing condition of the current peripheral to the processor side, the sending behavior of the processor is controlled at the necessary moment of inputting the sending data, and the buffer area of the low-speed peripheral is ensured not to be filled with the frequent sending request of the processor, so that the overflow is caused;
the synchronous bridge unit works by using an extended peripheral interface clock at the side connected with the external extension interface of the processor, and the working frequency of the peripheral interface clock is 1/2 or 1/3 of the clock frequency of the external extension interface of the processor;
the expandable peripheral interface unit is provided with a register array and is used for collecting and storing the interrupt state of the external expandable low-speed equipment and reporting the interrupt to the processor.
2. The bridging apparatus according to claim 1, wherein the extensible peripheral interface unit is configured in a macro-defined parameter manner, and is connected to a maximum of 232 external extensible low-speed devices.
CN201811276109.2A 2018-10-30 2018-10-30 Bridging device for multi-path low-speed peripheral integration Active CN109445855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811276109.2A CN109445855B (en) 2018-10-30 2018-10-30 Bridging device for multi-path low-speed peripheral integration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811276109.2A CN109445855B (en) 2018-10-30 2018-10-30 Bridging device for multi-path low-speed peripheral integration

Publications (2)

Publication Number Publication Date
CN109445855A CN109445855A (en) 2019-03-08
CN109445855B true CN109445855B (en) 2021-11-16

Family

ID=65550210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811276109.2A Active CN109445855B (en) 2018-10-30 2018-10-30 Bridging device for multi-path low-speed peripheral integration

Country Status (1)

Country Link
CN (1) CN109445855B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567280A (en) * 2010-12-17 2012-07-11 西安奇维测控科技有限公司 Computer hardware platform design method based on DSP (digital signal processor) and FPGA (field programmable gate array)
CN202564744U (en) * 2011-12-28 2012-11-28 钰创科技股份有限公司 Bridger between high-speed peripheral assembly interconnection port and USB 3.0 device
CN103631527A (en) * 2012-08-20 2014-03-12 中国人民解放军信息工程大学 DSP array achieving method based on two-level exchanging architecture
CN103746927A (en) * 2013-12-27 2014-04-23 杭州华为数字技术有限公司 Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN203870516U (en) * 2014-05-12 2014-10-08 北京立华莱康平台科技有限公司 Internet access switching over card based on high-speed peripheral interconnection
CN104991882A (en) * 2015-06-11 2015-10-21 哈尔滨工程大学 Baseband board card based on multi-processor collaboration used for software radio
CN105045704A (en) * 2015-06-24 2015-11-11 哈尔滨工业大学 Method for implementing data exchange between boards by using PCI master mode
CN105468563A (en) * 2015-12-28 2016-04-06 杭州士兰控股有限公司 SPI slave device, SPI communication system and SPI communication method
CN105573932A (en) * 2015-12-11 2016-05-11 中国航空工业集团公司西安航空计算技术研究所 Register-based multi-bit wide-data cross clock domain access method
CN106330758A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Transfer method and device based on multilayer queue fluid control back pressure
CN106469127A (en) * 2015-08-21 2017-03-01 深圳市中兴微电子技术有限公司 A kind of DAA and method
CN106569416A (en) * 2016-10-28 2017-04-19 珠海格力电器股份有限公司 Method and device for multiplexing serial interface and simulation debugging interface of microcontroller
CN106796541A (en) * 2015-03-20 2017-05-31 瑞萨电子株式会社 Data processing equipment
CN107483652A (en) * 2017-08-18 2017-12-15 惠州高盛达科技有限公司 The method of router its homepage of domain name access under wireless bridging pattern
CN207020664U (en) * 2017-07-27 2018-02-16 闭伟荣 For extending the expansion card of PCI E interfaces

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7937713B2 (en) * 2006-04-21 2011-05-03 Topia Technology System and method for providing services on a distributed network
US8941676B2 (en) * 2012-10-26 2015-01-27 Nvidia Corporation On-chip anti-alias resolve in a cache tiling architecture
CN104850524B (en) * 2015-05-29 2018-06-01 大唐微电子技术有限公司 The ahb bus bridging method and device of a kind of cross clock domain
CN205212849U (en) * 2015-12-03 2016-05-04 中机国际工程设计研究院有限责任公司 Synchronous communication device
CN106383793B (en) * 2016-09-05 2019-10-18 邦彦技术股份有限公司 External device access method and system on chip
CN108614797A (en) * 2016-12-12 2018-10-02 中国航空工业集团公司西安航空计算技术研究所 A kind of high low-frequency serial bus integrated interface of polymorphic type

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567280A (en) * 2010-12-17 2012-07-11 西安奇维测控科技有限公司 Computer hardware platform design method based on DSP (digital signal processor) and FPGA (field programmable gate array)
CN202564744U (en) * 2011-12-28 2012-11-28 钰创科技股份有限公司 Bridger between high-speed peripheral assembly interconnection port and USB 3.0 device
CN103631527A (en) * 2012-08-20 2014-03-12 中国人民解放军信息工程大学 DSP array achieving method based on two-level exchanging architecture
CN103746927A (en) * 2013-12-27 2014-04-23 杭州华为数字技术有限公司 Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN203870516U (en) * 2014-05-12 2014-10-08 北京立华莱康平台科技有限公司 Internet access switching over card based on high-speed peripheral interconnection
CN106796541A (en) * 2015-03-20 2017-05-31 瑞萨电子株式会社 Data processing equipment
CN104991882A (en) * 2015-06-11 2015-10-21 哈尔滨工程大学 Baseband board card based on multi-processor collaboration used for software radio
CN106330758A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Transfer method and device based on multilayer queue fluid control back pressure
CN105045704A (en) * 2015-06-24 2015-11-11 哈尔滨工业大学 Method for implementing data exchange between boards by using PCI master mode
CN106469127A (en) * 2015-08-21 2017-03-01 深圳市中兴微电子技术有限公司 A kind of DAA and method
CN105573932A (en) * 2015-12-11 2016-05-11 中国航空工业集团公司西安航空计算技术研究所 Register-based multi-bit wide-data cross clock domain access method
CN105468563A (en) * 2015-12-28 2016-04-06 杭州士兰控股有限公司 SPI slave device, SPI communication system and SPI communication method
CN106569416A (en) * 2016-10-28 2017-04-19 珠海格力电器股份有限公司 Method and device for multiplexing serial interface and simulation debugging interface of microcontroller
CN207020664U (en) * 2017-07-27 2018-02-16 闭伟荣 For extending the expansion card of PCI E interfaces
CN107483652A (en) * 2017-08-18 2017-12-15 惠州高盛达科技有限公司 The method of router its homepage of domain name access under wireless bridging pattern

Also Published As

Publication number Publication date
CN109445855A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN110471880B (en) ARINC429 bus module supporting Label number screening based on FPGA and data transmission method thereof
CN108628784B (en) Serial communicator and serial communication system
US9760525B2 (en) Sideband signal consolidation fanout using a clock generator chip
US5564061A (en) Reconfigurable architecture for multi-protocol data communications having selection means and a plurality of register sets
US20080084862A1 (en) Apparatus and method for data processing having an on-chip or off-chip interconnect between two or more devices
CN110635985A (en) FlexRay-CPCIe communication module
US9116881B2 (en) Routing switch apparatus, network switch system, and routing switching method
CN102073611A (en) I2C bus control system and method
CN112328523A (en) Method, device and system for transmitting double-rate signal
CN107992439B (en) Extensible data interaction method and system
JP3989376B2 (en) Communications system
CN101369948A (en) Communication system implementing low-power consumption
CN109445855B (en) Bridging device for multi-path low-speed peripheral integration
US11841756B2 (en) Method for information configuration in power mode change for an interconnection protocol, controller and storage device
US6874043B2 (en) Data buffer
CN116126771A (en) Communication system and method for two-wire SPI
CN115563049A (en) Method for implementing SPI sending mode assignment structure
CN104156336A (en) Control method of USB2.0 interface chip
US20020046307A1 (en) A data buffer
CN112835834A (en) Data transmission system
TWI850537B (en) Method for information configuration in power mode change for an interconnection protocol, controller and storage device
CN104079309A (en) Communication device and communication method of K wave band vehicle-mounted receiver
CN211702241U (en) Image data transmission equipment, capsule type endoscope and system thereof
CN110389919B (en) RISC-V processor based asynchronous transceiver peripheral and system
CN220569170U (en) Chip, communication device and communication system

Legal Events

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