[go: up one dir, main page]

CN105068951A - On-chip system bus with anisochronous transmission structure - Google Patents

On-chip system bus with anisochronous transmission structure Download PDF

Info

Publication number
CN105068951A
CN105068951A CN201510446036.7A CN201510446036A CN105068951A CN 105068951 A CN105068951 A CN 105068951A CN 201510446036 A CN201510446036 A CN 201510446036A CN 105068951 A CN105068951 A CN 105068951A
Authority
CN
China
Prior art keywords
signal
address
bus
request
master device
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
CN201510446036.7A
Other languages
Chinese (zh)
Other versions
CN105068951B (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.)
Beijing Zhongke Haoxin Technology Co Ltd
Original Assignee
Institute of Automation of Chinese Academy of Science
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 Institute of Automation of Chinese Academy of Science filed Critical Institute of Automation of Chinese Academy of Science
Priority to CN201510446036.7A priority Critical patent/CN105068951B/en
Publication of CN105068951A publication Critical patent/CN105068951A/en
Application granted granted Critical
Publication of CN105068951B publication Critical patent/CN105068951B/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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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/4031Coupling between buses using bus bridges with arbitration
    • 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/404Coupling between buses using bus bridges with address mapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Bus Control (AREA)

Abstract

The invention discloses an on-chip system bus, comprising a request priority queue, an arbiter group, an address and control signal selector, an internet and an address decoder. A primary device transmits a bus request signal to the address decoder; the address decoder transmits an application signal to the request priority queue according to the bus request signal; the request priority queue latches the application signal and generates a chip selection signal, and transmits the chip selection signal to the internet, and transmits the application signal to the arbiter group at the same time; the arbiter group transmits an arbitration result signal to the internet; the internet selects data and a handshake signal from the primary device to slave device according to the arbitration result signal, and the internet controls the data and the handshake signal from the primary device to slave device according to the chip selection signal. The on-chip system bus of the invention has different transmission time among different primary devices and slave devices on a large-area chip to achieve high-speed, parallel and real-time communication among devices.

Description

一种具有非等时传输结构的片上系统总线A System-on-Chip Bus with Non-isochronous Transfer Structure

技术领域technical field

本发明属于片上通信领域,尤其涉及一种具有非等时传输结构的片上系统总线。The invention belongs to the field of on-chip communication, in particular to an on-chip system bus with non-isochronous transmission structure.

背景技术Background technique

随着集成电路技术的发展,片上系统需求更多的处理器核、协处理器核以及更多的片上外设。而且多媒体、通信等技术的快速发展,要求片上的各设备之间拥有高速、并行、实时的通信方式。With the development of integrated circuit technology, the SoC requires more processor cores, coprocessor cores and more on-chip peripherals. Moreover, the rapid development of technologies such as multimedia and communication requires a high-speed, parallel, and real-time communication mode between devices on the chip.

为了追求更高的传输速率,系统总线的频率在不断提高,但是因为多核、多外设等更多的功能需求,即使在更精密工艺的支持下,芯片的面积也在不断的膨胀,这导致片上设备传输时间与总线频率之间的矛盾。当前存在的多种总线系统,使用在大面积芯片中的高频高带宽系统上时,若将数据进行流水式的传输,者将导致使用较多的流水线寄存器,消耗大量资源;否则只能降低总线时钟频率,这样就影响总线整体的性能。In order to pursue a higher transmission rate, the frequency of the system bus is constantly increasing, but because of more functional requirements such as multi-core and multi-peripheral hardware, even with the support of more sophisticated technology, the area of the chip is also constantly expanding, which leads to Discrepancy between on-chip device transfer time and bus frequency. When the various bus systems currently exist are used in high-frequency and high-bandwidth systems in large-area chips, if the data is transmitted in a pipeline, it will result in the use of more pipeline registers and consume a lot of resources; otherwise, it can only reduce Bus clock frequency, which affects the overall performance of the bus.

如果只有一条数据总线,当两个设备进行数据通信时,其他设备如果希望对另一个设备进行访问,虽然设备与设备之间并不冲突,但是该设备只能等待,或者允许更高优先级的设备打断当前的通信。单数据总线限制了整个系统的数据吞吐量,对数据吞吐量要求较高的系统需要多组设备之间同时进行通信:只要不是因为设备产生相关(例如两个主设备同时访问一个从设备),就可以并行的进行通信。If there is only one data bus, when two devices are communicating with each other, if other devices want to access another device, although there is no conflict between devices, the device can only wait, or allow higher priority The device interrupted the current communication. A single data bus limits the data throughput of the entire system. Systems with high data throughput requirements require simultaneous communication between multiple groups of devices: as long as it is not because of device correlation (for example, two master devices access a slave device at the same time), You can communicate in parallel.

图1是现有技术的某个系统中片上设备的连接示意图,其中从设备0(从0)只能由主设备0和主设备1访问,从设备1、从设备组2可以被所有主设备访问。从设备0、从设备1和从设备组2可以并行得被三个不同的主设备访问。图中结构10即总线的简单示意。总线的仲裁机制可以使高优先级的设备优先使用总线,于是较低优先级的设备就需要等待。若没有适当的方式,当优先级较高的设备不断发出总线请求,低优先级设备会长时间得不到总线的使用权。对于实时性要求较高的系统,例如通信系统,需要总线有能力保证一个设备在指定的总线周期之内,获得总线的使用权。Figure 1 is a schematic diagram of the connection of on-chip devices in a system of the prior art, wherein slave device 0 (slave 0) can only be accessed by master device 0 and master device 1, and slave device 1 and slave device group 2 can be accessed by all master devices access. Slave 0, slave 1 and slave group 2 can be accessed in parallel by three different masters. The structure 10 in the figure is a simple schematic diagram of the bus. The arbitration mechanism of the bus can make the high-priority devices use the bus first, so the lower-priority devices need to wait. If there is no proper way, when the higher priority devices continuously send out bus requests, the lower priority devices will not get the right to use the bus for a long time. For systems with high real-time requirements, such as communication systems, the bus needs to be able to ensure that a device obtains the right to use the bus within a specified bus cycle.

发明内容Contents of the invention

(一)要解决的技术问题(1) Technical problems to be solved

本发明的目的在于,提供了一种片上系统总线,特别是在大面积芯片上不同的主从设备之间具有不同的传输时间(时钟周期),实现高速、并行、实时的设备间通信。The object of the present invention is to provide a system-on-chip bus, especially with different transmission times (clock cycles) between different master-slave devices on a large-area chip, so as to realize high-speed, parallel and real-time communication between devices.

(二)技术方案(2) Technical solution

本发明提供一种片上系统总线,用于主设备和从设备之间的通信,包括请求优先级队列、仲裁器组、地址与控制信号选择器、互联网络及地址译码器;其中,The present invention provides a system-on-chip bus for communication between a master device and a slave device, including a request priority queue, an arbiter group, an address and control signal selector, an interconnection network, and an address decoder; wherein,

主设备发送总线请求信号至地址译码器,并发送对应的地址信号和控制信号至地址与控制信号选择器;The master device sends the bus request signal to the address decoder, and sends the corresponding address signal and control signal to the address and control signal selector;

所述地址译码器根据所述总线请求信号,向仲裁器组发送即时申请向量,同时将所述即时申请向量发送至请求优先级队列;The address decoder sends an immediate request vector to the arbitrator group according to the bus request signal, and simultaneously sends the immediate request vector to a request priority queue;

