[go: up one dir, main page]

JP2007004424A - Bus system - Google Patents

Bus system Download PDF

Info

Publication number
JP2007004424A
JP2007004424A JP2005183092A JP2005183092A JP2007004424A JP 2007004424 A JP2007004424 A JP 2007004424A JP 2005183092 A JP2005183092 A JP 2005183092A JP 2005183092 A JP2005183092 A JP 2005183092A JP 2007004424 A JP2007004424 A JP 2007004424A
Authority
JP
Japan
Prior art keywords
flip
cpu
peripheral circuit
flops
selector
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.)
Withdrawn
Application number
JP2005183092A
Other languages
Japanese (ja)
Inventor
Haruhiko Takayama
春彦 高山
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.)
Kawasaki Microelectronics Inc
Original Assignee
Kawasaki Microelectronics Inc
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 Kawasaki Microelectronics Inc filed Critical Kawasaki Microelectronics Inc
Priority to JP2005183092A priority Critical patent/JP2007004424A/en
Publication of JP2007004424A publication Critical patent/JP2007004424A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a bus system that reduces delay time using a simple technique. <P>SOLUTION: A bus system that connects a CPU 11 to peripheral circuits 31-34 includes flip-flops 41-44 for sending or receiving signals between the peripheral circuits 31-34 and the CPU 11, and connection means 51, 52 for connecting the flip-flops 41-44 so that a shift register is formed. The CPU 11 is connected to the flip-flop 41 that corresponds to the peripheral circuit 31 requiring the fastest response among the peripheral circuits 31-34. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、信号転送の遅延時間の短縮を図ったバスシステムに関するものである。   The present invention relates to a bus system that shortens a delay time of signal transfer.

システムLSIの開発において、CPUと周辺回路の構成が複雑(例えばビット数増大等)となり、それらを接続するバスシステムへの負担が大きくなってきている。その結果、バスシステムでの信号遅延がシステム全体の性能を左右することになり、バスシステムの遅延時間を削減することが必要となってきている。   In the development of a system LSI, the configuration of the CPU and peripheral circuits is complicated (for example, the number of bits is increased), and the burden on the bus system that connects them is increasing. As a result, the signal delay in the bus system determines the performance of the entire system, and it is necessary to reduce the delay time of the bus system.

そこで、従来では、図2に示すように、CPU101と周辺回路301〜305を接続する場合において、CPU101に直接接続される回路を例えば周辺回路301〜303とバスブリッジ601の4個に制限してこれらを1次バスで接続し、残りの周辺回路304、305についてはバスブリッジ601および2次バスを使用して接続することで、各バスにおける信号遅延を最小にし、高速化を図っている(例えば、バスブリッジについては特許文献1参照)。なお、図2では、バスとして周辺回路301〜305への書込みデータ線、周辺回路301〜305からの読出しデータ線は1本のみを示し、他のデータ線、アドレス線、制御線等は省略した。501,502はCPU101に取り込む読出しデータを選択するためのセレクタである。   Therefore, conventionally, as shown in FIG. 2, when the CPU 101 and the peripheral circuits 301 to 305 are connected, the circuits directly connected to the CPU 101 are limited to, for example, the four peripheral circuits 301 to 303 and the bus bridge 601. These are connected by the primary bus, and the remaining peripheral circuits 304 and 305 are connected using the bus bridge 601 and the secondary bus, thereby minimizing the signal delay in each bus and increasing the speed ( For example, see Patent Document 1 for a bus bridge). In FIG. 2, only one write data line to the peripheral circuits 301 to 305 and one read data line from the peripheral circuits 301 to 305 are shown as a bus, and other data lines, address lines, control lines, etc. are omitted. . Reference numerals 501 and 502 denote selectors for selecting read data to be loaded into the CPU 101.

また、図3に示すように、CPU102をバスによってバスユニット701に接続し、このバスユニット701に対しては1:1で周辺回路306〜308を接続する構成をとり、遅延時間については周辺回路306〜308とバスユニット701間の遅延時間のみを考慮すればよい方法が採用されることもある。なお、図3でも、バスとして書込みデータ線、読出しデータ線は1本のみを示し、他のデータ線、アドレス線、制御線等は省略した。
特開平9−231164号公報
Also, as shown in FIG. 3, the CPU 102 is connected to the bus unit 701 by a bus, and the peripheral circuits 306 to 308 are connected to the bus unit 701 at a ratio of 1: 1. A method in which only the delay time between 306 to 308 and the bus unit 701 needs to be considered may be adopted. In FIG. 3, only one write data line and one read data line are shown as a bus, and other data lines, address lines, control lines, etc. are omitted.
JP-A-9-231164

