JP2007219968A - Bus interface wrapper circuit - Google Patents

Bus interface wrapper circuit Download PDF

Info

Publication number
JP2007219968A
JP2007219968A JP2006041889A JP2006041889A JP2007219968A JP 2007219968 A JP2007219968 A JP 2007219968A JP 2006041889 A JP2006041889 A JP 2006041889A JP 2006041889 A JP2006041889 A JP 2006041889A JP 2007219968 A JP2007219968 A JP 2007219968A
Authority
JP
Japan
Prior art keywords
bus
ahb
master
signal
data
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
JP2006041889A
Other languages
Japanese (ja)
Other versions
JP5028817B2 (en
Inventor
Shusuke Kiuchi
秀典 木内
Takashi Kadosawa
敬 門澤
Toru Ishimori
徹 石森
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2006041889A priority Critical patent/JP5028817B2/en
Publication of JP2007219968A publication Critical patent/JP2007219968A/en
Application granted granted Critical
Publication of JP5028817B2 publication Critical patent/JP5028817B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a circuit scale of a bus interface wrapper circuit by allowing an AHB-Lite master to be built in an AHB bus system in the same manner as an AHB master without providing local arbiters per AHB slave. <P>SOLUTION: A wrapper circuit 1-1 is added to an AHB-Lite master 4-5. The wrapper circuit 1-1 sends a signal showing a state of being not capable of receiving data, to the AHB-Lite master when receiving a data transfer request from the AHB-Lite master and temporarily holds transfer data, and during this period, the wrapper circuit issues an access request signal to an arbiter 2-4 and transfers data to an AHB slave 4-4 through a selector 4-3 in response to reception of an access permission signal. The wrapper circuit ceases to issue the access request signal to the arbiter and transmits a data transfer completion signal to the AHB-Lite master, in response to reception of a data transfer completion signal from the AHB slave. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、バスインタフェースラッパー回路に関し、特に、ARM(Advanced RISC Machines)系のシステムオンチップ(SoC)を構成する機能ブロックの相互接続及びその管理の方式を規定したオープン標準のオンチップ・バス仕様であるAMBA(Advanced Microcontroller Bus Architecture)規格におけるアドバンスト・ハイパフォーマンス・バス(AHB)及びアドバンスト・ハイパフォーマンス・バス−ライト(AHB−Lite)を利用した装置にて使用されるバスインタフェースラッパー回路に関する。   BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus interface wrapper circuit, and in particular, an open standard on-chip bus specification that stipulates the interconnection of functional blocks constituting an ARM (Advanced RISC Machines) system on chip (SoC) and the management method thereof. The present invention relates to a bus interface wrapper circuit used in an apparatus using an advanced high performance bus (AHB) and an advanced high performance bus-write (AHB-Lite) in the AMBA (Advanced Microcontroller Bus Architecture) standard.

アドバンスト・ハイパフォーマンス・バス(AHB)は、ARM(Advanced RISC Machines)コアなどの組込みプロセッサを、高性能ペリフェラル、DMAコントローラ、オンチップ・メモリ、各種インタフェースに接続する、高速・広帯域幅のバスであり、システム性能を最大化するマルチマスタ・バス管理をサポートし、パイプライン処理及びバースト転送により、メモリ及びペリフェラルへの高速なアクセスが可能なバスである。   The Advanced High Performance Bus (AHB) is a high-speed, high-bandwidth bus that connects embedded processors such as ARM (Advanced RISC Machines) cores to high-performance peripherals, DMA controllers, on-chip memory, and various interfaces. This bus supports multi-master bus management that maximizes system performance and enables high-speed access to memory and peripherals through pipeline processing and burst transfer.

一方、アドバンスト・ハイパフォーマンス・バス−ライト(AHB−Lite)は、アドバンスト・ハイパフォーマンス・バス(AHB)フル仕様のサブセットであり、単純なシングル・バスマスタ・システムや、レイヤ上にAHBマスタが1つしかないマルチレイヤAHBシステムなど、バスマスタを1つしか使用しないシステムに使用されるバスである。   On the other hand, the Advanced High Performance Bus-Write (AHB-Lite) is a subset of the Advanced High Performance Bus (AHB) full specification, and there is only a simple single bus master system or one AHB master on the layer. This is a bus used for a system that uses only one bus master, such as a multi-layer AHB system.

なお、以下の説明では、アドバンスト・ハイパフォーマンス・バス(AHB)を単にAHB、アドバンスト・ハイパフォーマンス・バス−ライト(AHB−Lite)を単にAHB−Liteと記す。また、AHBのインタフェースのバスマスタ及びバススレーブをAHBマスタ及びAHBスレーブと記し、AHB−LiteのインタフェースのバスマスタをAHB−Liteマスタと記す。   In the following description, the advanced high performance bus (AHB) is simply referred to as AHB, and the advanced high performance bus-write (AHB-Lite) is simply referred to as AHB-Lite. A bus master and a bus slave of the AHB interface are referred to as an AHB master and an AHB slave, and a bus master of the AHB-Lite interface is referred to as an AHB-Lite master.

AHBマスタは、アドレスとコントロール情報を準備し、バスを通して読み出し動作又は書き込み動作を起動する機能を有する。但し、時間軸上の各時点で実際にバスを使用し得るのはただ1つのAHBマスタだけである。また、AHBスレーブは、AHBマスタによるある与えられたアドレス空間での読み出し動作又は書き込み動作に応答し、かつ、データ転送の成功、失敗又はウエイト(待ち要求)を応答信号として返す機能を有する。   The AHB master has a function of preparing an address and control information and starting a read operation or a write operation through the bus. However, only one AHB master can actually use the bus at each time point on the time axis. The AHB slave has a function of responding to a read operation or a write operation in a given address space by the AHB master and returning success, failure or wait (wait request) of data transfer as a response signal.

図4にAHBとAHB−Liteとを使用したバスシステムの構成例を示す。同図に示すように、AHBマスタ4−1は、複数のAHBマスタ(#1,#2)がセレクタ4−3を介して、複数のAHBスレーブ4−4(#1,#2,#3)との間でデータ転送を行うことができる。但し、複数のAHBマスタ4−1(#1,#2)の間では、アービタ4−2によるバス使用権の調停が行われ、バス使用権を取得した1つのAHBマスタのみがバスを使用することができる。   FIG. 4 shows a configuration example of a bus system using AHB and AHB-Lite. As shown in the figure, the AHB master 4-1 includes a plurality of AHB masters (# 1, # 2) via a selector 4-3, and a plurality of AHB slaves 4-4 (# 1, # 2, # 3). ) Can be transferred to and from. However, between the plurality of AHB masters 4-1 (# 1, # 2), arbitration of the bus use right is performed by the arbiter 4-2, and only one AHB master that has acquired the bus use right uses the bus. be able to.

AHBにおけるアービタ4−2は、調停プロトコル(制御手順)が予め決められている場合でも、最優先順位(highest priority)や同一優先順位(fair)アクセス等のような調停アルゴリズムへの変更は可能であり、アプリケーションの要求によってその都度、変更して実行可能な調停プロトコルになっている。   The arbiter 4-2 in the AHB can be changed to an arbitration algorithm such as the highest priority (high priority) or the same priority (fair) access even when the arbitration protocol (control procedure) is predetermined. There is an arbitration protocol that can be changed and executed each time an application requests it.

AHB−LiteはAHBとほぼ同様のインタフェースであるが、AHB−Liteは、複数のバスマスタを使用せず、1つのバスマスタを使用することを前提としたインタフェースであり、それ故、複数のAHBマスタ4−1(#1,#2)と複数のAHBスレーブ4−4(#1,#2,#3)とで構成されているバスシステムに対して、AHB−Liteマスタを直接接続することができず、図4に示すように、AHB−Liteマスタ4−5は、AHBとAHB−Liteとのバス使用競合を調停するローカルアービタ4−6を介して、AHBスレーブ4−4(#3)とデータ転送を行う必要がある。   The AHB-Lite is an interface that is almost the same as the AHB, but the AHB-Lite is an interface on the premise that a single bus master is used instead of a plurality of bus masters. -1 (# 1, # 2) and a plurality of AHB slaves 4-4 (# 1, # 2, # 3) can be directly connected to the AHB-Lite master As shown in FIG. 4, the AHB-Lite master 4-5 communicates with the AHB slave 4-4 (# 3) via the local arbiter 4-6 that arbitrates the bus use contention between the AHB and the AHB-Lite. Data transfer needs to be performed.

本発明に関連する先行技術文献として、下記の特許文献1には、AMBAバス、AHB−liteメモリシステム(コアレベルで複数のプライベートスレーブを使用する)、フルAHBメモリシステム(コアレベルで複数のマスタを使用する)等について記載されている。   As prior art documents related to the present invention, the following Patent Document 1 includes an AMBA bus, an AHB-lite memory system (using a plurality of private slaves at the core level), a full AHB memory system (a plurality of masters at the core level). Is used).

また、下記の特許文献2には、IP(Intellectual Property)を使用した設計において、PLATFORM外のマスタモジュールからPLATFORM内のスレーブモジュールへの信号線を排除した場合にも正常に動作することが可能なバス構成回路について記載されている。   In Patent Document 2 below, in a design using IP (Intellectual Property), it is possible to operate normally even when a signal line from a master module outside PLATFORM to a slave module inside PLATFORM is excluded. A bus configuration circuit is described.

また、下記の特許文献3には、バス使用要請が有る全てのバスマスタにバス使用権を得たように動作させて、スレイブアクセス時に必要な駆動情報を獲得することによって、最適化されたアクセスになるように仲裁して、スレイブアクセス帯域幅を向上させたバスシステム等について記載されている。
特開2005−25726号公報(段落0058等) 特開2005−100210号公報(発明が解決しようとする課題の欄等) 特開2004−348745号公報(フロントページ等)
Further, in Patent Document 3 below, all the bus masters that have requested to use the bus operate as if they have obtained the right to use the bus, and by acquiring the drive information necessary for slave access, the optimized access can be achieved. The bus system and the like that have been arbitrated to improve the slave access bandwidth are described.
JP 2005-25726 A (paragraph 0058 etc.) Japanese Patent Laying-Open No. 2005-100210 (a column of problems to be solved by the invention) JP 2004-348745 A (front page, etc.)

AHB−Liteインタフェースのマスタ回路を利用して、複数のAHBマスタを有するAHBバスシステムに、AHB−Liteマスタを組み込みたい場合に、前述したようにAHB−Liteは、1つのバスマスタを使用することを前提としたインタフェースであるため、AHB−LiteマスタをAHBバスシステムに直接接続することができない。   When the AHB-Lite master is incorporated into an AHB bus system having a plurality of AHB masters by using the master circuit of the AHB-Lite interface, as described above, the AHB-Lite uses one bus master. Since the interface is based on the premise, the AHB-Lite master cannot be directly connected to the AHB bus system.

たとえ、AHB−Liteをマスタとして追加しても、他のAHBマスタからのバスアクセス要求と、AHB−Liteマスタからのバスアクセス要求との間で、バスアクセスの調整を行う役目を果たすローカルアービタ(Interconnect Matrix)を、各AHBスレーブに備える必要があり、構成や規模が複雑かつ大規模なものとなっていた。   Even if AHB-Lite is added as a master, a local arbiter that serves to adjust bus access between bus access requests from other AHB masters and bus access requests from AHB-Lite masters ( Interconnect Matrix) must be provided for each AHB slave, and the configuration and scale are complicated and large.

本発明は、ローカルアービタ(Interconnect Matrix)をAHBスレーブ毎に備えることなく、AHB−LiteマスタをAHBマスタと同様にAHBバスシステムに組み込むことができるようにし、それにより、回路規模の削減、構成の簡素化を図ることを目的とする。   The present invention makes it possible to incorporate an AHB-Lite master into an AHB bus system in the same way as an AHB master without providing a local arbiter (Interconnect Matrix) for each AHB slave. The purpose is to simplify.

本発明のバスインタフェースラッパー回路について図2を参照して説明すると、バスマスタからのデータ転送要求(2−1)を受けたとき、該バスマスタからのデータを保持し、該バスマスタに対してデータ受信不可の状態を示す信号を送出(2−2)するとともに、複数のバスマスタ間のバス使用権を調停するアービタに対して、バスアクセスを要求する信号を送信(2−3)する手段と、前記アービタからバスアクセスを許可する信号を受信(2−4)したとき、前記保持したデータを、複数のバスマスタと複数のバススレーブとの間の接続を選択するセレクタに送出(2−5)する手段と、を備えたことを特徴とする。   The bus interface wrapper circuit of the present invention will be described with reference to FIG. 2. When a data transfer request (2-1) from a bus master is received, the data from the bus master is held and data cannot be received by the bus master. A means for transmitting (2-2) a signal indicating the status of the bus, and transmitting (2-3) a signal requesting bus access to an arbiter that arbitrates bus use rights among a plurality of bus masters, and the arbiter Means for sending (2-5) the held data to a selector for selecting connections between a plurality of bus masters and a plurality of bus slaves when receiving a signal permitting bus access from (2-4). , Provided.

また、前記セレクタを通してバススレーブからデータ転送完了を示す信号を受信(2−6)したとき、前記アービタに対して、バスアクセスの要求の無いことを示す信号を送信(2−7)し、かつ、前記バスマスタに対して、データ転送完了を示す信号を送信(2−8)する手段を備えたことを特徴とする。   When a signal indicating completion of data transfer is received from the bus slave through the selector (2-6), a signal indicating no bus access request is transmitted to the arbiter (2-7), and And a means for transmitting (2-8) a signal indicating completion of data transfer to the bus master.

また、本発明のバスインタフェースラッパー回路について図3を参照して説明すると、バスマスタからデータ転送要求を示す転送タイプ信号(HTRANS)が入力されたとき、該バスマスタに対して、データ受信不可の状態であることを示す信号(HREADY)を送出し、かつ、アービタに対してバスアクセスを要求する信号(HREQUEST)を送出する手段を有するトリガ部3−1と、トリガ部3−1からトリガ信号により、バスマスタからのデータ(HWDATA等)をラッチして保持するとともに、複数のバスマスタと複数のバススレーブとの間の接続を選択するセレクタに対し、データ転送が要求されていないことを示す転送タイプ信号(HTRANS)を送信する手段と、アービタからアクセス許可信号(HGRANT)を受信したとき、前記セレクタへ、連続転送データ又は非連続転送データかを示す転送タイプ信号(HTRANS)及び前記保持されたデータ(HWDATA等)を送出する手段と、を有するラッチ部3−2と、を備えたことを特徴とする。   The bus interface wrapper circuit of the present invention will be described with reference to FIG. 3. When a transfer type signal (HTRANS) indicating a data transfer request is input from the bus master, the bus master is in a state in which data reception is not possible. A trigger unit 3-1 having means for sending a signal (HREADY) indicating that there is a signal and sending a signal (HREQUEST) requesting bus access to the arbiter, and a trigger signal from the trigger unit 3-1, A transfer type signal indicating that data transfer is not requested to a selector that selects connection between a plurality of bus masters and a plurality of bus slaves while latching and holding data (HWDATA or the like) from the bus master. HTRANS) and an access permission signal (HGRANT) from the arbiter A latch unit 3-2 having a transfer type signal (HTRANS) indicating whether the data is continuous transfer data or non-continuous transfer data and the held data (HWDATA, etc.) to the selector when received. It is provided with.

また、前記トリガ部3−1は、前記セレクタを通してバススレーブからデータ転送完了を示す信号(HREADY)を受信したとき、前記アービタに対して、バスアクセスの要求の無いことを示す信号(HREQUEST)を送信し、かつ、前記バスマスタに対して、データ転送完了を示す信号(HREADY)を送信する手段を有することを特徴とする。   Further, when the trigger unit 3-1 receives a signal (HREADY) indicating completion of data transfer from the bus slave through the selector, the trigger unit 3-1 outputs a signal (HREQUEST) indicating that there is no bus access request to the arbiter. And a means for transmitting a signal (HREADY) indicating completion of data transfer to the bus master.

なお、前記バスマスタは、AMBA(Advanced Microcontroller Bus Architecture)におけるアドバンスト・ハイパフォーマンス・バス−ライト(AHB−Lite)の規格に準拠した、単一のバスマスタが接続されるバスインタフェースを有し、前記アービタ及び前記バススレーブは、AMBA(Advanced Microcontroller Bus Architecture)におけるアドバンスト・ハイパフォーマンス・バス(AHB)の規格に準拠した、複数のバスマスタが接続されるバスインタフェースを有することを特徴とする。   The bus master has a bus interface to which a single bus master is connected in accordance with the advanced high-performance bus-write (AHB-Lite) standard in AMBA (Advanced Microcontroller Bus Architecture). The bus slave is characterized by having a bus interface to which a plurality of bus masters are connected in accordance with the advanced high-performance bus (AHB) standard in AMBA (Advanced Microcontroller Bus Architecture).

AHB−Liteマスタに本発明のバスインタフェースラッパー回路を付加することにより、AHB−Liteマスタを、AHBマスタと同様にAHBバスシステムに組み込むことができ、かつ、ローカルアービタ(Interconnect Matrix)を、各AHBスレーブに備える必要がないので、回路規模が削減され、構成が簡素化され、コスト削減化することができる。   By adding the bus interface wrapper circuit of the present invention to the AHB-Lite master, the AHB-Lite master can be incorporated into the AHB bus system in the same manner as the AHB master, and a local arbiter (Interconnect Matrix) is connected to each AHB. Since it is not necessary to provide the slave, the circuit scale is reduced, the configuration is simplified, and the cost can be reduced.

また、ローカルアービタ(Interconnect Matrix)を使用しないため、データ転送における中継手順が省かれ、バスの使用効率が向上し、より複雑なAHBマスタ及びAHB−Liteマスタからのバスアクセス要求をスムーズに処理することが可能になる。また、AHBマスタ及びAHB−Liteマスタとでメインバスを共有することができるため、回路構成が単純化され、パフォーマンス向上を図ることができる。   In addition, since a local arbiter (Interconnect Matrix) is not used, a relay procedure in data transfer is omitted, bus use efficiency is improved, and bus access requests from more complicated AHB masters and AHB-Lite masters are processed smoothly. It becomes possible. In addition, since the main bus can be shared by the AHB master and the AHB-Lite master, the circuit configuration is simplified and the performance can be improved.

図1は本発明によるAHBとAHB−Liteとを使用したバスシステムの構成例を示す。同図において、AHBマスタ4−1は、通常のAMBA規格によるAHBバスのデータ転送機能をサポートし、複数のバスマスタ4−1(#1,#2)がセレクタ4−3を介して、複数のAHBスレーブ4−4(#1,#2,#3)との間でデータ転送を行うことが可能である。   FIG. 1 shows a configuration example of a bus system using AHB and AHB-Lite according to the present invention. In the figure, an AHB master 4-1 supports a data transfer function of an AHB bus according to a normal AMBA standard, and a plurality of bus masters 4-1 (# 1, # 2) pass through a selector 4-3 to Data can be transferred to and from the AHB slave 4-4 (# 1, # 2, # 3).

アービタ4−2は、各バスマスタからのバスアクセス要求の調停及びバスのコントロールを行う。セレクタ4−3は、アービタ4−2からのコントロール信号により、バスの接続の切換などを行う機能部である。AHBスレーブ4−4は、各バスマスタからのアクセス要求に従ってデータ転送を行う機能部である。AHB−Liteマスタ4−5は、バスマスタではあるが、単独でしかバスマスタになることができない。   The arbiter 4-2 arbitrates a bus access request from each bus master and controls the bus. The selector 4-3 is a functional unit that performs switching of bus connections and the like in accordance with a control signal from the arbiter 4-2. The AHB slave 4-4 is a functional unit that performs data transfer in accordance with an access request from each bus master. The AHB-Lite master 4-5 is a bus master, but can only be a bus master.

ラッパー(WRAPPER)回路1−1は、アービタ4−2との接続に必要な信号(主に、バス使用許可を示すHGrant信号、バス使用要求を示すHRequest信号)を生成するブロックである。AHB−Liteのバスインタフェースには、AHBバスの使用権をAHBアービタ4−2に要求するHRequest信号と、AHBのバス使用権が認められた場合にAHBアービタ4−2から発信されるHGrant信号とを送受する機能を有していないので、その機能をラッパー回路1−1によって補完する。   The wrapper (WRAPPER) circuit 1-1 is a block that generates signals (mainly, an HG Grant signal indicating bus use permission and an HRequest signal indicating a bus use request) necessary for connection to the arbiter 4-2. The AHB-Lite bus interface includes an HRequest signal for requesting the AHB bus usage right to the AHB arbiter 4-2, and an HG grant signal transmitted from the AHB arbiter 4-2 when the AHB bus usage right is granted. Is not complemented by the wrapper circuit 1-1.

AHBスレーブ4−4は、通常のAMBA規格によるAHBスレーブ回路であり、アービタ4−2による調停でバス使用権を獲得したバスマスタからの信号に従ってAHB応答を行い、バスマスタとの間でデータ転送を行う。   The AHB slave 4-4 is an AHB slave circuit according to the normal AMBA standard, and performs an AHB response in accordance with a signal from the bus master that has acquired the bus use right by arbitration by the arbiter 4-2, and performs data transfer with the bus master. .

図2に本発明によるAHB−Liteマスタ4−5からAHBスレーブ4−4へのアクセス手順を示す。AHB−Liteマスタ4−5は、AHBスレーブ4−4に対して、転送タイプを示すHTrans信号を発行し、データ転送要求を行う(2−1)。HTrans信号を受信したラッパー回路1−1は、AHBスレーブ4−4が処理中でデータ受信不可の状態(Busy状態)であることを示す“HReady=0”の信号を、AHB−Liteマスタ4−5に擬似的に送出する(2−2)。これにより、AHB−Liteマスタ4−5に対してAHBインタフェースを隠蔽し、AHB−Liteインタフェースを装う。   FIG. 2 shows an access procedure from the AHB-Lite master 4-5 to the AHB slave 4-4 according to the present invention. The AHB-Lite master 4-5 issues an HTrans signal indicating a transfer type to the AHB slave 4-4 to make a data transfer request (2-1). The wrapper circuit 1-1 that has received the HTrans signal outputs a signal of “HReady = 0” indicating that the AHB slave 4-4 is processing and cannot receive data (Busy state), and the AHB-Lite master 4- 5 is transmitted in a pseudo manner (2-2). Thereby, the AHB interface is concealed from the AHB-Lite master 4-5, and the AHB-Lite interface is assumed.

このとき、ラッパー回路1−1は、AHB−Liteマスタ4−5からの転送に係るデータ信号及びアドレス信号等を一時的に保持しておく。これは、AHB−Liteマスタ4−5からの連続データ転送のアクセス時に、次のデータ転送にすぐに切り替えることができるようにするためである。   At this time, the wrapper circuit 1-1 temporarily holds a data signal, an address signal, and the like related to the transfer from the AHB-Lite master 4-5. This is to enable immediate switching to the next data transfer when accessing the continuous data transfer from the AHB-Lite master 4-5.

一方、ラッパー回路1−1は、アービタ4−2に対して、メインバス(AHB)に接続されているAHBスレーブ4−4に対して、アクセス許可(HGrant)信号を与えてもらうため、アクセス要求(HRequest)信号を発行する(2−3)。   On the other hand, the wrapper circuit 1-1 requests the arbiter 4-2 to provide an access permission (HGrant) signal to the AHB slave 4-4 connected to the main bus (AHB). An (HRequest) signal is issued (2-3).

アクセス要求(HRequest)信号を受信したアービタ4−2は、他のAHBマスタ4−1からのアクセス要求とのバス使用権の調停を行い、ラッパー回路1−1からのアクセスに対して許可を与えるときに、アクセス許可(HGrant)信号をラッパー回路1−1へ送出する(2−4)。   The arbiter 4-2 that has received the access request (HRequest) signal arbitrates the bus use right with the access request from the other AHB master 4-1, and grants permission for the access from the wrapper circuit 1-1. Sometimes, an access permission (HG Grant) signal is sent to the wrapper circuit 1-1 (2-4).

アクセス許可(HGrant)信号を受信したラッパー回路1−1は、メインバス(AHB)へのアクセスを許可されたことを認識し、セレクタ4−3を通じ、転送相手のAHBスレーブ4−4へ、転送タイプを示すHTrans信号の送信と共にデータ転送を行う(2−5)。そして、AHBスレーブ4−4は、データ転送が完了したことを示す“HReady=1”の信号を返送する(2−6)。   Receiving the access permission (HG Grant) signal, the wrapper circuit 1-1 recognizes that access to the main bus (AHB) is permitted, and transfers it to the AHB slave 4-4 as the transfer partner through the selector 4-3. The data transfer is performed together with the transmission of the HTrans signal indicating the type (2-5). Then, the AHB slave 4-4 returns a signal of “HReady = 1” indicating that the data transfer is completed (2-6).

ラッパー回路1−1は、AHBスレーブ4−4からの上記“HReady=1”の信号を受信すると、アービタ4−2に対してアクセス終了を通知するため、アクセス要求(HRequest)信号の発行を取り下げる(2−7)。また、これと同時に、AHB−Liteマスタ4−5に対して、データ転送が完了したことを示す“HReady=1”の信号を送信する(2−8)。これにより、AHB−Liteマスタ4−5では、従来と同様に、他のAHBマスタの存在と全く無関係に、AHBスレーブ4−4からのAHB応答を受けることができる。   When the wrapper circuit 1-1 receives the “HReady = 1” signal from the AHB slave 4-4, it cancels the issuance of the access request (HRequest) signal to notify the arbiter 4-2 of the end of access. (2-7). At the same time, a signal “HReady = 1” indicating that the data transfer is completed is transmitted to the AHB-Lite master 4-5 (2-8). As a result, the AHB-Lite master 4-5 can receive the AHB response from the AHB slave 4-4 regardless of the existence of other AHB masters, as in the prior art.

図3にラッパー回路1−1の構成を示す。ラッパー回路1−1は、トリガ部3−1とラッチ部3−2とから成り、トリガ部3−1では、AHB−Liteマスタ4−5からのアクセス要求信号とアービタ4−2からの指示信号との調整を行い、実際のバスデータの転送を行うラッチ部3−2へトリガ信号を送出する。   FIG. 3 shows the configuration of the wrapper circuit 1-1. The wrapper circuit 1-1 includes a trigger unit 3-1, and a latch unit 3-2. In the trigger unit 3-1, an access request signal from the AHB-Lite master 4-5 and an instruction signal from the arbiter 4-2. And a trigger signal is sent to the latch unit 3-2 for transferring actual bus data.

ラッチ部3−2は、トリガ部3−1から最初のトリガ信号(Trigger=1(パルス))が入力されたとき、AHB−Liteマスタ4−5からのデータをラッチして保持する。また、このとき、セレクタ4−3へ、データ転送が要求されていないこと(アイドル状態)を示す転送タイプ信号“HTrans=00”を送信する。   When the first trigger signal (Trigger = 1 (pulse)) is input from the trigger unit 3-1, the latch unit 3-2 latches and holds data from the AHB-Lite master 4-5. At this time, a transfer type signal “HTrans = 00” indicating that data transfer is not requested (idle state) is transmitted to the selector 4-3.

また、ラッチ部3−2は、アービタ4−2からアクセス許可信号“HGrant=1”を受信したとき、セレクタ4−3へ、連続転送データ又は非連続転送データかを示す転送タイプ信号“HTrans=10 or 11”及び前述の保持されたデータを送出する。その後、AHBスレーブ4−4からの応答により、再びトリガ信号(Trigger=1)が入力されたとき、AHB−Liteマスタ4−5からのデータを出力し、かつ書き込みデータ(HWdata)の出力を開始する。   When the latch unit 3-2 receives the access permission signal “HG Grant = 1” from the arbiter 4-2, the latch unit 3-2 sends to the selector 4-3 a transfer type signal “HTrans = 10 or 11 "and the previously stored data are sent out. After that, when the trigger signal (Trigger = 1) is input again by the response from the AHB slave 4-4, the data from the AHB-Lite master 4-5 is output and the output of the write data (HWdata) is started. To do.

トリガ部3−1は、待ち状態のとき、セレクタからデータ転送完了を示す信号“HReady=1”及びAHB−Liteマスタ4−5からデータ転送が要求されていないこと(アイドル状態)を示す転送タイプ信号“HTrans=00”を入力し、このとき、AHB−Liteマスタ4−5へデータ転送完了を示す信号“HReady=1”を送出し、アービタ4−2に対してアクセス要求の無いことを示す信号“HRequest=0”を送出する。   In the wait state, the trigger unit 3-1 indicates a signal “HReady = 1” indicating data transfer completion from the selector and a transfer type indicating that data transfer is not requested (idle state) from the AHB-Lite master 4-5. A signal “HTrans = 00” is input, and at this time, a signal “HReady = 1” indicating the completion of data transfer is sent to the AHB-Lite master 4-5, indicating that there is no access request to the arbiter 4-2. A signal “HRequest = 0” is transmitted.

また、トリガ部3−1は、AHB−Liteマスタ4−5からのデータ転送要求時に、連続転送データ又は非連続転送データかを示す転送タイプ信号“HTrans=10 or 11”がAHB−Liteマスタ4−5から入力され、このとき、AHB−Liteマスタ4−5に対して、データ受信不可の状態(Busy状態)であることを示す“HReady=0”を送出し、また、アービタ4−2に対してアクセス要求有りを示す信号“HRequest=1”を送出し、ラッチ部3−2に対してトリガ信号(Trigger=1(パルス))を出力する。   In addition, when the data transfer request is sent from the AHB-Lite master 4-5, the trigger unit 3-1 receives a transfer type signal “HTrans = 10 or 11” indicating whether the data is continuous transfer data or non-continuous transfer data. At this time, “HReady = 0” indicating that data reception is not possible (Busy state) is sent to the AHB-Lite master 4-5, and to the arbiter 4-2. On the other hand, a signal “HRequest = 1” indicating that there is an access request is sent, and a trigger signal (Trigger = 1 (pulse)) is output to the latch unit 3-2.

そして、アービタ4−2からアクセス許可を示す信号“HGrant=1”を受信すると、ラッチ部3−2からデータ転送が開始される。データ転送が終了すると、トリガ部3−1には、セレクタ4−3からデータ転送完了を示す信号“HReady=1”が入力され、これにより、トリガ部3−1はAHB−Liteマスタ4−5に対して、データ転送完了を示す信号“HReady=1”を送出し、また、アービタ4−2に対してアクセス要求の無いことを示す信号“HRequest=0”を送出し、ラッチ部3−2に対して後処理を行わせるためのトリガ信号(Trigger=1)を出力する。   When a signal “HG Grant = 1” indicating access permission is received from the arbiter 4-2, data transfer is started from the latch unit 3-2. When the data transfer is completed, a signal “HReady = 1” indicating completion of the data transfer is input from the selector 4-3 to the trigger unit 3-1. As a result, the trigger unit 3-1 receives the AHB-Lite master 4-5. In response to this, a signal “HReady = 1” indicating completion of data transfer is transmitted, and a signal “HRequest = 0” indicating that there is no access request is transmitted to the arbiter 4-2, and the latch unit 3-2. A trigger signal (Trigger = 1) for performing post-processing on is output.

本発明によるAHBとAHB−Liteとを使用したバスシステムの構成例を示す図である。It is a figure which shows the structural example of the bus system using AHB and AHB-Lite by this invention. 本発明によるAHB−LiteマスタからAHBスレーブへのアクセス手順を示す図である。It is a figure which shows the access procedure from the AHB-Lite master by this invention to an AHB slave. 本発明によるラッパー回路の構成を示す図である。It is a figure which shows the structure of the wrapper circuit by this invention. AHBとAHB−Liteとを使用したバスシステムの構成例を示す図である。It is a figure which shows the structural example of the bus system using AHB and AHB-Lite.

符号の説明Explanation of symbols

1−1 ラッパー回路
3−1 トリガ部
3−2 ラッチ部
4−1 AHBマスタ
4−2 アービタ
4−3 セレクタ
4−4 AHBスレーブ
4−5 AHB−Liteマスタ
4−6 ローカルアービタ
1-1 Wrapper circuit 3-1 Trigger section 3-2 Latch section 4-1 AHB master 4-2 Arbiter 4-3 Selector 4-4 AHB slave 4-5 AHB-Lite master 4-6 Local arbiter

Claims (5)

バスマスタからのデータ転送要求を受けたとき、該バスマスタからのデータを保持し、該バスマスタに対してデータ受信不可の状態を示す信号を送出するとともに、複数のバスマスタ間のバス使用権を調停するアービタに対して、バスアクセスを要求する信号を送信する手段と、
前記アービタからバスアクセスを許可する信号を受信したとき、前記保持したデータを、複数のバスマスタと複数のバススレーブとの間の接続を選択するセレクタに送出する手段と、
を備えたことを特徴とするバスインタフェースラッパー回路。
When receiving a data transfer request from a bus master, the arbiter holds data from the bus master, sends a signal indicating that data cannot be received to the bus master, and arbitrates the bus use right among a plurality of bus masters. A means for transmitting a signal requesting bus access;
Means for sending the held data to a selector that selects connections between a plurality of bus masters and a plurality of bus slaves when receiving a signal permitting bus access from the arbiter;
A bus interface wrapper circuit comprising:
前記セレクタを通してバススレーブからデータ転送完了を示す信号を受信したとき、前記アービタに対して、バスアクセスの要求の無いことを示す信号を送信し、かつ、前記バスマスタに対して、データ転送完了を示す信号を送信する手段を備えたことを特徴とする請求項1に記載のバスインタフェースラッパー回路。   When a signal indicating completion of data transfer is received from the bus slave through the selector, a signal indicating that there is no bus access request is transmitted to the arbiter, and data transfer completion is indicated to the bus master. The bus interface wrapper circuit according to claim 1, further comprising means for transmitting a signal. バスマスタからデータ転送要求を示す転送タイプ信号が入力されたとき、該バスマスタに対して、データ受信不可の状態であることを示す信号を送出し、かつ、アービタに対してバスアクセスを要求する信号を送出する手段を有するトリガ部と、
前記トリガ部からトリガ信号により、前記バスマスタからのデータをラッチして保持するとともに、複数のバスマスタと複数のバススレーブとの間の接続を選択するセレクタに対し、データ転送が要求されていないことを示す転送タイプ信号を送信する手段と、
前記アービタからアクセス許可信号を受信したとき、前記セレクタへ、連続転送データ又は非連続転送データかを示す転送タイプ信号及び前記保持されたデータを送出する手段と、を有するラッチ部と、
を備えたことを特徴とするバスインタフェースラッパー回路。
When a transfer type signal indicating a data transfer request is input from the bus master, a signal indicating that data reception is not possible is sent to the bus master, and a signal requesting bus access to the arbiter A trigger unit having means for delivering;
The trigger signal from the trigger unit latches and holds data from the bus master, and data transfer is not requested to a selector that selects connections between a plurality of bus masters and a plurality of bus slaves. Means for transmitting a transfer type signal indicating;
A latch unit having a transfer type signal indicating whether it is continuous transfer data or non-continuous transfer data and means for sending the held data to the selector when an access permission signal is received from the arbiter;
A bus interface wrapper circuit comprising:
前記トリガ部は、前記セレクタを通してバススレーブからデータ転送完了を示す信号を受信したとき、前記アービタに対して、バスアクセスの要求の無いことを示す信号を送信し、かつ、前記バスマスタに対して、データ転送完了を示す信号を送信する手段を有することを特徴とする請求項3に記載のバスインタフェースラッパー回路。   When the trigger unit receives a signal indicating the completion of data transfer from the bus slave through the selector, the trigger unit transmits a signal indicating no bus access request to the arbiter, and the bus master, 4. The bus interface wrapper circuit according to claim 3, further comprising means for transmitting a signal indicating completion of data transfer. 前記バスマスタは、AMBA(Advanced Microcontroller Bus Architecture)におけるアドバンスト・ハイパフォーマンス・バス−ライト(AHB−Lite)の規格に準拠した、単一のバスマスタが接続されるバスインタフェースを有し、前記アービタ及び前記バススレーブは、AMBA(Advanced Microcontroller Bus Architecture)におけるアドバンスト・ハイパフォーマンス・バス(AHB)の規格に準拠した、複数のバスマスタが接続されるバスインタフェースを有することを特徴とする請求項1乃至4の何れかに記載のバスインタフェースラッパー回路。   The bus master has a bus interface to which a single bus master conforms to the advanced high performance bus-write (AHB-Lite) standard in AMBA (Advanced Microcontroller Bus Architecture), and the arbiter and the bus slave 5. The system according to claim 1, further comprising: a bus interface to which a plurality of bus masters are connected in accordance with an advanced high-performance bus (AHB) standard in an AMBA (Advanced Microcontroller Bus Architecture). Bus interface wrapper circuit.
JP2006041889A 2006-02-20 2006-02-20 Bus system Expired - Fee Related JP5028817B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006041889A JP5028817B2 (en) 2006-02-20 2006-02-20 Bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006041889A JP5028817B2 (en) 2006-02-20 2006-02-20 Bus system

Publications (2)

Publication Number Publication Date
JP2007219968A true JP2007219968A (en) 2007-08-30
JP5028817B2 JP5028817B2 (en) 2012-09-19

Family

ID=38497182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006041889A Expired - Fee Related JP5028817B2 (en) 2006-02-20 2006-02-20 Bus system

Country Status (1)

Country Link
JP (1) JP5028817B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0950392A (en) * 1995-08-08 1997-02-18 Fujitsu Ltd Operation history monitoring device for electronic equipment
JP2002055941A (en) * 2000-07-17 2002-02-20 Arm Ltd Data processor
JP2003256350A (en) * 2002-03-01 2003-09-12 Nec Electronics Corp Bus system
JP2005011324A (en) * 2003-06-12 2005-01-13 Arm Ltd Improvement for flexibility of use of data processor is used

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0950392A (en) * 1995-08-08 1997-02-18 Fujitsu Ltd Operation history monitoring device for electronic equipment
JP2002055941A (en) * 2000-07-17 2002-02-20 Arm Ltd Data processor
JP2003256350A (en) * 2002-03-01 2003-09-12 Nec Electronics Corp Bus system
JP2005011324A (en) * 2003-06-12 2005-01-13 Arm Ltd Improvement for flexibility of use of data processor is used

Also Published As

Publication number Publication date
JP5028817B2 (en) 2012-09-19

Similar Documents

Publication Publication Date Title
JP4785112B2 (en) Bus system for linking a subsystem including multiple masters to a bus based on an open core protocol
KR101720134B1 (en) Bus bridge apparatus
US7475182B2 (en) System-on-a-chip mixed bus architecture
US7275119B2 (en) Early detection and grant, an arbitration scheme for single transfers on AMBA advanced high-performance bus
US5469435A (en) Bus deadlock avoidance during master split-transactions
JPH0652096A (en) Method and apparatus for executing arbitration of bus using arbiter in data processing system
US9122802B2 (en) Interconnect, bus system with interconnect and bus system operating method
KR100633773B1 (en) Bus system and method of bus arbitration
JP2002123482A (en) Bus bridge interface system
US9003092B2 (en) System on chip bus system and a method of operating the bus system
GB2396450A (en) Data bus system and method for performing cross-access between buses
JP5028817B2 (en) Bus system
KR100475438B1 (en) Data bus system and method for performing cross-access between buses
KR101226389B1 (en) SYSTEM AND METHOD FOR CONTROLLING EXCLUSIVE ACCESS IN SoC
JP4599524B2 (en) Data processing apparatus and method
KR100813878B1 (en) Device and method of controlling amba bus without arbitration and amba bus interface system using the same
JP5023534B2 (en) Bus master circuit / slave circuit switching circuit
JP4599525B2 (en) Data processing apparatus and data processing method
JP4102740B2 (en) Information processing device
KR101013767B1 (en) Multiple bus system and data transmission method using the same
CN115640245A (en) Method and device for expanding EBIU on DSP chip based on AXI bus protocol
US8407385B2 (en) Bus arbitration system, a method of connecting devices of an IC employing a bus system and an IC
JP3752478B2 (en) Information processing device
JP2005100210A (en) Bus configuration circuit
JP2008052310A (en) Information processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110520

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111227

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120529

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120611

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150706

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees