JPS62109153A - Device equipment - Google Patents
Device equipmentInfo
- Publication number
- JPS62109153A JPS62109153A JP25015185A JP25015185A JPS62109153A JP S62109153 A JPS62109153 A JP S62109153A JP 25015185 A JP25015185 A JP 25015185A JP 25015185 A JP25015185 A JP 25015185A JP S62109153 A JPS62109153 A JP S62109153A
- Authority
- JP
- Japan
- Prior art keywords
- internal bus
- bus
- interface
- lsi
- memory
- 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.)
- Pending
Links
Landscapes
- Bus Control (AREA)
Abstract
Description
本発明は共通バスに接続されるデバイス装置に関するも
のであり、デバイス装置の内部バスを二重化し、通常的
には二重化を意識せずに使用できるようにしたものであ
る。The present invention relates to a device connected to a common bus, in which the internal bus of the device is duplicated so that it can be used without being aware of the duplication.
第2図に従来の内部バスが一重のシステムの構成例を示
す。1は共通バス、2は内部バス、3は共通バスに接続
されているマスターデバイス、4は共通バスのインター
フェイス回路、5は内部バスの優先使用権の制御回路、
6はレジスタ、7はメモリ、8はLSiである。
このような構成において、例えばL S i 8が起動
されて独自にメモリ7との間でDMAを開始したとする
。この時、外部マスタデバイス3により内部バス2のア
クセスが行われると内部バスでの衝突が生じるため、こ
れを防止するには以下の2例が考えられる。
fl)バスインターフェース4を閉鎖して共通バス1か
らのアクセスを一切禁止する。
(2)内部バス優先制御回路5によって内部バスの使用
権を外部マスタデバイス3とLSi8に振り分けて交互
に内部バスを使用する。
しかし、このような方法によって内部バスの衝突を防止
した場合、次のような弊害が生じる。すなわち、fll
の場合、LSi8が動作中には内部バスに接続されてい
るレジスタ類を外部マスクデハイス3がアクセスするこ
とが不可能となり、その間当デバイスユニットに対する
動作は一切停止してしまう。また、(2)の場合、外部
マスタデバイス3、LSt8共に動作に間隔があくため
、時間監視を行っている場合、又は、LSt8が外部入
出力装置に接続されていてその間で伝送を行っている場
合等には、動作が間に合わずタイムオーバーになる事も
考えられる。FIG. 2 shows an example of the configuration of a conventional system with a single internal bus. 1 is a common bus, 2 is an internal bus, 3 is a master device connected to the common bus, 4 is an interface circuit for the common bus, 5 is a control circuit for priority use of the internal bus,
6 is a register, 7 is a memory, and 8 is an LSi. In such a configuration, for example, assume that the L S i 8 is activated and independently starts DMA with the memory 7. At this time, if the external master device 3 accesses the internal bus 2, a collision will occur on the internal bus, so the following two examples can be considered to prevent this. fl) Close the bus interface 4 and prohibit any access from the common bus 1. (2) The internal bus priority control circuit 5 allocates the right to use the internal bus to the external master device 3 and the LSi 8, and uses the internal bus alternately. However, when internal bus collisions are prevented by such a method, the following disadvantages occur. That is, flll
In this case, while the LSi 8 is in operation, it becomes impossible for the external mask device 3 to access the registers connected to the internal bus, and during that time, all operations for the device unit are stopped. In the case of (2), there is an interval between the operations of both the external master device 3 and LSt8, so if time monitoring is being performed, or if LSt8 is connected to an external input/output device and transmission is being performed between them. In some cases, the operation may not be done in time and a timeout may occur.
この発明は内部動作と外部からのアクセスが同時に行わ
れた場合に内部バスの衝突を防ぎ、かつ双方のアクセス
タイムに影響を与えないような内部バス構造を存するデ
バイス装置を提供することを目的とする。An object of the present invention is to provide a device having an internal bus structure that prevents internal bus collisions when internal operations and external accesses are performed at the same time, and does not affect the access time of both. do.
この発明はデバイスの二段に階層化し、上段層内部バス
と下段層内部バスの間に内部バスインターフェースを設
け、通常はこの内部インターフェースは開放しておくこ
とにより外部からアクセスされる場合には一系統のバス
と同様に動作させ、下段層内部バスに接続されているマ
スクがDMA等のために下段層内部バスに接続されてい
るメモリ等をアクセスする場合にはこの内部バスインタ
ーフェースを閉鎖して下段層内部バスではDMAを行い
、上段層内部バスに接続されたレジスフ類は外部マスタ
デバイスより通常と同様にアクセス可能としたものであ
る。In this invention, devices are layered into two levels, and an internal bus interface is provided between an internal bus in the upper layer and an internal bus in the lower layer. Normally, this internal interface is left open so that when it is accessed from the outside, only one bus interface is provided. When the mask connected to the lower layer internal bus accesses the memory etc. connected to the lower layer internal bus for DMA etc., this internal bus interface is closed. The lower layer internal bus performs DMA, and the registers connected to the upper layer internal bus can be accessed from an external master device in the same way as usual.
第1図はこの発明の実施例を示すもので、■は共通バス
、3はその共通バス1に接続されている外部マスタデバ
イス、6はレジスタ、7はメモリ、8はLSt、9は上
段層内部バス、10は下段層内部バス、11は外部の共
通バス1と上段層内部バス9とを接続する外部バスイン
ターフェース、12は上段層内部バス9と下段層内部バ
ス10とを接続する内部ハ゛スインターフエース、13
は内部バスインターフェース12を閉鎖させる信号線で
ある。
このような構成において、通常外部マスタデバイス3が
上段層内部バス9に接続されているレジスタ6や下段層
内部バス10に接続されているLSt8をアクセスする
場合、内部バスインターフェース12は開放状態で上段
層内部バス9と下段層内部バス10が結合した状態であ
るため、上段層内部バス9に接続されたレジスタ6も下
段層内部バス10に接続されたLSt8に対しても違い
を意識せずにアクセスできる。これに対して、LSt8
が起動をかけられてメモリ7との間でDMAを行うよう
な場合には、同時に閉鎖用信号線13を介して内部バス
インターフェース12に信号が送られ、内部バスインタ
ーフェース12では図示されていないゲートが閉じられ
ることにより内部バスインターフェース12は閉鎖され
、上段層内部バス9と下段層内部バス10を分離して個
別に動作できるようになる。この状態でLSt8は下段
層内部バス10を専存し、メモリ7との間でDMAを行
い、また外部マスタデバイス3は上段層内部バス9に接
続されているレジスタ6を自由にアクセス可能となる。FIG. 1 shows an embodiment of the present invention, where ■ is a common bus, 3 is an external master device connected to the common bus 1, 6 is a register, 7 is a memory, 8 is an LSt, and 9 is an upper layer. An internal bus 10 is a lower layer internal bus, 11 is an external bus interface that connects the external common bus 1 and the upper layer internal bus 9, and 12 is an internal bus that connects the upper layer internal bus 9 and the lower layer internal bus 10. interface, 13
is a signal line that closes the internal bus interface 12. In such a configuration, when the external master device 3 normally accesses the register 6 connected to the upper layer internal bus 9 or the LSt 8 connected to the lower layer internal bus 10, the internal bus interface 12 is in an open state and the upper layer Since the layer internal bus 9 and the lower layer internal bus 10 are in a coupled state, the register 6 connected to the upper layer internal bus 9 and the LSt 8 connected to the lower layer internal bus 10 can be used without being aware of the difference. Can be accessed. On the other hand, LSt8
When activated to perform DMA with the memory 7, a signal is simultaneously sent to the internal bus interface 12 via the closing signal line 13, and a gate (not shown) is sent to the internal bus interface 12. By closing the internal bus interface 12, the upper layer internal bus 9 and the lower layer internal bus 10 can be separated and operated individually. In this state, the LSt8 exclusively uses the lower layer internal bus 10 and performs DMA with the memory 7, and the external master device 3 can freely access the register 6 connected to the upper layer internal bus 9. .
本発明によれば内部バスを二重化し、各々別個に使用し
たり、結合して一木のバスと同様に使用したすすること
が可能な構成としたので、デバイス内部のLS+が独自
に動作中でも外部マスクはできる。これはDMAモード
とプログラムモードでのアクセスの両方が同時に必要な
デバイスにおいて特に効果が大きい。従って、例えば1
枚のカードを設計する際に本方式を採用すればD M
A中にも他のレジスタをアクセスできるのでソフトウェ
アに負担を与えず、DMAとプログラムモード処理の並
行動作が可能となり、これにより得られる使用上のメリ
ット(マルチ処理効果)は極めて大である。According to the present invention, the internal bus is duplicated and can be used separately or combined to be used like a single tree bus, so even when the LS+ inside the device is operating independently. External masks are available. This is particularly effective in devices that require access in both DMA mode and program mode at the same time. Therefore, for example 1
If this method is adopted when designing cards, DM
Since other registers can be accessed even during A, parallel operation of DMA and program mode processing is possible without placing a burden on the software, and the benefits obtained from this (multi-processing effect) are extremely large.
【図面の簡単な説明】
第1図は本発明によるデバイス装置の一実施例を示す構
成図、第2図は従来のデバイス装置の構成図である。
1:共通バス、2:内部バス、3:外部マスタデバイス
、4:バスインターフェース、5:内部バス優先制御回
路+6:レジスタ、7:メモリ。
8:LSi、9:上段層内部バス、10:下段層内部バ
ス、11:外部バスインターフェース、12:内部バス
インターフェース、13:閉鎖用信号線。
丸理人舟nr Jコ ロ 1
”f7+のBRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a device according to the present invention, and FIG. 2 is a block diagram of a conventional device. 1: Common bus, 2: Internal bus, 3: External master device, 4: Bus interface, 5: Internal bus priority control circuit + 6: Register, 7: Memory. 8: LSi, 9: Upper layer internal bus, 10: Lower layer internal bus, 11: External bus interface, 12: Internal bus interface, 13: Closing signal line. Marurijinshu nr J Koro 1 ”f7+
Claims (1)
される上段層内部バスと、内部バスインターフェイスを
介して前記上段層内部バスに接続される下段層内部バス
とを備え、前記内部バスインターフェイスを通常は開放
し、前記下段層内部バスに接続されているマスタデバイ
スが該下段層内部バスに接続されているメモリ等をアク
セスする期間は閉鎖するようにしたことを特徴とするデ
バイス装置。1) An upper layer internal bus is connected to a common bus via an external bus interface, and a lower layer internal bus is connected to the upper layer internal bus via an internal bus interface, and the internal bus interface is normally A device apparatus characterized in that it is opened and closed during a period when a master device connected to the lower layer internal bus accesses a memory or the like connected to the lower layer internal bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25015185A JPS62109153A (en) | 1985-11-08 | 1985-11-08 | Device equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25015185A JPS62109153A (en) | 1985-11-08 | 1985-11-08 | Device equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62109153A true JPS62109153A (en) | 1987-05-20 |
Family
ID=17203575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25015185A Pending JPS62109153A (en) | 1985-11-08 | 1985-11-08 | Device equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62109153A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012118687A (en) * | 2010-11-30 | 2012-06-21 | Sharp Corp | Semiconductor integrated circuit |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57117059A (en) * | 1981-01-14 | 1982-07-21 | Nec Corp | Multiprocessor system |
JPS5819970A (en) * | 1981-07-30 | 1983-02-05 | Fujitsu Ltd | Memory access controlling system |
-
1985
- 1985-11-08 JP JP25015185A patent/JPS62109153A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57117059A (en) * | 1981-01-14 | 1982-07-21 | Nec Corp | Multiprocessor system |
JPS5819970A (en) * | 1981-07-30 | 1983-02-05 | Fujitsu Ltd | Memory access controlling system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012118687A (en) * | 2010-11-30 | 2012-06-21 | Sharp Corp | Semiconductor integrated circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS61141065A (en) | Bus system | |
JPS62109153A (en) | Device equipment | |
JPS62154045A (en) | Bus arbitration system | |
JPH11259195A (en) | Bus noise prevention circuit | |
JP2565916B2 (en) | Memory access controller | |
JP3427776B2 (en) | Bus interface circuit diagnostic method and bus interface circuit | |
JPS59103121A (en) | Information processor | |
JPS6010343B2 (en) | Information processing system control method | |
JP2965255B2 (en) | Redundant control arithmetic system | |
JPS6022264A (en) | Data processor | |
JPS6160162A (en) | Bus arbitration system | |
JPS58101361A (en) | Data processor | |
JP2710483B2 (en) | Semiconductor integrated circuit | |
JPS58200362A (en) | Constitution controller | |
JPH05233517A (en) | Central control auxiliary processor | |
JPS61165172A (en) | Memory access controlling system | |
JPH05282239A (en) | Dma transfer system | |
JPH0261754A (en) | Occupation control system for shared resource | |
JPS5975354A (en) | Processor device | |
JPH03157747A (en) | Direct memory access transfer controller | |
JPH0357030A (en) | Semiconductor integrated circuit | |
JPS5827540B2 (en) | information processing equipment | |
JPH0232450A (en) | Cache memory control system | |
JPH04160458A (en) | Dma controller peripheral circuit | |
JPH0395657A (en) | Computer system |