ところが、図2で説明した手法では、バスを放射状に配線することになるのでファンアウト数が増大して遅延時間が増大し、また各周辺回路の信号を選択するためのセレクタ501は2−1セレクタの多段接続構成となるので、これによる遅延時間の増大も加わり、バスシステムの高速化に限界が出てくる。その結果、LSIの設計において、目標の動作速度を達成するための論理合成の処理時間の増大や、レイアウト作業の繰り返しを発生させる原因になっていた。また、図3で説明した手法では、バスユニット701内の構成が複雑となってタイミング調整が難しいという問題があった。   However, in the method described with reference to FIG. 2, since the buses are wired radially, the number of fan-outs increases, the delay time increases, and the selector 501 for selecting signals of each peripheral circuit is 2-1. Since the selector has a multi-stage connection configuration, an increase in delay time due to this is added, which limits the speedup of the bus system. As a result, in the LSI design, the processing time of logic synthesis for achieving the target operation speed is increased, and the layout work is repeatedly generated. In addition, the method described with reference to FIG. 3 has a problem that the configuration in the bus unit 701 is complicated and timing adjustment is difficult.

本発明の目的は、簡単な手法によって遅延時間の削減を図ったバスシステムを提供することである。   An object of the present invention is to provide a bus system in which a delay time is reduced by a simple method.

上記課題を解決するために、本発明は、CPUと複数の周辺回路との間を接続するバスシステムにおいて、前記複数の周辺回路との間で信号の転送を個々に行うよう設けた複数のフリップフロップと、該複数のフリップフロップをシフトレジスタが構成されるように接続する接続手段とを備え、前記複数の周辺回路の内の最も高速応答が要求される周辺回路に対応する前記フリップフロップが前記CPUとの間で最初に信号転送を行うようにしたことを特徴とする。   In order to solve the above-described problems, the present invention provides a plurality of flip-flops provided to individually transfer signals to and from the plurality of peripheral circuits in a bus system that connects the CPU and the plurality of peripheral circuits. And a connection means for connecting the plurality of flip-flops so as to form a shift register, and the flip-flop corresponding to the peripheral circuit requiring the fastest response among the plurality of peripheral circuits It is characterized in that signal transfer is first performed with the CPU.

ここで、前記複数のフリップフロップの内の少なくとも1個のフリップフロップの入力側に、2個の入力の内の1つを選択する2−1セレクタを設けることが望ましい。   Here, it is preferable to provide a 2-1 selector for selecting one of the two inputs on the input side of at least one of the plurality of flip-flops.

また、前記CPUの他にバスマスタを備え、前記接続手段により前記複数のフリップフロップがリング状のシフトレジスタが構成されるように接続し、前記複数のフリップフロップの内の前記CPUへの接続を前記リング状の接続と前記CPUへの接続を切り替える第1の2−1セレクタを介して行い、前記複数のフリップフロップの内の前記バスマスタへの接続を前記リング状の接続と前記バスマスタへの接続を切り替える第2の2−1セレクタを介して行うことも望ましい。   In addition to the CPU, a bus master is provided, and the connection means connects the plurality of flip-flops so as to form a ring-shaped shift register, and the connection of the plurality of flip-flops to the CPU is connected to the CPU. A ring connection and a connection to the CPU are performed via a first 2-1 selector, and the connection to the bus master among the plurality of flip-flops is performed by connecting the ring connection and the bus master. It is also desirable to do this via a second 2-1 selector that switches.

さらに、前記複数のフリップフロップの入力は前記複数の周辺回路に個々に2個の入力の内の1つを選択する2−1セレクタを介して接続され、該個々の2−1セレクタが前記シフトレジスタの接続を行う前記接続手段を構成することも望ましい。   Furthermore, the inputs of the plurality of flip-flops are connected to the plurality of peripheral circuits through 2-1 selectors that individually select one of the two inputs, and the individual 2-1 selectors are connected to the shift circuit. It is also desirable to configure the connecting means for connecting registers.