所述请求优先级队列将所述即时申请向量锁存,生成片选信号,并将所述片选信号发送至所述互联网络,同时,生成队列申请向量发送至所述仲裁器组;The request priority queue latches the immediate application vector, generates a chip selection signal, and sends the chip selection signal to the Internet, and at the same time, generates a queue application vector and sends it to the arbitrator group;

仲裁器组根据申请信号发出仲裁结果信号给地址与控制信号选择器,地址与控制信号选择器根据仲裁结果信号选择主设备的地址信号与控制信号,并传输至从设备;The arbitrator group sends an arbitration result signal to the address and control signal selector according to the application signal, and the address and control signal selector selects the address signal and control signal of the master device according to the arbitration result signal and transmits it to the slave device;

仲裁器组还发送仲裁结果信号至互联网络,互联网络根据仲裁结果信号选择主设备至从设备方向的数据和握手信号,互联网络还根据片选信号控制从设备至主设备方向的数据和握手信号。The arbitrator group also sends the arbitration result signal to the Internet, and the Internet selects the data and handshake signals from the master device to the slave device according to the arbitration result signal, and the Internet also controls the data and handshake signals from the slave device to the master device direction according to the chip selection signal .

(三)有益效果(3) Beneficial effects

1、本发明提供一种片上系统总线,在该总线中允许设备之间的传输周期不同,而总线频率由其中传输时间较短的设备决定,传输距离多于一个总线周期的设备间路径由多周期路径进行约束,使得以统一的总线形式,最小的硬件开销解决了在大面积芯片上总线频率与设备间传输时间的矛盾,总线频率因此可以根据设计需求而更高;传输时间短的设备之间可以以总线周期进行高速的数据传输;传输时间较长的设备之间的无需使用流水寄存器以及总线代理,减少资源消耗。1. The present invention provides a system-on-chip bus, in which the transmission cycles between devices are allowed to be different, and the bus frequency is determined by the device with a shorter transmission time, and the path between devices with a transmission distance of more than one bus cycle is determined by multiple The periodic path is constrained, so that the contradiction between the bus frequency and the transmission time between devices on a large-area chip is solved with a unified bus form and the minimum hardware overhead. Therefore, the bus frequency can be higher according to the design requirements; between devices with short transmission time High-speed data transmission can be performed in the bus cycle; there is no need to use pipeline registers and bus agents between devices with long transmission times, reducing resource consumption.

2、本发明提供的片上系统总线,给出了相应总线协议,该协议是单边沿的流水式总线协议,该协议将总线申请、地址和控制信号的发送与数据的发送分在两个流水级进行操作,关键是不需要额外的总线申请操作,在申请总线时给出地址和控制信号,下一拍根据握手信号接发数据,使得单边沿操作保证了高总线频率,流水式操作以及无需额外的总线申请时间,保证了即使在总线交接时的总线效率;特别的,在非突发传输时,多周期路径的主设备不会影响总线和从设备的响应效率。2. The system-on-chip bus provided by the present invention provides a corresponding bus protocol, which is a single-edge pipeline bus protocol, which divides the sending of bus application, address and control signals and the sending of data into two pipeline levels To operate, the key is that no additional bus application operation is required. When applying for the bus, the address and control signal are given, and the next shot receives and sends data according to the handshake signal, so that the single-edge operation ensures high bus frequency, pipeline operation and no additional The bus application time ensures the bus efficiency even when the bus is handed over; in particular, the master device of the multi-cycle path will not affect the response efficiency of the bus and the slave device during non-burst transmission.

3、本发明提供的片上系统总线,具有请求优先级队列,以进入队列的先后决定请求的优先级,保证了设备请求响应的实时性。3. The system-on-chip bus provided by the present invention has a request priority queue, and the priority of requests is determined by the order of entering the queue, which ensures the real-time performance of device request responses.

附图说明Description of drawings

图1是现有技术中片上系统设备连接的简单示意图。FIG. 1 is a simple schematic diagram of device connections of a system-on-chip in the prior art.

图2是本发明实施例提供的片上系统总线的结构图。FIG. 2 is a structural diagram of a system-on-chip bus provided by an embodiment of the present invention.

图3是本发明实施例中仲裁器组的结构图。Fig. 3 is a structural diagram of an arbitrator group in an embodiment of the present invention.

图4是本发明实施例中主从设备之间3对3全互联示意图。Fig. 4 is a schematic diagram of 3-to-3 full interconnection between master and slave devices in an embodiment of the present invention.

图5是本发明实施例中申请优先级队列的结构图。Fig. 5 is a structural diagram of an application priority queue in an embodiment of the present invention.

图6是本发明实施例中主设备和从设备的接口框图。Fig. 6 is an interface block diagram of the master device and the slave device in the embodiment of the present invention.

图7是本发明实施例中主从设备间一对一的传输时序图。Fig. 7 is a sequence diagram of one-to-one transmission between master and slave devices in the embodiment of the present invention.

图8是本发明实施例中主线交接时序图。Fig. 8 is a sequence diagram of main line handover in the embodiment of the present invention.

图9是本发明实施例中一个双周期路径和一个单周期路径的主设备相互使用总线进行读写的时序图。FIG. 9 is a sequence diagram of master devices of a dual-cycle path and a single-cycle path using the bus to read and write each other in an embodiment of the present invention.

图10本发明实施例中是一个突发写时序以及总线交接时序图。FIG. 10 is a timing diagram of a burst write sequence and a bus handover sequence in an embodiment of the present invention.

图11本发明实施例中是两周期路径的突发传输时序图。FIG. 11 is a timing diagram of a burst transmission of a two-cycle path in an embodiment of the present invention.

图12本发明实施例中是多个主设备同时竞争一个总线的时序图。FIG. 12 is a sequence diagram of multiple master devices competing for a bus at the same time in the embodiment of the present invention.

具体实施方式Detailed ways

本发明提供一种片上系统总线,包括请求优先级队列、仲裁器组、地址与控制信号选择器、互联网络及地址译码器;主设备发送总线请求信号至地址译码器,并发送对应的地址信号和控制信号至地址与控制信号选择器;地址译码器根据总线请求信号,向仲裁器组和请求优先级队列发送即时申请向量;请求优先级队列将申请信号锁存,生成片选信号,并将片选信号发送至互联网络,同时,根据先进先出原则给出每个从设备组的申请向量,队列空直接选择地址译码器的结果作为当前周期的申请信号发送到仲裁器组;仲裁器组根据申请信号发出仲裁结果信号给地址与控制信号选择器,地址与控制信号选择器根据仲裁结果信号选择主设备的地址信号与控制信号,并传输至从设备仲裁器组还发送仲裁结果信号至互联网络,互联网络根据仲裁结果信号选择主设备至从设备方向的数据和握手信号,互联网络还根据片选信号控制从设备至主设备方向的数据和握手信号。The invention provides a system-on-chip bus, which includes a request priority queue, an arbiter group, an address and control signal selector, an interconnection network, and an address decoder; a master device sends a bus request signal to the address decoder, and sends a corresponding The address signal and control signal are sent to the address and control signal selector; the address decoder sends an immediate application vector to the arbitrator group and the request priority queue according to the bus request signal; the request priority queue latches the application signal to generate a chip select signal , and send the chip select signal to the Internet, and at the same time, give the application vector of each slave device group according to the first-in-first-out principle, and the queue empty directly selects the result of the address decoder as the application signal of the current cycle and sends it to the arbitrator group ; The arbitrator group sends an arbitration result signal to the address and control signal selector according to the application signal, and the address and control signal selector selects the address signal and control signal of the master device according to the arbitration result signal, and transmits it to the slave device. The arbiter group also sends an arbitration signal The result signal is sent to the Internet, and the Internet selects the data and handshake signals from the master device to the slave device according to the arbitration result signal, and the Internet also controls the data and handshake signals from the slave device to the master device according to the chip selection signal.