このとき、前記CPUの他にバスマスタを備え、前記複数の2−1セレクタにより前記複数のフリップフロップがリング状のシフトレジスタが構成されるように接続し、前記周辺回路の内の前記CPUに対する最も高速応答が要求される周辺回路に対応する前記フリップフロップを前記CPUに接続し、前記周辺回路の内の前記バスマスタに対する最も高速応答が要求される周辺回路に対応する前記フリップフロップを前記バスマスタに接続することが望ましい。   At this time, a bus master is provided in addition to the CPU, and the plurality of 2-1 selectors are connected so that the plurality of flip-flops form a ring-shaped shift register. The flip-flop corresponding to the peripheral circuit requiring a high-speed response is connected to the CPU, and the flip-flop corresponding to the peripheral circuit requiring the fastest response to the bus master in the peripheral circuit is connected to the bus master. It is desirable to do.

本発明によれば、複数の周辺回路に個々に対応する複数のフリップフロップのファンアウト数は最大でも2であるので、信号転送の遅延の短縮を実現できる。また、高速が要求される周辺回路に対してはCPUから1個のフリップフロップを介して接続されるので、アクセス時間のレイテンシに応じて周辺回路に優先順位を設けることが可能となる。また、使用されるセレクタは2個の入力の一方を選択する2−1セレクタであるので、その部分での信号遅延は小さくできる。さらに、複数のフリップフロップからなるシフトレジスタをリング状に構成するときは、CPUの他にバスマスタを追加することもできる。   According to the present invention, since the number of fan-outs of the plurality of flip-flops individually corresponding to the plurality of peripheral circuits is two at the maximum, the signal transfer delay can be reduced. In addition, since a peripheral circuit requiring high speed is connected from the CPU through one flip-flop, it is possible to set a priority in the peripheral circuit according to the latency of the access time. Further, since the selector used is a 2-1 selector for selecting one of the two inputs, the signal delay at that portion can be reduced. Furthermore, when a shift register composed of a plurality of flip-flops is configured in a ring shape, a bus master can be added in addition to the CPU.

図1は本発明の1つの実施例のバスシステムの構成を示すブロック図である。11はCPU、21はバスマスタ、31〜34は周辺回路、41〜48はリピータとして機能するフリップフロップ、51〜56は2個の入力の一方を選択する2−1セレクタである。ここでは、周辺回路31〜34への書込みデータ線、周辺回路31〜34からの読出しデータ線の各1本の配線のみを代表して示し、他のデータ線、アドレス線、制御線およびこれらに関連するフリップフロップとセレクタは省略した。また、フリップフロップ41〜48は共通のクロック線で動作するが、これも省略した。   FIG. 1 is a block diagram showing the configuration of a bus system according to one embodiment of the present invention. Reference numeral 11 denotes a CPU, 21 is a bus master, 31 to 34 are peripheral circuits, 41 to 48 are flip-flops functioning as repeaters, and 51 to 56 are 2-1 selectors for selecting one of two inputs. Here, only one wiring of each of the write data line to the peripheral circuits 31 to 34 and the read data line from the peripheral circuits 31 to 34 is shown as a representative, and other data lines, address lines, control lines, and these are shown. Related flip-flops and selectors are omitted. The flip-flops 41 to 48 operate on a common clock line, but this is also omitted.

フリップフロップ41〜44の出力は周辺回路31〜34に入力しているが、セレクタ51〜52を経由することでリング状のシフトレジスタを構成するよう接続されている。また、フリップフロップ46,48の出力はバスマスタ21、CPU11に入力しているが、フリップフロップ45、47とセレクタ53〜56を経由することでリング状のシフトレジスタを構成するように接続されている。   The outputs of the flip-flops 41 to 44 are input to the peripheral circuits 31 to 34, and are connected to form a ring-shaped shift register via the selectors 51 to 52. The outputs of the flip-flops 46 and 48 are input to the bus master 21 and the CPU 11, and are connected to form a ring-shaped shift register via the flip-flops 45 and 47 and the selectors 53 to 56. .