在一种实施方式中,该片上系统总线还包括一个地址与控制信号存储器,所述仲裁器组还返回一个授权信号给请求优先级队列,根据授权信号使主设备的总线请求信号进入请求优先级队列,同时使主设备的地址信号和控制信号进入地址与控制信号存储器。In one embodiment, the system-on-chip bus also includes an address and control signal memory, and the arbiter group also returns a grant signal to the request priority queue, and the bus request signal of the master device enters the request priority queue according to the grant signal. Queue, and at the same time make the address signal and control signal of the master device enter the address and control signal memory.

在一种实施方式中,该片上系统总线还包括一个第一选择器,当请求优先级队列为空时,请求优先级队列发送队列空信号至第一选择器的控制端,第一选择器直接选择主设备发送的地址信号和控制信号至地址与控制信号选择器,否则,第一选择器选择地址与控制信号存储器中的地址信号和控制信号至地址与控制信号选择器。In one embodiment, the system-on-chip bus further includes a first selector. When the request priority queue is empty, the request priority queue sends a queue empty signal to the control terminal of the first selector, and the first selector directly Select the address signal and control signal sent by the master device to the address and control signal selector, otherwise, the first selector selects the address signal and control signal in the address and control signal memory to the address and control signal selector.

在一种实施方式中,该片上系统总线还包括一个第二选择器,当请求优先级队列为空时,请求优先级队列发送队列空信号至第二选择器的控制端,第二选择器直接选择地址译码器发送的申请信号至仲裁器组,否则,第二选择器选择请求优先级队列发送的申请信号至仲裁器组。In one embodiment, the system-on-chip bus also includes a second selector. When the request priority queue is empty, the request priority queue sends a queue empty signal to the control terminal of the second selector, and the second selector directly The application signal sent by the address decoder is selected to the arbitrator group, otherwise, the second selector selects the application signal sent by the request priority queue to the arbitrator group.

在一种实施方式中,仲裁器组包括一个或多个仲裁器,仲裁器的数量与从设备的数量相同。In one embodiment, the arbitrator group includes one or more arbitrators, and the number of arbitrators is the same as the number of slave devices.

在一种实施方式中,仲裁器中的仲裁逻辑为优先编码器。In one embodiment, the arbitration logic in the arbiter is a priority encoder.

在一种实施方式中,该片上系统总线还包括仲裁结果寄存器,仲裁器组先发送所述仲裁结果信号至所述仲裁结果寄存器,再通过所述仲裁结果寄存器将仲裁结果信号发送至所述互联网络。In one embodiment, the system-on-chip bus further includes an arbitration result register, and the arbitrator group first sends the arbitration result signal to the arbitration result register, and then sends the arbitration result signal to the interconnection through the arbitration result register. network.

在一种实施方式中,主设备在本周期发送完信号后,无需等待授权信号,在下一个周期直接发送写数据至从设备,并监听所述从设备发送的握手信号。In one embodiment, after sending the signal in this cycle, the master device directly sends write data to the slave device in the next cycle without waiting for the authorization signal, and monitors the handshake signal sent by the slave device.

在一种实施方式中,片上系统总线通过一个或多个时钟周期使主设备发送的信号传输至从设备。In one embodiment, the system-on-chip bus transmits the signal sent by the master device to the slave device through one or more clock cycles.

在一种实施方式中,主设备发送的控制信号中带有主设备时序信息,通过主设备时序信息控制所述从设备的响应周期,以匹配主设备与从设备之间的传输速率。本发明的片上系统总线在大面积芯片上不同的主从设备之间具有不同的传输时间(时钟周期),实现高速、并行、实时的设备间通信。In one embodiment, the control signal sent by the master device carries timing information of the master device, and the response period of the slave device is controlled by the timing information of the master device, so as to match the transmission rate between the master device and the slave device. The on-chip system bus of the present invention has different transmission times (clock cycles) between different master-slave devices on a large-area chip, and realizes high-speed, parallel and real-time communication between devices.

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

图2是本发明提供的片上系统总线的结构图,如图2所示,总线10包括请求优先级队列201、仲裁器组202、地址与控制信号存储器203、地址与控制信号选择器204、仲裁结果寄存器205、互联网络206、地址译码器207、第一选择器208及第二选择器209(图中结构框图的左下角有时钟输入三角标记的表示该结构是时序逻辑或其中存在时序逻辑,该标记适用于本文中的其他图)。每个主设备可以在任何时刻发出总线请求信号,同时给出该请求的地址和控制信号;地址译码器207根据主设备给出的地址向对应的从设备(组)给出即时申请向量,并将即时申请向量发送至请求优先级队列201,锁存后作为片选信号控制从设备端至主设备端方向的数据选择,同时请求优先级队列根据先入先出的原则,给出队列申请向量;针对每个从设备(组),根据请求优先级队列201中对应从设备队列的“队列空”信号,如果空则选择即时申请向量,如果非空则选择队列申请向量,选择结果作为仲裁器组202的输入即总线请求信号;经过仲裁后,每个仲裁器的结果返回应答信号给请求优先级队列201,使能没有被即时授予总线的请求进入请求优先级队列201,同时相关的地址/控制信号进入地址与控制信号存储器203中,而被授予总线的主设备的地址与控制信号由仲裁结果控制地址与控制信号选择器204选择传输至每个从设备端口,由从设备进行锁存,便于下一周期读写数据;同时仲裁结果也将锁存在仲裁结果寄存器205,用于互联网络206选择主设备至从设备方向的数据(写数据)和握手信号,锁存在请求优先级队列201中的片选信号将控制互联网络206从设备至主设备方向的数据(读数据)和握手信号。主设备在送出请求信号的下一个操作周期,就可以给出写数据或者读取来自从设备的数据,同时给出下一个总线请求。其中,仲裁器组202中的仲裁器数量与当前从设备(组)的数量相同,两者的对应关系如图1中仲裁器和从设备(组)的对应关系。Fig. 2 is the structural diagram of system on chip bus that the present invention provides, as shown in Fig. 2, bus 10 comprises request priority queue 201, arbitrator group 202, address and control signal memory 203, address and control signal selector 204, arbitration Result register 205, interconnection network 206, address decoder 207, first selector 208 and second selector 209 (in the lower left corner of the structural block diagram in the figure, there is a clock input triangle mark to indicate that this structure is sequential logic or there is sequential logic therein , this notation applies to other figures in this article). Each main equipment can send bus request signal at any moment, and the address and the control signal of this request are provided simultaneously; Address decoder 207 provides immediate request vector to corresponding slave equipment (group) according to the address that main equipment provides, And send the immediate application vector to the request priority queue 201, and use it as a chip selection signal to control data selection from the device side to the master device side after latching, and at the same time request the priority queue to give the queue request vector according to the principle of first-in-first-out ; For each slave device (group), according to the "queue empty" signal corresponding to the slave device queue in the request priority queue 201, if it is empty, then select the immediate application vector, if it is not empty, then select the queue application vector, and select the result as an arbiter The input of group 202 is the bus request signal; after arbitration, the result of each arbitrator returns the response signal to the request priority queue 201, enabling the request that is not granted the bus immediately to enter the request priority queue 201, and the relevant address/ The control signal enters the address and control signal memory 203, and the address and control signal of the master device granted to the bus is selected and transmitted to each slave device port by the arbitration result control address and control signal selector 204, and is latched by the slave device. It is convenient to read and write data in the next cycle; at the same time, the arbitration result will also be locked in the arbitration result register 205, which is used for the Internet 206 to select the data (write data) and handshake signal from the master device to the slave device direction, and lock it in the request priority queue 201 The chip select signal will control the data (read data) and handshake signals of the Internet 206 from the device to the master device. In the next operation cycle when the master device sends the request signal, it can write data or read data from the slave device, and at the same time give the next bus request. Wherein, the number of arbitrators in the arbiter group 202 is the same as the number of current slave devices (groups), and the corresponding relationship between the two is as shown in the corresponding relationship between arbitrators and slave devices (groups) in FIG. 1 .