そして、CPU11からの書込みデータ線はセレクタ51を経由してフリップフロップ41に接続され、バスマスタ21からの書込みデータ線はセレクタ52を介してフリップフロップ43に接続されている。周辺回路31からの読出しデータ線はセレクタ56を介してフリップフロップ48に接続され、周辺回路32からの読出しデータ線はセレクタ55を介してフリップフロップ47に接続され、周辺回路33からの読出しデータ線はセレクタ54を介してフリップフロップ46に接続され、周辺回路34からの読出しデータ線はセレクタ53を介してフリップフロップ45に接続されている。   The write data line from the CPU 11 is connected to the flip-flop 41 via the selector 51, and the write data line from the bus master 21 is connected to the flip-flop 43 via the selector 52. A read data line from the peripheral circuit 31 is connected to the flip-flop 48 via the selector 56, and a read data line from the peripheral circuit 32 is connected to the flip-flop 47 via the selector 55, and a read data line from the peripheral circuit 33 is read. Is connected to the flip-flop 46 via the selector 54, and the read data line from the peripheral circuit 34 is connected to the flip-flop 45 via the selector 53.

以上により、各フリップフロップ41〜48のファンアウト数は1又は2となり、信号遅延の短縮が実現できる。また、CPU11やバスマスタ21と周辺回路31〜34との間は、最短で1個のフリップフロップ、最長で4個のフリップフロップを経由して接続されるので、それらCPU11やバスマスタ21と各周辺回路31〜34との間のアクセス時間に優先順位を設けることができる。また、各フリップフロップ41〜48はシフト動作を行い、その内の特にフリップフロップ41〜44は周辺回路31〜34への書込みデータのロード動作も行い、フリップフロップ45〜48は周辺回路31〜34からの読出しデータのロード動作も行う。また、CPU11、バスマスタ21、周辺回路31〜34は、ロード許可のときにデータのセット(書込み)を行う。また、各フリップフロップには有効ビットを設けて、ロードしたときにその有効ビットをセットし、CPU11、バスマスタ21が読出しデータを取得したときにクリア、周辺回路31〜34が書込みデータを取得したときにクリアする。各フリップフロップを接続したシフトレジスタは、ループ構成であり、CPU11,バスマスタ21のようなマスタ機能はどの位置にでも配置可能である。   As described above, the number of fan-outs of the flip-flops 41 to 48 is 1 or 2, and the signal delay can be shortened. Further, since the CPU 11 and the bus master 21 and the peripheral circuits 31 to 34 are connected via the shortest one flip-flop and the longest four flip-flops, the CPU 11 and the bus master 21 and each peripheral circuit. Priorities can be set for access times between 31-34. Each of the flip-flops 41 to 48 performs a shift operation. Among them, the flip-flops 41 to 44 also perform an operation of loading write data to the peripheral circuits 31 to 34, and the flip-flops 45 to 48 include the peripheral circuits 31 to 34. The operation of loading the read data from is also performed. Further, the CPU 11, the bus master 21, and the peripheral circuits 31 to 34 perform data setting (writing) when the load is permitted. Also, each flip-flop is provided with a valid bit, and when the load is loaded, the valid bit is set. When the CPU 11 and the bus master 21 obtain the read data, the clear is obtained. When the peripheral circuits 31 to 34 obtain the write data. To clear. The shift register to which each flip-flop is connected has a loop configuration, and master functions such as the CPU 11 and the bus master 21 can be arranged at any position.

さて、CPU11から周辺回路31にデータを書き込むときは、セレクタ51をCPU11側に切り替えてフリップフロップ41経由により、そのデータを周辺回路31に入力させる。このとき、CPU11から周辺回路31へのアクセス時間は1クロックとなる。   When data is written from the CPU 11 to the peripheral circuit 31, the selector 51 is switched to the CPU 11 side and the data is input to the peripheral circuit 31 via the flip-flop 41. At this time, the access time from the CPU 11 to the peripheral circuit 31 is one clock.

CPU11から周辺回路32にデータを書き込むときは、セレクタ51をCPU11側に切り替えてフリップフロップ41、42経由により、そのデータを周辺回路32に入力させる。このとき、CPU11から周辺回路32へのアクセス時間は2クロックとなる。   When writing data from the CPU 11 to the peripheral circuit 32, the selector 51 is switched to the CPU 11 side and the data is input to the peripheral circuit 32 via the flip-flops 41 and 42. At this time, the access time from the CPU 11 to the peripheral circuit 32 is 2 clocks.

CPU11から周辺回路33にデータを書き込むときは、セレクタ51をCPU11側に切り替え、セレクタ52をフリップフロップ42側に切り替えて、フリップフロップ41、42、43経由により、そのデータを周辺回路33に入力させる。このとき、CPU11から周辺回路33へのアクセス時間は3クロックとなる。   When writing data from the CPU 11 to the peripheral circuit 33, the selector 51 is switched to the CPU 11 side, the selector 52 is switched to the flip-flop 42 side, and the data is input to the peripheral circuit 33 via the flip-flops 41, 42, and 43. . At this time, the access time from the CPU 11 to the peripheral circuit 33 is 3 clocks.