图3是本实施例中仲裁器202的内部结构图。首先每个仲裁器的输入是一个位宽与可以访问该从设备(组)的主设备数量相同的一个申请向量,向量中值为“高”表示对应主设备需要申请对该从设备(组)的访问,而仲裁逻辑就是从这些申请中选择一个主设备给予总线。因为总线申请优先级队列201的存在,此处的仲裁逻辑的主要作用就是从同时申请总线的主设备中选择一个,所以仲裁逻辑可以是一个较为简单的固定优先级的仲裁逻辑,比如优先编码器。每个仲裁器输出是与输入同样位宽的向量,有效输入对应的输出是“独热”的,即只有一个主设备被授予总线;无效输入(0向量)对应无效输出(0向量)。每个仲裁器的输出将会控制对应从设备(组)的输入选择,被授权主设备的数据/控制信号可以驱动该从设备(组)的数据/控制总线。针对同一个主设备,每个仲裁器都会给出授权信号,将所有对应主设备的授权位进行“或”操作,就是该主设备的授权信号,该信号主要用于控制总线上的存储逻辑:请求优先级队列201,地址与控制信号存储器203。FIG. 3 is an internal structural diagram of the arbiter 202 in this embodiment. First, the input of each arbitrator is an application vector whose bit width is the same as the number of master devices that can access the slave device (group), and the value in the vector is "high", indicating that the corresponding master device needs to apply for the slave device (group) access, and the arbitration logic is to select a master device from these applications to give the bus. Because of the existence of the bus application priority queue 201, the main function of the arbitration logic here is to select one of the master devices that apply for the bus at the same time, so the arbitration logic can be a relatively simple fixed priority arbitration logic, such as a priority encoder . The output of each arbiter is a vector with the same bit width as the input, and the output corresponding to the valid input is "one-hot", that is, only one master device is granted to the bus; the invalid input (0 vector) corresponds to the invalid output (0 vector). The output of each arbiter will control the input selection of the corresponding slave device (group), and the data/control signal of the authorized master device can drive the data/control bus of the slave device (group). For the same master device, each arbiter will give an authorization signal, and the "OR" operation of all the authorization bits corresponding to the master device is the authorization signal of the master device, which is mainly used to control the storage logic on the bus: Request priority queue 201 , address and control signal memory 203 .

图4是本实施例中互联网络206的一个3对3全互联示例图。其中,仲裁结果寄存器205的值用于选择主设备至从设备方向的选择器,请求优先级队列201中的片选信号用于选择从设备至主设备方向的选择器。其中地址与控制信号选择器204与图4中右侧一列的选择器相似,不同点在于,地址与控制信号选择器204的选择信号并不是寄存之后的仲裁结果,而是当前由仲裁器产生的仲裁结果。FIG. 4 is an example diagram of a 3-to-3 full interconnection of the Internet 206 in this embodiment. Wherein, the value of the arbitration result register 205 is used to select the selector from the master device to the slave device, and the chip select signal in the request priority queue 201 is used to select the selector from the slave device to the master device. Wherein the address and control signal selector 204 is similar to the selector in the right column in Fig. 4, the difference is that the selection signal of the address and control signal selector 204 is not the arbitration result after registration, but is currently generated by the arbitrator Arbitration results.

图5是本实施例中请求优先级队列201的结构图。其包括第一存储器501、第二存储器502及第三存储器503,其中,第一存储器201用于存储有效的地址译码值,存储大小为m×n位(m表示主设备数,n表示从设备组数,下同);第二存储器502用于存储从设备组最大优先值,存储大小为n×log2m,即每个从设备组对应一个宽度为log2m的存储器;第三存储器503用于存储主设备优先值,存储大小为m×log2m,即每个主设备对应一个log2m的存储器。存储器502的初始值为0,表示对应从设备组的申请队列为空,以此产生的队列空信号用于控制第一选择器208和第二选择器209。第三存储器503是每个主设备的优先级,当有请求没有被即时授权需要入列,选择申请对象的第二存储器502的“自增1”值作为该主设备的优先值,同时该第二存储器502也需要“自增1”。队列输出时只选择优先值等于“1”的主设备的请求作为输出。当输出中针对某个从设备组的请求是独热的,且该从设备组给出有效“SValid”信号,则对应第二存储器502需要“自减1”,该“自减1”信号通过片选信号选择,使能主设备优先值“自减1”。对于第二存储器502,当“自增1”信号与“自减1”信号相同(“同或”),则保持原值。FIG. 5 is a structural diagram of the request priority queue 201 in this embodiment. It includes a first memory 501, a second memory 502 and a third memory 503, wherein the first memory 201 is used to store valid address decoding values, and the storage size is m×n bits (m represents the number of master devices, n represents the number of slaves number of device groups, the same below); the second memory 502 is used to store the maximum priority value of the slave device group, and the storage size is n×log 2 m, that is, each slave device group corresponds to a memory whose width is log 2 m; the third memory The 503 is used to store the priority value of the master device, and the storage size is m×log 2 m, that is, each master device corresponds to a log 2 m memory. The initial value of the memory 502 is 0, which means that the request queue corresponding to the slave device group is empty, and the queue empty signal generated thereby is used to control the first selector 208 and the second selector 209 . The third memory 503 is the priority of each master device. When there is a request that is not immediately authorized and needs to be listed, the "self-increment 1" value of the second memory 502 of the application object is selected as the priority value of the master device. The second memory 502 also needs to "increment by 1". When the queue is output, only the request of the master device whose priority value is equal to "1" is selected as output. When the request for a certain slave device group in the output is unique, and the slave device group gives an effective "SValid" signal, then the corresponding second memory 502 needs to "decrement by 1", and the "self-decrement by 1" signal passes Chip selection signal selection, enabling the priority value of the master device to "decrement by 1". For the second memory 502, when the "self-increment 1" signal is the same as the "self-decrement 1" signal ("exclusive OR"), the original value is maintained.