CPU11から周辺回路34にデータを書き込むときは、セレクタ51をCPU11側に切り替え、セレクタ52をフリップフロップ42側に切り替えて、フリップフロップ41、42、43、44経由により、そのデータを周辺回路34に入力させる。このとき、CPU11から周辺回路34へのアクセス時間は4クロックとなる。   When writing data from the CPU 11 to the peripheral circuit 34, the selector 51 is switched to the CPU 11 side, the selector 52 is switched to the flip-flop 42 side, and the data is transferred to the peripheral circuit 34 via the flip-flops 41, 42, 43, 44. Let them enter. At this time, the access time from the CPU 11 to the peripheral circuit 34 is 4 clocks.

バスマスタ21から周辺回路33にデータを書き込むときは、セレクタ52をバスマスタ21側に切り替えて、フリップフロップ43経由により、そのデータを周辺回路33に入力させる。このとき、バスマスタ21から周辺回路33へのアクセス時間は1クロックとなる。   When writing data from the bus master 21 to the peripheral circuit 33, the selector 52 is switched to the bus master 21 side and the data is input to the peripheral circuit 33 via the flip-flop 43. At this time, the access time from the bus master 21 to the peripheral circuit 33 is one clock.

バスマスタ21から周辺回路34にデータを書き込むときは、セレクタ52をバスマスタ21側に切り替えて、フリップフロップ43、44経由により、そのデータを周辺回路34に入力させる。このとき、バスマスタ21から周辺回路34へのアクセス時間は2クロックとなる。   When writing data from the bus master 21 to the peripheral circuit 34, the selector 52 is switched to the bus master 21 side, and the data is input to the peripheral circuit 34 via the flip-flops 43 and 44. At this time, the access time from the bus master 21 to the peripheral circuit 34 is 2 clocks.

バスマスタ21から周辺回路31にデータを書き込むときは、セレクタ52をバスマスタ21側に切り替え、セレクタ51をフリップフロップ44側に切り替えて、フリップフロップ43、44、41経由により、そのデータを周辺回路31に入力させる。このとき、バスマスタ21から周辺回路31へのアクセス時間は3クロックとなる。   When data is written from the bus master 21 to the peripheral circuit 31, the selector 52 is switched to the bus master 21 side, the selector 51 is switched to the flip-flop 44 side, and the data is transferred to the peripheral circuit 31 via the flip-flops 43, 44, 41. Let them enter. At this time, the access time from the bus master 21 to the peripheral circuit 31 is 3 clocks.

バスマスタ21から周辺回路32にデータを書き込むときは、セレクタ52をバスマスタ21側に切り替え、セレクタ51をフリップフロップ44側に切り替えて、フリップフロップ43、44、41、42経由により、そのデータを周辺回路32に入力させる。このとき、バスマスタ21から周辺回路32へのアクセス時間は4クロックとなる。   When writing data from the bus master 21 to the peripheral circuit 32, the selector 52 is switched to the bus master 21 side, the selector 51 is switched to the flip-flop 44 side, and the data is transferred via the flip-flops 43, 44, 41, 42 to the peripheral circuit. 32. At this time, the access time from the bus master 21 to the peripheral circuit 32 is 4 clocks.

CPU11により周辺回路31のデータの読出しを行うときは、セレクタ56を周辺回路31側に切り替えて、フリップフロップ48経由により、そのデータをCPU11に入力させる。このときは、周辺回路31からCPU11へのアクセス時間は1クロックとなる。   When the CPU 11 reads data from the peripheral circuit 31, the selector 56 is switched to the peripheral circuit 31 side and the data is input to the CPU 11 via the flip-flop 48. At this time, the access time from the peripheral circuit 31 to the CPU 11 is one clock.

CPU11により周辺回路32のデータの読出しを行うときは、セレクタ56をフリップフロップ47側に切り替え、セレクタ55を周辺回路32側に切り替えて、フリップフロップ47、48経由により、そのデータをCPU11に入力させる。このときは、周辺回路32からCPU11へのアクセス時間は2クロックとなる。   When the CPU 11 reads data from the peripheral circuit 32, the selector 56 is switched to the flip-flop 47 side, the selector 55 is switched to the peripheral circuit 32 side, and the data is input to the CPU 11 via the flip-flops 47 and 48. . At this time, the access time from the peripheral circuit 32 to the CPU 11 is two clocks.

CPU11により周辺回路33のデータの読出しを行うときは、セレクタ56をフリップフロップ47側に切り替え、セレクタ55をフリップフロップ46側に切り替え、セレクタ54を周辺回路33側に切り替えて、フリップフロップ46、47、48経由により、そのデータをCPU11に入力させる。このとき、周辺回路33からCPU11へのアクセス時間は3クロックとなる。   When the CPU 11 reads data from the peripheral circuit 33, the selector 56 is switched to the flip-flop 47 side, the selector 55 is switched to the flip-flop 46 side, the selector 54 is switched to the peripheral circuit 33 side, and the flip-flops 46, 47 are switched. , 48, the data is input to the CPU 11. At this time, the access time from the peripheral circuit 33 to the CPU 11 is 3 clocks.

CPU11により周辺回路34のデータの読出しを行うときは、セレクタ56をフリップフロップ47側に切り替え、セレクタ55をフリップフロップ46側に切り替え、セレクタ54をフリップフロップ45側に切り替え、セレクタ53を周辺回路34側に切り替えて、フリップフロップ45、46、47、48経由により、そのデータをCPU11に入力させる。このとき、周辺回路34からCPU11へのアクセス時間は4クロックとなる。   When the CPU 11 reads data from the peripheral circuit 34, the selector 56 is switched to the flip-flop 47, the selector 55 is switched to the flip-flop 46, the selector 54 is switched to the flip-flop 45, and the selector 53 is switched to the peripheral circuit 34. The data is input to the CPU 11 via the flip-flops 45, 46, 47 and 48. At this time, the access time from the peripheral circuit 34 to the CPU 11 is 4 clocks.

バスマスタ21により周辺回路33のデータの読出しを行うときは、セレクタ54を周辺回路33側に切り替えて、フリップフロップ46経由により、そのデータをバスマスタ21に入力させる。このときは、周辺回路33からバスマスタ21へのアクセス時間は1クロックとなる。   When the bus master 21 reads data from the peripheral circuit 33, the selector 54 is switched to the peripheral circuit 33, and the data is input to the bus master 21 via the flip-flop 46. At this time, the access time from the peripheral circuit 33 to the bus master 21 is one clock.

バスマスタ21により周辺回路34のデータの読出しを行うときは、セレクタ54をフリップフロップ45側に切り替え、セレクタ53を周辺回路34側に切り替えて、フリップフロップ45、46経由により、そのデータをバスマスタ21に入力させる。このときは、周辺回路34からバスマスタ21へのアクセス時間は2クロックとなる。   When the bus master 21 reads data from the peripheral circuit 34, the selector 54 is switched to the flip-flop 45 side, the selector 53 is switched to the peripheral circuit 34 side, and the data is transferred to the bus master 21 via the flip-flops 45 and 46. Let them enter. At this time, the access time from the peripheral circuit 34 to the bus master 21 is 2 clocks.

バスマスタ21により周辺回路31のデータの読出しを行うときは、セレクタ54をフリップフロップ45側に切り替え、セレクタ53をフリップフロップ48側に切り替え、セレクタ56を周辺回路31側に切り替えて、フリップフロップ48、45、46経由により、そのデータをバスマスタ21に入力させる。このとき、周辺回路31からバスマスタ21へのアクセス時間は3クロックとなる。   When the bus master 21 reads data from the peripheral circuit 31, the selector 54 is switched to the flip-flop 45 side, the selector 53 is switched to the flip-flop 48 side, the selector 56 is switched to the peripheral circuit 31 side, and the flip-flop 48, The data is input to the bus master 21 via 45 and 46. At this time, the access time from the peripheral circuit 31 to the bus master 21 is 3 clocks.

バスマスタ21により周辺回路32のデータの読出しを行うときは、セレクタ54をフリップフロップ45側に切り替え、セレクタ53をフリップフロップ48側に切り替え、セレクタ56をフリップフロップ47側に切り替え、セレクタ55を周辺回路32側に切り替えて、フリップフロップ47、48、45、46経由により、そのデータをバスマスタ21に入力させる。このとき、周辺回路32からバスマスタ21へのアクセス時間は4クロックとなる。   When the bus master 21 reads data from the peripheral circuit 32, the selector 54 is switched to the flip-flop 45, the selector 53 is switched to the flip-flop 48, the selector 56 is switched to the flip-flop 47, and the selector 55 is switched to the peripheral circuit. Switching to the 32 side, the data is input to the bus master 21 via the flip-flops 47, 48, 45, 46. At this time, the access time from the peripheral circuit 32 to the bus master 21 is 4 clocks.