下文描述该总线的使用方法,即其总线协议。The usage of this bus, ie its bus protocol, is described below.

从主设备发起总线请求到使用总线传输数据分为两位阶段,阶段一是主设备发起请求,阶段二是主从设备间数据传输。阶段一和阶段二是总线操作中的两个流水级,即在第一个请求进行阶段二时,主设备可以同时给出第二个请求(针对同一从设备组)的阶段一的信号。From the master device initiating a bus request to using the bus to transmit data, it is divided into two stages. The first stage is the master device initiating the request, and the second stage is the data transmission between the master and slave devices. Phase 1 and phase 2 are two pipeline stages in the bus operation, that is, when the first request is in phase 2, the master device can give the signal of phase 1 of the second request (for the same slave device group) at the same time.

S1主设备发送请求、地址和控制信号,同时判断输入从设备有效信号,这属于阶段一;S1 The master device sends request, address and control signals, and at the same time judges the valid signal of the input slave device, which belongs to the first stage;

S2在从设备有效为高后,在下一个时钟周期,若是写操作,主设备发送写数据,并给出主设备有效信号,若是读操作,主设备在从设备有效信号为高时锁存读数据,这属于阶段二;S2 After the slave device is effectively high, in the next clock cycle, if it is a write operation, the master device sends the write data and gives the master device a valid signal. If it is a read operation, the master device latches the read data when the slave device's valid signal is high. , which belongs to stage two;

S3在S2进行的同时,主设备可以同时进行下一个总线请求的S1;While S3 is in progress in S2, the master device can simultaneously perform S1 for the next bus request;

S4在S1进行的同时,从设备将接收到主设备发出的地址和控制信号锁存,这属于阶段一;While S4 is in S1, the slave device will receive the address and control signal from the master device to latch, which belongs to phase one;

S5在S2进行的同时,根据地址和控制信号,若是写操作,则从设备在主设备有效信号为高时将写数据写入对应地址,若是读操作,则发送对应地址的数据及从设备有效信号,这属于阶段二;While S5 is in S2, according to the address and control signal, if it is a write operation, the slave device will write the write data into the corresponding address when the master device valid signal is high, and if it is a read operation, it will send the data of the corresponding address and the slave device is valid signal, which belongs to phase two;

S6在S5进行的同时,从设备可以根据主设备进行的下一个S1而进行S4。While S6 is in progress in S5, the slave device can proceed to S4 according to the next S1 performed by the master device.

与其他的片上总线协议不同在于,其他片上总线需要一个单独的总线申请环节,总线授权之后设备占有总线,发送地址信号、控制信号以及读写数据;而本发明中,将总线申请与地址、控制信号同时发出作为阶段一,只要当前申请优先级队列中没有对应主设备的申请向量,则自动进入阶段二,发送写数据或接收读数据,若双方握手信号有效则结束本次请求(突发操作除外)。Different from other on-chip bus protocols, other on-chip buses need a separate bus application link. After the bus is authorized, the device occupies the bus, sends address signals, control signals, and reads and writes data; and in the present invention, the bus application and address, control The signal is sent at the same time as phase 1. As long as there is no application vector corresponding to the master device in the current application priority queue, it will automatically enter phase 2 to send write data or receive read data. If the handshake signal between the two parties is valid, the request will end (burst operation except).

每个设备的操作周期并不相同,具体操作时间由主设备与总线控制、选择逻辑之间的传输时间决定。主设备的信号传输到某个特定的结构所需的时间超过当前总线频率要求的周期,则该设备将自动降频至相应的频率采样来自总线的数据和握手信号。当一个从设备接受到多周期路径主设备的突发请求,从设备也自动降频至相应的频率进行数据和握手信号采样。The operation cycle of each device is different, and the specific operation time is determined by the transmission time between the master device and the bus control and selection logic. If the time required for the signal transmission of the master device to a specific structure exceeds the period required by the current bus frequency, the device will automatically down-frequency to the corresponding frequency to sample data and handshake signals from the bus. When a slave device receives a burst request from the master device of the multi-cycle path, the slave device also automatically reduces the frequency to the corresponding frequency for data and handshake signal sampling.

图6是本发明中主设备和从设备的接口框图。其中数据位宽根据设备实际位宽需求而确定,一般位宽为16/32/64/128位。控制信号(Ctrl)中至少包含读/写、突发、主设备时序信息等控制信息。从设备的片选信号(Sel)用于从设备组中,若某仲裁器对应单一的从设备,则该从设备无须该信号。Fig. 6 is an interface block diagram of the master device and the slave device in the present invention. The data bit width is determined according to the actual bit width requirements of the device, and the general bit width is 16/32/64/128 bits. The control signal (Ctrl) at least includes control information such as read/write, burst, and timing information of the master device. The chip select signal (Sel) of the slave device is used in the slave device group. If a certain arbiter corresponds to a single slave device, the slave device does not need this signal.

表1是对主从设备接口信号的具体描述。Table 1 is a specific description of the master-slave device interface signals.

表1Table 1

图7所示的时序图,是针对某个从设备(组)且对应请求队列为空时,某个主设备对该从设备(组)的访问时序图。图中主设备连续发出了四次非突发读/写请求,其中SValid信号由从设备发出的握手信号,总线以及主设备通过读取该信号确定当前数据是否结束当前操作,或者维持上一周期的数据。其中Req信号表示当前该主设备提出一次有效的总线申请,该信号主要作为申请优先级队列201的入队使能信号之一,如果该请求没有被授权,则会进入请求队列中。图中由于对于地址C的请求无法及时响应,主设备在维持写数据输出的同时,也需要维持其对地址D的请求,因为SValid信号为低时当前请求无法进入队列。The timing diagram shown in FIG. 7 is a timing diagram for accessing the slave device (group) by a certain master device when the corresponding request queue is empty for a certain slave device (group). In the figure, the master device continuously sends out four non-burst read/write requests, in which the SValid signal is a handshake signal sent by the slave device, and the bus and the master device determine whether the current data ends the current operation or maintains the previous cycle by reading the signal The data. Wherein the Req signal indicates that the current master device proposes a valid bus application, and this signal is mainly used as one of the enqueue enabling signals of the application priority queue 201, if the request is not authorized, it will enter the request queue. In the figure, since the request for address C cannot be responded in time, the master device needs to maintain its request for address D while maintaining the write data output, because the current request cannot enter the queue when the SValid signal is low.

图8所示是针对某个从设备(组)且对应请求队列为空时,两个主设备交接总线的时序示意图。图中两个主设备在连续的两个周期中分别发出总线请求,并且顺利的无等待的获得了总线的使用权。FIG. 8 is a schematic diagram of a timing sequence of two master devices handing over the bus for a certain slave device (group) and the corresponding request queue is empty. In the figure, the two master devices issue bus requests respectively in two consecutive cycles, and successfully obtain the right to use the bus without waiting.

图9是一个双周期路径和一个单周期路径的主设备相互使用总线进行读写的时序图。其中后缀是“_p1”的信号表示该条信号靠近输出端的值,“_p2”表示靠近输入端的值。“WData#1_p1”表示靠近主设备1的写数据线,该数据进入第二周期后,经过仲裁器的选择器驱动“WData”总线;“RData#1_p2”表示靠近主设备1的读数据线,是“RData”总线在仅主设备1段的延长线。从图中可以看出,双周期路径的主设备在发起非突发请求时,对从设备和总线的占用时间与单周期路径的主设备相同。但是该多周期路径主设备需要使用四个总线周期才可以确认结束此次总线访问,然后进行下一个总线申请。FIG. 9 is a timing diagram of master devices of a double-cycle path and a single-cycle path using the bus to read and write each other. The signal with the suffix "_p1" indicates the value of the signal close to the output terminal, and "_p2" indicates the value close to the input terminal. "WData#1_p1" indicates the write data line close to the master device 1. After the data enters the second cycle, the selector of the arbitrator drives the "WData" bus; "RData#1_p2" indicates the read data line close to the master device 1. It is an extension of the "RData" bus in the master-only segment 1. It can be seen from the figure that when the master device of the double-cycle path initiates a non-burst request, the occupation time of the slave device and the bus is the same as that of the master device of the single-cycle path. However, the master device of the multi-cycle path needs to use four bus cycles to confirm the end of the bus access, and then proceed to the next bus application.

图10是一个突发写时序以及总线交接示意图。图中,主设备1发起突发写请求被响应,以主设备给出突发结束信号“BLast”结束突发。在突发传输时,主设备和从设备都需要给出握手信号,即图中的“MValid”“SValid”信号,只要其中一个信号为低,就表示当前传输数据无效,需要再一次传输当前数据。图中还示意了简单的总线的竞争,在主设备1进行突发传输过程中,主设备2提出总线申请,由于总线忙,总线给主设备2的握手信号为低,所以主设备需要维持数据,直到握手信号为高。在主设备1给出突发结束信号的同时,主设备可以同时发出针对该从设备的另一个请求,在本发明中,由于请求优先级队列201,总线会优先相应主设备2的请求,然后再相应主设备1的第二个请求。FIG. 10 is a schematic diagram of a burst write sequence and bus handover. In the figure, the master device 1 initiates a burst write request and is responded to, and the master device sends a burst end signal "BLast" to end the burst. During burst transmission, both the master device and the slave device need to give a handshake signal, that is, the "MValid" and "SValid" signals in the figure. As long as one of the signals is low, it means that the current transmission data is invalid, and the current data needs to be transmitted again . The figure also shows a simple bus competition. During the burst transmission process of the master device 1, the master device 2 makes a bus request. Since the bus is busy, the handshake signal from the bus to the master device 2 is low, so the master device needs to maintain the data , until the handshake signal is high. When the master device 1 gives the burst end signal, the master device can send another request for the slave device at the same time. In the present invention, due to the request priority queue 201, the bus will give priority to the request of the corresponding master device 2, and then Respond to the second request of master device 1.

图11是两周期路径的突发传输时序图。从图中可以看出,基本是没两个总线周期传输一个数据,不过申请信号、握手信号、突发结束信号都是以单周期的形式给出,所以一个数据发出之后,从第二时钟周期(含)开始采样握手信号,有效则下一周期发出新的数据。所以一个数据的传输时间为大于等于2周期,而不是2的正整数倍。值得一提的是,如果多周期路径传输的两个设备中从设备是高速设备,并不提倡使用突发传输的方式进行传输,建议用非突发的总线访问方式,如此不会对从设备的运行效率产生影响。Figure 11 is a burst transfer timing diagram for a two-cycle path. It can be seen from the figure that there is basically no two bus cycles to transmit a data, but the application signal, handshake signal, and burst end signal are all given in the form of a single cycle, so after a data is sent, it starts from the second clock cycle (Included) Start sampling the handshake signal, and if it is valid, new data will be sent in the next cycle. Therefore, the transmission time of a data is greater than or equal to 2 cycles, not a positive integer multiple of 2. It is worth mentioning that if the slave device is a high-speed device among the two devices transmitted by the multi-cycle path, it is not recommended to use the burst transfer method for transmission. It is recommended to use the non-burst bus access method, which will not affect the slave device. impact on operating efficiency.

图12是多个主设备同时竞争一个总线的时序图。图中示意的是三个主设备对同一个从设备组的竞争。对于主设备1、2、3的同时申请,总线首先响应主设备1的请求,然后主设备2、3的请求将会进入请求优先级队列201。虽然第二个操作周期主设备1又发出了一个申请,但是由于申请队列中还有主设备2、3的申请,所以主设备1的第二个申请将会进入请求队列。总线的第二个周期的使用权,经过对主设备2,3的请求仲裁,授予主设备2。在主设备等待总线授权的情况下,如果是写操作,需求主设备维持写数据端口的数据,知道采样到来自总线有效的握手信号。Fig. 12 is a timing diagram of multiple masters contending for a bus at the same time. The figure shows the competition of three master devices for the same slave device group. For the simultaneous applications of the masters 1, 2, 3, the bus first responds to the request of the master 1, and then the requests of the masters 2, 3 will enter the request priority queue 201 . Although the master device 1 sends another application in the second operation cycle, because there are still applications from the master devices 2 and 3 in the application queue, the second application of the master device 1 will enter the request queue. The right to use the second cycle of the bus is granted to the master device 2 after request arbitration to the master device 2 and 3 . In the case where the master device is waiting for the bus authorization, if it is a write operation, the master device is required to maintain the data of the write data port, and know that a valid handshake signal from the bus is sampled.

以上的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明的具体实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above specific embodiments have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific embodiments of the present invention, and are not intended to limit the present invention. Within the spirit and principles of the present invention, any modifications, equivalent replacements, improvements, etc., shall be included within the protection scope of the present invention.

Claims (11)