以上のように、CPU11と周辺回路31との間のアクセス時間は1クロック、周辺回路32のとの間は2クロック、周辺回路33との間は3クロック、周辺回路34との間は4クロックとなり、バスマスタ21と周辺回路33との間は1クロック、周辺回路34のとの間は2クロック、周辺回路31との間は3クロック、周辺回路32との間は4クロックとなる。   As described above, the access time between the CPU 11 and the peripheral circuit 31 is 1 clock, 2 clocks between the peripheral circuit 32, 3 clocks with the peripheral circuit 33, and 4 clocks with the peripheral circuit 34. Thus, there are 1 clock between the bus master 21 and the peripheral circuit 33, 2 clocks between the peripheral circuit 34, 3 clocks with the peripheral circuit 31, and 4 clocks with the peripheral circuit 32.

したがって、周辺回路31〜34として、CPU11およびバスマスタ21へのアクセス優先順位に対応した周辺回路を割り当てることにより、各周辺回路に応じて要求される高速性を確保することが可能となる。   Therefore, by assigning peripheral circuits corresponding to the priority order of access to the CPU 11 and the bus master 21 as the peripheral circuits 31 to 34, it is possible to ensure the high speed required for each peripheral circuit.

本発明の実施例のバスシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the bus system of the Example of this invention. 従来のバスシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the conventional bus system. 従来の別のバスシステムの構成を示すブロック図である。It is a block diagram which shows the structure of another conventional bus system.

符号の説明Explanation of symbols

11,101,102:CPU
21:バスマスタ
31〜34,301〜308:周辺回路
41〜48:フリップフロップ
51〜56、501、502:セレクタ
601:バスブリッジ
701:バスユニット
11, 101, 102: CPU
21: Bus masters 31-34, 301-308: Peripheral circuits 41-48: Flip-flops 51-56, 501, 502: Selector 601: Bus bridge 701: Bus unit

Claims (5)

CPUと複数の周辺回路との間を接続するバスシステムにおいて、
前記複数の周辺回路との間で信号の転送を個々に行うよう設けた複数のフリップフロップと、該複数のフリップフロップをシフトレジスタが構成されるように接続する接続手段とを備え、前記複数の周辺回路の内の最も高速応答が要求される周辺回路に対応する前記フリップフロップが前記CPUとの間で最初に信号転送を行うようにしたことを特徴とするバスシステム。
In a bus system that connects a CPU and a plurality of peripheral circuits,
A plurality of flip-flops provided to individually transfer signals to and from the plurality of peripheral circuits, and connection means for connecting the plurality of flip-flops so as to form a shift register. A bus system characterized in that the flip-flop corresponding to the peripheral circuit requiring the fastest response among the peripheral circuits first performs signal transfer with the CPU.
請求項1に記載のバスシステムにおいて、
前記複数のフリップフロップの内の少なくとも1個のフリップフロップの入力側に、2個の入力の内の1つを選択する2−1セレクタを設けたことを特徴とするバスシステム。
The bus system according to claim 1,
A bus system comprising a 2-1 selector for selecting one of two inputs on an input side of at least one flip-flop of the plurality of flip-flops.
請求項2に記載のバスシステムにおいて、
前記CPUの他にバスマスタを備え、前記接続手段により前記複数のフリップフロップがリング状のシフトレジスタが構成されるように接続し、前記複数のフリップフロップの内の前記CPUへの接続を前記リング状の接続と前記CPUへの接続を切り替える第1の2−1セレクタを介して行い、前記複数のフリップフロップの内の前記バスマスタへの接続を前記リング状の接続と前記バスマスタへの接続を切り替える第2の2−1セレクタを介して行ったことを特徴とするバスシステム。
The bus system according to claim 2,
A bus master is provided in addition to the CPU, and the connection means connects the plurality of flip-flops to form a ring-shaped shift register, and the connection of the plurality of flip-flops to the CPU is the ring-shaped And a first 2-1 selector for switching the connection to the CPU, and the connection to the bus master among the plurality of flip-flops is switched to the ring-shaped connection and the connection to the bus master. 2. A bus system, which is performed via a 2-1 selector.
請求項1に記載のバスシステムにおいて、
前記複数のフリップフロップの入力は前記複数の周辺回路に個々に2個の入力の内の1つを選択する2−1セレクタを介して接続され、該個々の2−1セレクタが前記シフトレジスタの接続を行う前記接続手段を構成するようにしたことを特徴とするバスシステム。
The bus system according to claim 1,
The inputs of the plurality of flip-flops are connected to the plurality of peripheral circuits through 2-1 selectors that individually select one of the two inputs, and the individual 2-1 selectors are connected to the shift register. A bus system comprising the connection means for performing connection.
請求項4に記載のバスシステムにおいて、
前記CPUの他にバスマスタを備え、前記複数の2−1セレクタにより前記複数のフリップフロップがリング状のシフトレジスタが構成されるように接続し、前記周辺回路の内の前記CPUに対する最も高速応答が要求される周辺回路に対応する前記フリップフロップを前記CPUに接続し、前記周辺回路の内の前記バスマスタに対する最も高速応答が要求される周辺回路に対応する前記フリップフロップを前記バスマスタに接続したことを特徴とするバスシステム。
The bus system according to claim 4,
In addition to the CPU, a bus master is provided, and the plurality of 2-1 selectors connect the plurality of flip-flops to form a ring-shaped shift register, so that the fastest response to the CPU in the peripheral circuit is achieved. The flip-flop corresponding to the required peripheral circuit is connected to the CPU, and the flip-flop corresponding to the peripheral circuit requiring the fastest response to the bus master in the peripheral circuit is connected to the bus master. Characteristic bus system.
JP2005183092A 2005-06-23 2005-06-23 Bus system Withdrawn JP2007004424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005183092A JP2007004424A (en) 2005-06-23 2005-06-23 Bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005183092A JP2007004424A (en) 2005-06-23 2005-06-23 Bus system