1.一种片上系统总线(10),用于主设备和从设备之间的通信,其特征在于,包括请求优先级队列(201)、仲裁器组(202)、地址与控制信号选择器(204)、互联网络(206)及地址译码器(207);其中,1. a system-on-chip bus (10), used for communication between master equipment and slave equipment, is characterized in that, comprises request priority queue (201), arbitrator group (202), address and control signal selector ( 204), Internet (206) and address decoder (207); wherein, 所述主设备发送总线请求信号至所述地址译码器(207),并发送对应的地址信号和控制信号至所述地址与控制信号选择器(204);The master device sends a bus request signal to the address decoder (207), and sends a corresponding address signal and control signal to the address and control signal selector (204); 所述地址译码器(207)根据所述总线请求信号,向仲裁器组发送即时申请向量,同时将所述即时申请向量发送至请求优先级队列(201);The address decoder (207) sends the immediate request vector to the arbitrator group according to the bus request signal, and simultaneously sends the immediate request vector to the request priority queue (201); 所述请求优先级队列(201)将所述即时申请向量锁存,生成片选信号,并将所述片选信号发送至所述互联网络(206),同时,生成队列申请向量发送至所述仲裁器组(202);The request priority queue (201) latches the instant application vector, generates a chip selection signal, and sends the chip selection signal to the Internet (206), and at the same time, generates a queue application vector and sends it to the arbitrator group (202); 所述仲裁器组(202)根据所述申请信号发出仲裁结果信号给所述地址与控制信号选择器(204)和所述互联网络;The arbitrator group (202) sends an arbitration result signal to the address and control signal selector (204) and the Internet according to the application signal; 所述地址与控制信号选择器(204)根据所述仲裁结果信号选择所述主设备的地址信号与控制信号,并传输至所述从设备;The address and control signal selector (204) selects the address signal and control signal of the master device according to the arbitration result signal, and transmits them to the slave device; 所述互联网络(206)根据所述仲裁结果信号选择主设备至从设备方向的数据和握手信号,并根据所述片选信号控制从设备至主设备方向的数据和握手信号。The interconnection network (206) selects data and handshake signals from the master device to the slave device direction according to the arbitration result signal, and controls data and handshake signals from the slave device to the master device direction according to the chip selection signal. 2.根据权利要求1所述的片上系统总线(10),其特征在于,还包括一个地址与控制信号存储器(203),所述仲裁器组(202)还返回一个授权信号给请求优先级队列(201),根据所述授权信号使所述主设备的所述总线请求信号进入所述请求优先级队列(201),同时使所述主设备的地址信号和所述控制信号进入地址与控制信号存储器(203)。2. system-on-chip bus (10) according to claim 1, is characterized in that, also comprises an address and control signal memory (203), and described arbitrator group (202) also returns a grant signal to request priority queue (201), making the bus request signal of the master device enter the request priority queue according to the authorization signal (201), and simultaneously make the address signal and the control signal of the master device enter the address and control signal memory (203). 3.根据权利要求2所述的片上系统总线(10),其特征在于,还包括一个第一选择器(208),当所述请求优先级队列(201)为空时,所述请求优先级队列(201)发送队列空信号至所述第一选择器的控制端,所述第一选择器直接选择所述主设备发送的地址信号和控制信号至所述地址与控制信号选择器(204),否则,所述第一选择器选择所述地址与控制信号存储器(203)中的地址信号和控制信号至所述地址与控制信号选择器(204)。3. The system-on-chip bus (10) according to claim 2, further comprising a first selector (208), when the request priority queue (201) was empty, the request priority The queue (201) sends a queue empty signal to the control terminal of the first selector, and the first selector directly selects the address signal and the control signal sent by the master device to the address and control signal selector (204) , otherwise, the first selector selects the address signal and control signal in the address and control signal memory (203) to the address and control signal selector (204). 4.根据权利要求1所述的片上系统总线(10),其特征在于,还包括一个第二选择器,当所述请求优先级队列(201)为空时,所述请求优先级队列(201)发送队列空信号至所述第二选择器的控制端,所述第二选择器直接选择地址译码器(207)发送的即时申请向量至所述仲裁器组(202),否则,所述第二选择器选择所述请求优先级队列(201)发送的队列申请向量至所述仲裁器组(202)。4. system on chip bus (10) according to claim 1, is characterized in that, also comprises a second selector, when described request priority queue (201) is empty, described request priority queue (201 ) sends a queue empty signal to the control end of the second selector, and the second selector directly selects the immediate request vector sent by the address decoder (207) to the arbiter group (202), otherwise, the The second selector selects the queue request vector sent by the request priority queue (201) to the arbitrator group (202). 5.根据权利要求1所述的片上系统总线(10),其特征在于,所述仲裁器组(202)包括至少一个仲裁器,所述仲裁器的数量与所述从设备的数量相同。5. The system-on-chip bus (10) according to claim 1, characterized in that the arbiter group (202) comprises at least one arbiter, and the number of the arbitrators is the same as the number of the slave devices. 6.根据权利要求5所述的片上系统总线(10),其特征在于,所述仲裁器中的仲裁逻辑为优先编码器。6. The system-on-chip bus (10) according to claim 5, characterized in that, the arbitration logic in the arbiter is a priority encoder. 7.根据权利要求1所述的片上系统总线(10),其特征在于,还包括仲裁结果寄存器(205),所述仲裁器组(202)先发送所述仲裁结果信号至所述仲裁结果寄存器(205),再通过所述仲裁结果寄存器(205)将仲裁结果信号发送至所述互联网络(206)。7. system on chip bus (10) according to claim 1, is characterized in that, also comprises arbitration result register (205), and described arbitrator group (202) sends described arbitration result signal to described arbitration result register earlier (205), and then send an arbitration result signal to the Internet (206) through the arbitration result register (205). 8.根据权利要求1所述的片上系统总线(10),其特征在于,所述请求优先级队列(201)包括:第一存储器(501)、第二存储器(502)及第三存储器(503),其中,所述第一存储器(501)用于存储有效的地址译码值,所述第二存储器(502)用于存储从设备组最大优先值,所述第三存储器(503)用于存储主设备优先值。8. The system-on-chip bus (10) according to claim 1, characterized in that, the request priority queue (201) comprises: a first memory (501), a second memory (502) and a third memory (503) ), wherein the first memory (501) is used to store an effective address decoding value, the second memory (502) is used to store the maximum priority value of the slave device group, and the third memory (503) is used for Stores the master priority value. 9.根据权利要求1所述的片上系统总线(10),其特征在于,其按如下协议进行信号传输:9. system on chip bus (10) according to claim 1, is characterized in that, it carries out signal transmission by following agreement: 所述主设备在本周期发送完信号后,无需等待授权信号,在下一个周期直接发送写数据至所述从设备,并监听所述从设备发送的握手信号。After sending the signal in this cycle, the master device directly sends write data to the slave device in the next cycle without waiting for the authorization signal, and monitors the handshake signal sent by the slave device. 10.根据权利要求1所述的片上系统总线(10),其特征在于,其通过一个或多个时钟周期使所述主设备发送的信号传输至所述从设备。10. The system-on-chip bus (10) according to claim 1, characterized in that, it enables the signal sent by the master device to be transmitted to the slave device through one or more clock cycles. 11.根据权利要求1所述的片上系统总线(10),其特征在于,所述主设备发送的控制信号中带有主设备时序信息,通过所述主设备时序信息控制所述从设备的响应周期,以匹配所述主设备与所述从设备之间的传输速率。11. The system-on-chip bus (10) according to claim 1, wherein the control signal sent by the master device has master device timing information, and the response of the slave device is controlled by the master device timing information period to match the transfer rate between the master and the slave.
CN201510446036.7A 2015-07-27 2015-07-27 A kind of system-on-chip bus with non-isochronous transfers structure Active CN105068951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510446036.7A CN105068951B (en) 2015-07-27 2015-07-27 A kind of system-on-chip bus with non-isochronous transfers structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510446036.7A CN105068951B (en) 2015-07-27 2015-07-27 A kind of system-on-chip bus with non-isochronous transfers structure

Publications (2)

Publication Number Publication Date
CN105068951A true CN105068951A (en) 2015-11-18
CN105068951B CN105068951B (en) 2018-05-08

Family

ID=54498328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510446036.7A Active CN105068951B (en) 2015-07-27 2015-07-27 A kind of system-on-chip bus with non-isochronous transfers structure

Country Status (1)

Country Link
CN (1) CN105068951B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802871A (en) * 2015-11-26 2017-06-06 新唐科技股份有限公司 Bus system
CN110765053A (en) * 2019-10-23 2020-02-07 山东华芯半导体有限公司 N-M AXI bus controller and configurable arbitration mechanism implementation method thereof
CN111625377A (en) * 2017-04-01 2020-09-04 北京忆芯科技有限公司 Agent and method for adding entries to a queue
CN111666239A (en) * 2020-07-10 2020-09-15 深圳开立生物医疗科技股份有限公司 Master-slave equipment interconnection system and master-slave equipment access request processing method
CN112506821A (en) * 2020-09-27 2021-03-16 山东云海国创云计算装备产业创新中心有限公司 System bus interface request arbitration method and related components
CN112929252A (en) * 2021-05-11 2021-06-08 上海擎昆信息科技有限公司 Parallel data transmission system and method suitable for bus port
CN112949247A (en) * 2021-02-01 2021-06-11 上海天数智芯半导体有限公司 Phase-based on-chip bus scheduling device and method
CN114968890A (en) * 2022-05-27 2022-08-30 中国第一汽车股份有限公司 Synchronous communication control method, device, system and storage medium
CN114968865A (en) * 2022-07-22 2022-08-30 中科声龙科技发展(北京)有限公司 Bus transmission structure and method and chip
CN115017093A (en) * 2022-05-06 2022-09-06 北京中科昊芯科技有限公司 Method and device for on-chip external bus communication
CN117435518A (en) * 2023-12-21 2024-01-23 沐曦集成电路(上海)有限公司 Protection method for master-slave read-write data
CN117725005A (en) * 2023-12-05 2024-03-19 北京智联安科技有限公司 Data transmission method, master device, slave device and electronic device
CN118467418A (en) * 2024-07-08 2024-08-09 杭州登临瀚海科技有限公司 A storage access system and storage access scheduling method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5884027A (en) * 1995-06-15 1999-03-16 Intel Corporation Architecture for an I/O processor that integrates a PCI to PCI bridge
CN101216751A (en) * 2008-01-21 2008-07-09 戴葵 DRAM device with data handling capacity based on distributed memory structure
CN102354305A (en) * 2011-09-27 2012-02-15 青岛海信电器股份有限公司 Serial communication system between devices and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5884027A (en) * 1995-06-15 1999-03-16 Intel Corporation Architecture for an I/O processor that integrates a PCI to PCI bridge
CN101216751A (en) * 2008-01-21 2008-07-09 戴葵 DRAM device with data handling capacity based on distributed memory structure
CN102354305A (en) * 2011-09-27 2012-02-15 青岛海信电器股份有限公司 Serial communication system between devices and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张美林等: "《USB1.1主机控制器IP核设计与实现》", 《计算机工程与应用》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802871A (en) * 2015-11-26 2017-06-06 新唐科技股份有限公司 Bus system
CN111625377A (en) * 2017-04-01 2020-09-04 北京忆芯科技有限公司 Agent and method for adding entries to a queue
CN111625377B (en) * 2017-04-01 2023-11-28 北京忆芯科技有限公司 Agent and method for adding items to queue
CN110765053A (en) * 2019-10-23 2020-02-07 山东华芯半导体有限公司 N-M AXI bus controller and configurable arbitration mechanism implementation method thereof
CN110765053B (en) * 2019-10-23 2023-03-10 山东华芯半导体有限公司 N-M AXI bus controller and configurable arbitration mechanism implementation method thereof
CN111666239A (en) * 2020-07-10 2020-09-15 深圳开立生物医疗科技股份有限公司 Master-slave equipment interconnection system and master-slave equipment access request processing method
CN112506821A (en) * 2020-09-27 2021-03-16 山东云海国创云计算装备产业创新中心有限公司 System bus interface request arbitration method and related components
CN112949247B (en) * 2021-02-01 2022-05-20 上海天数智芯半导体有限公司 Phase-based on-chip bus scheduling device and method
CN112949247A (en) * 2021-02-01 2021-06-11 上海天数智芯半导体有限公司 Phase-based on-chip bus scheduling device and method
CN112929252B (en) * 2021-05-11 2021-07-09 上海擎昆信息科技有限公司 Parallel data transmission system and method suitable for bus port
CN112929252A (en) * 2021-05-11 2021-06-08 上海擎昆信息科技有限公司 Parallel data transmission system and method suitable for bus port
CN115017093A (en) * 2022-05-06 2022-09-06 北京中科昊芯科技有限公司 Method and device for on-chip external bus communication
CN114968890A (en) * 2022-05-27 2022-08-30 中国第一汽车股份有限公司 Synchronous communication control method, device, system and storage medium
CN114968865A (en) * 2022-07-22 2022-08-30 中科声龙科技发展(北京)有限公司 Bus transmission structure and method and chip
CN114968865B (en) * 2022-07-22 2022-09-27 中科声龙科技发展(北京)有限公司 Bus transmission structure and method and chip
CN117725005A (en) * 2023-12-05 2024-03-19 北京智联安科技有限公司 Data transmission method, master device, slave device and electronic device
CN117435518A (en) * 2023-12-21 2024-01-23 沐曦集成电路(上海)有限公司 Protection method for master-slave read-write data
CN117435518B (en) * 2023-12-21 2024-03-22 沐曦集成电路(上海)有限公司 Protection method for master-slave read-write data
CN118467418A (en) * 2024-07-08 2024-08-09 杭州登临瀚海科技有限公司 A storage access system and storage access scheduling method

Also Published As

Publication number Publication date
CN105068951B (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN105068951B (en) A kind of system-on-chip bus with non-isochronous transfers structure
US6581124B1 (en) High performance internal bus for promoting design reuse in north bridge chips
EP1027657B1 (en) A fully-pipelined fixed-latency communications system with a real-time dynamic bandwidth allocation
US6601126B1 (en) Chip-core framework for systems-on-a-chip
KR101841173B1 (en) Device and Method for Memory Interleaving based on a reorder buffer
US7275119B2 (en) Early detection and grant, an arbitration scheme for single transfers on AMBA advanced high-performance bus
KR100932359B1 (en) Switch matrix system with multiple bus arbitrations per cycle with high frequency mediator
CN106294239B (en) A kind of peripheral bus APB bus bridge
JP4737438B2 (en) Information processing apparatus that shares resources among multiple processing units
JP2005182818A (en) On-chip bus
JP2002530744A (en) Communication system and method with multi-level connection identification
JPH04246758A (en) Dynamic bus arbitrating method and device
CN116028413A (en) Bus arbiter, bus arbitration method, device and medium
CN109032973A (en) ICB bus system and agreement
TWI470439B (en) Sharing bandwidth of a single port sram between at least one dma peripheral and a cpu operating with a quadrature clock
US6567881B1 (en) Method and apparatus for bridging a digital signal processor to a PCI bus
US8356128B2 (en) Method and system of reducing latencies associated with resource allocation by using multiple arbiters
JP3929698B2 (en) Data processing method via bus
EP1226504B1 (en) Method and apparatus for supporting multi-clock propagation in a computer system having a point to point half duplex interconnect
US6401142B1 (en) Apparatus and method for selective bus transfer using master and slave modes
US6052754A (en) Centrally controlled interface scheme for promoting design reusable circuit blocks
US7185128B1 (en) System and method for machine specific register addressing in external devices
US9672168B2 (en) System interconnection of system-on-chip
JP2006254434A (en) Data switch and data transmission method
CN1322443C (en) Device and method for high-speed data transmission

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190613

Address after: 100097 Commercial A02-79, Block A, 2nd Floor, 116 Zizhuyuan Road, Haidian District, Beijing

Patentee after: Beijing Zhongke Haoxin Technology Co., Ltd.

Address before: 100190 Zhongguancun East Road, Haidian District, Haidian District, Beijing

Patentee before: Institute of Automation, Chinese Academy of Sciences