Publications (1)

Publication Number Publication Date
JP2007004424A true JP2007004424A (en) 2007-01-11

Family

ID=37690004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005183092A Withdrawn JP2007004424A (en) 2005-06-23 2005-06-23 Bus system

Country Status (1)

Country Link
JP (1) JP2007004424A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022118141A1 (en) * 2020-12-06 2022-06-09 株式会社半導体エネルギー研究所 Display device and display correction system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022118141A1 (en) * 2020-12-06 2022-06-09 株式会社半導体エネルギー研究所 Display device and display correction system
US12243482B2 (en) 2020-12-06 2025-03-04 Semiconductor Energy Laboratory Co., Ltd. Display device and display correction system

Similar Documents

Publication Publication Date Title
US11609769B2 (en) Configuration of a reconfigurable data processor using sub-files
JP4856379B2 (en) Protocol conversion arbitration circuit, system including the same, and signal conversion arbitration method
JP5232019B2 (en) Apparatus, system, and method for multiple processor cores
US7580963B2 (en) Semiconductor device having an arithmetic unit of a reconfigurable circuit configuration in accordance with stored configuration data and a memory storing fixed value data to be supplied to the arithmetic unit, requiring no data area for storing fixed value data to be set in a configuration memory
US8099540B2 (en) Reconfigurable circuit
JP2005353168A (en) Memory interface circuit and memory interface method
US7054979B2 (en) Method and apparatus for routing configuration accesses from a primary port to a plurality of secondary ports
US6115780A (en) Interrupt steering circuit for PCI bus
JP2007004424A (en) Bus system
US20080120449A1 (en) Bus relay device and bus control system
EP2624000A1 (en) Integrated circuit
JP2009086830A (en) Memory controller
US7519848B2 (en) Data transfer apparatus
US6324615B1 (en) Data processor
JP4647578B2 (en) Radar signal processing device
JP2007148622A (en) Interface setting method
JP4682786B2 (en) Microcomputer
US20130097343A1 (en) Arrangement, method, integrated circuit and device for routing requests
JP2007323491A (en) Direct memory access control device and control method
JP2000076199A (en) Multiprocessor device provided with debugging terminal
US7409479B2 (en) Semiconductor integrated circuit
JP2004362176A (en) Integrated circuit
KR100519532B1 (en) Test circuit
JP2006331190A (en) Clock control circuit
JP2008219728A (en) Reconstructible arithmetic processing circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080902