JPH02500224A - Computer system with computer address translation device - Google Patents
Computer system with computer address translation deviceInfo
- Publication number
- JPH02500224A JPH02500224A JP63502786A JP50278688A JPH02500224A JP H02500224 A JPH02500224 A JP H02500224A JP 63502786 A JP63502786 A JP 63502786A JP 50278688 A JP50278688 A JP 50278688A JP H02500224 A JPH02500224 A JP H02500224A
- Authority
- JP
- Japan
- Prior art keywords
- address
- signal
- computer
- channel
- storage
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
- G06F12/0615—Address space extension
- G06F12/0623—Address space extension for memory modules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
- G06F12/1081—Address translation for peripheral access to main memory, e.g. direct memory access [DMA]
Abstract
(57)【要約】本公報は電子出願前の出願データであるため要約のデータは記録されません。 (57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】 コンピュータ・アドレス変換装置を備えたコンピュータ・システム 苫り泗り丑り舅【ごΣjλシλコニ≦ダーーーレ フ ァ レニン−入水出願は 、1987年3月3日付出願の米国特許出願第020964号の一部継続出願で ある。[Detailed description of the invention] Computer system with computer address translation device Tomari-sanri-Oshiri-in-in-law [Σλshiλkoni≦Dah-le-fa-renin- Application for admission to the water is , a continuation-in-part of U.S. Patent Application No. 020964, filed March 3, 1987. be.
先吐立且1 データ処理装置、即ちコンピュータの設計者は、これまで、例えば装置の物理的 アドレス空間の大きさを選択するに際しては設計−Eの妥協を甘受せねばならな かった。大きなアドレス空間を選択すれば装置のコストが増大してしまう、物理 的な配線や、駆動回路、コネクタ、並びにそれらの関連部品などの点数が必然的 に増加するばかりではなく、アドレス・データのサイズとこのアドレス・データ のために必要とされる格納容量もまた、必然的に増大するのである0例を挙げれ ば、32ビツトのアドレス・データは16ビツトのアドレス・データの2倍の格 納スペースを必要とする。しかしながら、装置のアドレス空間が余りにも限られ たものであったならば、高速アクセスと大容量メモリとを必要とする複雑な動作 を行なう際に、装置のパフォーマンスが悪化することになる。First discharge and 1 Designers of data processing equipment, or computers, have traditionally Design-E compromises must be accepted when choosing the size of the address space. won. Choosing a large address space increases the cost of the device; Inevitably, the number of wiring, drive circuits, connectors, and related parts is required. The size of the address data and this address data The storage capacity required for this will also inevitably increase. For example, 32-bit address data is twice as large as 16-bit address data. Requires storage space. However, the address space of the device is too limited. complex operations that require fast access and large amounts of memory. When doing so, the performance of the device will deteriorate.
この問題に対する1つの解決法として、メモリのマツピング、即ちページングを 行なうという方法がある。One solution to this problem is memory mapping, or paging. There is a way to do it.
この方法を用いた構成においては、マツピング・メモリ(ベージング・メモリと も言う)に、アドレスビットのうちの、拡張アドレス空間のための上位数桁のビ ットが格納される。−例を挙げれば、1メガバイトのメモリをアドレスすること のできる、20ビツトのアドレス・バスを備えた装置であれば、追加の4ビット 分のアドレッシング機能を提供するマツピング・メモリと共に使用することによ って、16メガバイトのアドレス空間に対応することができる。マツピング・メ モリにアクセスしてそこに格納されている上位4桁のアドレス・ビットを選択的 に変更できるようにするために、コンピュータのオリジナル・メモリないしはI 10アドレス空間の中の、あるロケーションがリザーブされる。一度それらのビ ットが選定されてマツピング・メモリの内部に書き込まれたならば、コンピュー タはそのオリジナル・アドレス・ラインを用いて、このマツピング・メモリ内に 格納されているそれらの上位アドレス・ビットによって規定される拡張メモリの ページ(即ち部分集合)の、その内部のいずれのロケーションでも、アドレスす ることができる。In a configuration using this method, mapping memory (also known as basing memory) ), the upper few digits of the address bits for the extended address space are The cut is stored. - For example, addressing 1 megabyte of memory For devices with a 20-bit address bus capable of When used in conjunction with a mapping memory that provides multiple addressing capabilities, Therefore, it can support an address space of 16 megabytes. Matuping Me memory and selectively select the upper 4 address bits stored there. The computer's original memory or I Certain locations within the 10 address space are reserved. Once those bits Once the cut has been selected and written into mapping memory, the computer The data is stored in this mapping memory using its original address line. of expanded memory defined by their upper address bits stored Addressing any location within a page (i.e., a subset) can be done.
ページをより細かく規定するために、コンピュータのオリジナル・アドレス・ビ ットとオーバーラツプする更に下位のアドレス・ビットまでを、併せてマツピン グ・メモリ内に格納させることも可能である。典型的な一例としては、オーバー ラツプするマツパ・アドレス・ビット(mapper address bit )とコンピュータのアドレス・ビットとが互いに足し合わされ、それによって、 拡張メモリ空間の最終的なアドレスが得られるようになっている。To specify the page in more detail, use the computer's original address The lower address bits that overlap with the address bits are also pinned. It is also possible to store the data in a program memory. A typical example is over mapper address bit ) and the computer's address bits are added together, so that The final address of the expanded memory space is now available.
広く使用されているインテル(IN置)の8088型、並びに8086型の両マ イクロプロセッサは、基本的にはこの方式を採用している。20ビツトで出力さ れる各々のアドレスは、16ビツトのオフセット・アドレスと、このオフセット ・アドレスに対して相対的に4ビツト左ヘシフトされた16ビツトのセグメント ・アドレスとの和である。これによって、大部分の命令が、16ビツトのオフセ ット・アドレスを用いて、1つのセグメントの内部にある64にのロケーション のうちの1つを参照することができるようになっている。また更に、追加の16 ビツトのセグメント・アドレスを提供することによってセグメントの境界を変更 し、それによってアドレス空間の全体を、必要が生じたときにはいつでもlメガ バイトにまで増大することができるようになっている。Both the widely used Intel (IN) 8088 type and 8086 type are supported. Microprocessors basically use this method. Output in 20 bits Each address entered consists of a 16-bit offset address and a 16-bit offset address. ・16-bit segment shifted 4 bits to the left relative to the address ・It is the sum with the address. This allows most instructions to use a 16-bit offset. 64 locations within one segment using the set address You can now refer to one of them. Furthermore, an additional 16 Modify segment boundaries by providing a segment address of bits , thereby making the entire address space available to lmega whenever the need arises. It is now possible to increase the size to a part-time job.
より新しいインテルの80286型マイクロプロセツサは、インテルの8086 型マイクロプロセツサをエミュレートするリアル・モードと、アドレス空間を1 メガバイトから16メガバイトへ拡張するプロテクト・モード(protect ed mode)とのいずれのモードでも作動する。メモリ・チップの価格の低 下とソフトウェアの複雑化とによって、より大きなメモリ容量を使用することが 特表平2−5002:24 (8) 望まれているが、より大きなメモリ容量を使用することのできるプロテクト・モ ードは先行プロセッサとの間の互換性を持っていない、それゆえソフトウェアの 製作者は主としてリアル・モード用のソフトウェアを製作しており、それは先行 マシン(コンピュータ)との間の互換性を保つことによって、その製品のソフト ウェアが獲得できる市場規模をできる限り大きくしたいためである。The newer Intel 80286 microprocessor is the Intel 8086 real mode that emulates a type microprocessor and an address space of 1 Protect mode that expands from MB to 16 MB It operates in either mode (ed mode). Low price of memory chips Higher memory capacity may be used due to lower and software complexity. Special table Hei 2-5002:24 (8) Although desired, a protected module that can use a larger amount of memory the software is not compatible with the previous processor, therefore The manufacturer mainly produces software for real mode, and it is The software of the product is maintained by maintaining compatibility with the machine (computer). This is because they want to increase the size of the market that their clothing can capture as much as possible.
拡張されたメモリ空間は、多くの場合、例えばメモリを用いてディスクドライブ をシミュレートするRAMディスク等の、特別な用途にのみ使用されている。Expanded memory space is often achieved by using e.g. memory disk drives It is used only for special purposes, such as a RAM disk to simulate
本発明のアドレス変換装置は、メモリ・アクセス変換機能を提供し、この変換機 能は、リアル・モードないしリアル・モードと互換性の有るモードで動作しつつ 、拡張メモリ空間に窓(ウィンドウ)を設定するものである。この装置は、ハー ドウェア割込みの処理との完全な互換性を保ちつつ、メモリ・ワードのアクセス のための機能についてばかりか、更にはダイレクト・メモリ・アクセスのための 機能についても、拡張メモリ空間の機能を完全に利用可能とするものである。The address translation device of the present invention provides a memory access translation function, and the address translation device of the present invention provides a memory access translation function. functions are operating in real mode or a mode compatible with real mode. , which sets a window in the expanded memory space. This device is memory word access while remaining fully compatible with hardware interrupt handling. It is not only about functions for , but also for direct memory access. Regarding functionality, it is possible to fully utilize the functions of the extended memory space.
l1立1j 本発明に係るコンピュータ・システムは、CPUと、バス・コントローラと、■ 10コントローラと、コンピュータ・アドレス変換装置と、例えばDMAコント ローラや割込みコントローラ等のI10デバイスとを、含んでいる。適合性バス ・ネットワーク・システムが、コンピュータ・システムの内部で変換装置の切換 操作を行なっている。l1 1j A computer system according to the present invention includes a CPU, a bus controller, and 10 controller, a computer address translation device, and a DMA controller, for example. I10 devices such as rollers and interrupt controllers. suitability bus ・The network system switches the conversion device inside the computer system. operation is being performed.
この変換装置は、マツパRA M (mapper RAM) 、ページ・レジ スタ、及びコントロール・レジスタを含み、このコントロール・レジスタは、変 換装置とこのシステムの種々の作動モードとを選択的にイネーブルする。41個 のレジスタから成るページ・レジスタが、各DMA転送チャネルの設定可能な1 6K(キロバイト)ブロックのための、選択的なページ・アドレッシング機能を 提供している。This conversion device is Matsupa RA M (mapper RAM), page register This control register contains a selectively enabling switching devices and various modes of operation of the system. 41 pieces A page register consisting of configurable one register for each DMA transfer channel. Selective page addressing capability for 6K (kilobyte) blocks providing.
の な書 以下に提示する詳細な説明を添付図面と併せてツ照することによって1本発明を 更に明瞭に理解することができよう、尚、添付図面において、 第1図は、コンピュータ・アドレス変換装置を備えた本発明に係るコンピュータ ・システムのブロック図、第2図は、第1図に示されたコンピュータ・システム に用いられている、コンピュータ・アドレス変換装置のブロック図、 第3図は、第2図に示されたコンピュータ・アドレス変換装置の出力部を、更に 詳細に示すブロック図、第4図は、第2図に示されたコンピュータ・アドレス変 換装置に用いられている、マツパRAMのブロック図、 第5図は、第2図に示されたコンピュータ・アドレス・コンディショニング・シ ステムの内部の、出力アドレス信号を発生するためのロジック回路のブロック図 、そして、 第6図ないし第20図は、前記コンピュータ・アドレス変換装置の具体的な構成 のブロック図である。no na calligraphy The present invention can be understood by reading the detailed description presented below in conjunction with the accompanying drawings. It may be understood more clearly that in the accompanying drawings: FIG. 1 shows a computer according to the present invention equipped with a computer address translation device. ・The system block diagram, Figure 2, is the computer system shown in Figure 1. A block diagram of a computer address translation device used in FIG. 3 further shows the output section of the computer address translation device shown in FIG. A detailed block diagram, FIG. 4, shows the computer address changer shown in FIG. A block diagram of Matupa RAM used in the conversion device, FIG. 5 shows the computer address conditioning system shown in FIG. Block diagram of the logic circuit inside the stem for generating output address signals ,and, FIG. 6 to FIG. 20 show the specific configuration of the computer address translation device. FIG.
1紋立量j 第1図に関し、本発明に係るコンピュータ・システム10は、広く使用されてい るいI B M (InternationalBusiness Machi nes、Incorporated)製のPCATコンピュータ・システムとの 互換性を持つように構成されている。このコンピュータ・システム10は、イン テル(IN置)製の、80286型のCPU12並びに80287型の数値演算 用コプロセッサ14、それにクロック・ジェネレータ/バス・コントローラ16 と、I10コントローラ18とを含んでいる。1 crest amount j Referring to FIG. 1, a computer system 10 according to the present invention Rui I B M (International Business Machi nes, Incorporated) PCAT computer system. Configured for compatibility. This computer system 10 has an Numerical calculation of 80286 type CPU12 and 80287 type manufactured by Tel (IN) coprocessor 14 and clock generator/bus controller 16 and an I10 controller 18.
クロック・ジェネレータ/バス・コントローラ16は公称8メガヘルツのクロッ ク信号を送出すると共に、このシステム10内のバス転送をイネーブルするため の、多くのゲーティング信号を送出する。このシステム10における、タイミン グ並びに制御のための具体的な装置や手段は従来の一般的なものである。それゆ え判り易いように第1図には、重要なデータ信号経路並びにアドレス信号経路だ けが示されているが、当然ながら、必要な制御信号とゲーティング信号とが一般 的な方式で使われており、それによってシステムの作動が適切に維持されている 。Clock generator/bus controller 16 has a nominal 8 MHz clock to enable bus transfers within this system 10. It sends out many gating signals. In this system 10, the timing The specific devices and means for monitoring and control are conventional and common. That's it For easy understanding, Figure 1 shows important data signal paths and address signal paths. However, it should be understood that the necessary control and gating signals are generally are used in a consistent manner to maintain proper system operation. .
I10コントローラ18についても同様に、詳細な回路とそれに付随する制御信 号並びにゲーティング信号は図示されていない、それらは、適切な入力データ転 送と出力データ転送とが行なわれるように、一般的な方式で実施すれば良い、I 10コントローラ18は、一般的なIBM(7)PCATページ・レジスタを含 んでいる。Similarly, the detailed circuit and associated control signals for the I10 controller 18 are explained. signals and gating signals are not shown; they must be used for appropriate input data transfer. It may be implemented in a general manner so that the transmission and output data transfer are performed. 10 controller 18 includes a generic IBM(7) PCAT page register. I'm reading.
インテル80286型CPU12は、リアル、モードとプロテクト・モード(p rotected abode)とのいずれでも作動することができる。リアル ・モードにおいては、CPU 12はインテル8086型CP IJをエミュレ ートし、また1メガバイトのアドレス空間を持ち、そのうちの640キロバイト から上は、ROM BiO2,ビデオ・バッファ、及びその他のシステム機能の ためにリザーブされている。The Intel 80286 type CPU 12 has real mode and protected mode (p It can operate either protected or abode. real - In mode, the CPU 12 emulates the Intel 8086 type CP IJ. It also has 1 megabyte of address space, of which 640 kilobytes From above are the ROM BiO2, video buffer, and other system functions. reserved for.
プロチクI・・モードにおいては、アドレス空間が16メガバイトにまで増大さ れるが、CPU12は最早8086型やそれに類似したCPUのために作成され たソフトウェアの大部分を実行することができない。従ってこれまでは、例えば 実際のディスクドライブをRAMの速度でシミュレートするRAMディスク等の 、数少ない特別の用途を除いては、この拡張されたメモリ空間を利用することは 容易でなかった、 それゆえこのシステムlOはコンピュータ・アドレス変換装置20を含んでおり 、この変換装置20は、lメガバイトのアドレス空間内のシステム・アドレスを 受け取り、それらのアドレスを16キロバイトのブロック毎に選択的に変換する ことによって、16メガバイトのアドレス空間とするものである。この変換は実 行中のプログラムに対するデータ独立性を有しており、従って旧型のCPLIの ために書かれたソフトウェアに対する互換性を保っている。この変換装置20は 、16にブロック内におけるD M A (direct me+mory a ddress )動作を選択的に変換する機能を持つと共に、ノンマスカブル・ インタラブド(NM I )ないしマスカブル・インタラブドの応答ルーチンを 実行する際にはメモリ・マツピングを選択的に禁止する。電源投入時には変換装 @20はクローン・モード(alone mode)で作動し、このクローン・ モードにおいては80286型CPU12の一般的なリアル・モードの作動が行 なわれる。しかしながら一般的なCPUのI10動作を利用してデータを所定の ボート・ロケーションに書込むことによって、この変換装置203はマツピング ・モードで作動することが可能となり、このマツピング・モードにおいては、C PLJ12のメモリ・アクセスとDMAアクセスとの双方が、16にブロック毎 に、1メガバイトのメモリ空間内のあるアドレスから、16に毎に境界を定めら れた16メガバイトのメモリ空間内のあるアドレスへと、変換される。In Prochiku I mode, the address space increases to 16 MB. However, CPU12 is no longer created for the 8086 type or similar CPUs. Unable to run most of the installed software. Therefore, until now, for example RAM disks etc. that simulate real disk drives at RAM speeds. , except for a few special uses, this expanded memory space cannot be used. It wasn't easy, This system IO therefore includes a computer address translation device 20. , this translation device 20 converts system addresses within an l megabyte address space. and selectively translate their addresses in blocks of 16 kilobytes. This results in an address space of 16 megabytes. This conversion is actually It has data independence for the running program, and therefore maintains compatibility with software written for This conversion device 20 , 16, DM A (direct me+mory a) in the block ddress) has the function of selectively converting the operation, and also has the function of non-maskable Interwoven (NM I ) or maskable interconnected response routine Selectively disables memory mapping during execution. When the power is turned on, the converter @20 operates in clone mode, and this clone In this mode, the general real mode operation of the 80286 CPU12 is performed. be called. However, using the I10 operation of a general CPU, data can be stored in a predetermined manner. By writing to the boat location, this converter 203 maps ・In this mapping mode, C Both PLJ12 memory accesses and DMA accesses occur every 16 blocks. Then, from a certain address in a 1 megabyte memory space, every 16th boundary is defined. 16 megabytes of memory space.
最初に、このシステム10のデータ経路について説明すると、16ビツトのCP tJデータ・バス26がゲート28を介して2つのシステム・データ・バスに 接続されており、即ち、上位8ビツトのシステム・データ・バス(SD8〜5D 15)30と、下位8ビツトのシステム・データ・バス(SDO〜5r)7)3 2とに接続されている。ゲート34が、これらの上位データ・バス30と下位デ ータ・バス32との間で選択的なデータの転送を行なえるようにしている。First, to explain the data path of this system 10, the 16-bit CP tJ data bus 26 into two system data buses via gate 28 That is, the upper 8 bits of the system data bus (SD8~5D 15) 30 and the lower 8 bits of the system data bus (SDO~5r) 7) 3 It is connected to 2. A gate 34 connects these upper data buses 30 and lower data buses. It is possible to selectively transfer data to and from the data bus 32.
ゲート38が、システム・データ・バス30と32を対応するメモリ・データ・ バス(MD8〜Ml) l 5)40とメモリ・データ・バス(MDO〜MD7 )42に接続している。これらのメモリ・デ・−夕・バス40と42は更にデー タ格納表@44に接続されており、このデータ格納表N44には、0〜640に のメモリ空間内のランダム・アクセス・メモリと、BIOSROMと、拡張され たIM−16Mのメモリ空間内の拡張RAMとを含んでおり、それらは一般的な 方式で組み込まれている。Gate 38 connects system data buses 30 and 32 to corresponding memory data buses. bus (MD8 to Ml) l 5) 40 and memory data bus (MDO to MD7 ) 42. These memory data buses 40 and 42 also carry data. data storage table @44, and this data storage table N44 contains data from 0 to 640. Random access memory in the memory space of and expanded RAM within the IM-16M's memory space. It is incorporated in the method.
システム・データ・バス32は更に、ゲート46を介して局部I10バス(XD O〜XD7)48に接続すしており、この局部I10バス48は、DMAコント ローラ50をはじめとする、このシステム10の種々のI10デバイスに接続さ れている0局部I10バス48に接続されているその他のデバイスには、パラレ ル/シリアル・ボート52.7段階の優先レベルのインタラブド機能とそれらに 加えて1つのノンマスカブル・インクラブドの機能を有する割込みコントローラ 54、それにキーボードコントローラ56がある。その他の、例えばタイマ回路 やリアル・タイム・クロック回路等の回路も、この局部I10バス48に接続す ることができる。The system data bus 32 is further connected to the local I10 bus (XD This local I10 bus 48 is connected to the DMA control bus 48. Connected to various I10 devices of this system 10, including roller 50. Other devices connected to the local I10 bus 48 that are 52. Interconnected functions with 7 priority levels and their Interrupt controller with one additional non-maskable included function 54, and a keyboard controller 56. Other, e.g. timer circuits Circuits such as real time clock circuits and other circuits can also be connected to this local I10 bus 48. can be done.
CP +Jアドレス・バス(AONA23)60が変換装置20に接続されてお り、その中の下位ビットのための信号線(AO−A13)は更にゲート62に接 続されている。これらの下位ビットは、16にブロックの内部のアドレスを定め ている。アドレス変換が16にブロック毎に行なわれるため、これらの下位ビッ トはアドレス変換を行なうには不要であり、それゆえそれらのビットは直接ゲー ト62に接続することができる。The CP+J address bus (AONA23) 60 is connected to the conversion device 20. The signal line (AO-A13) for the lower bit therein is further connected to the gate 62. It is continued. These lower bits define the internal address of the block in 16 ing. Since address translation is performed for every 16 blocks, these lower bits bits are not needed to perform the address translation, so those bits are directly gated. It can be connected to port 62.
変換装置20は、アドレスの変換された部分を変換アドレス・バス(TA14〜 TA23)64へ送出し、この変換アドレス・バス64はゲート62とゲート6 6とに接続されている。ゲート66は、局部アドレス・バス(LA17〜LA2 3)68との間の伝達の機能を果たしており、この局部アドレスバス68は、適 切なI10システム拡張ボードとの間の伝達の機能を果たしている。Translation device 20 transfers the translated portion of the address to a translation address bus (TA14 to TA23) 64, this translated address bus 64 connects gates 62 and 6 6. Gate 66 connects the local address bus (LA17-LA2 3) 68, and this local address bus 68 is It functions as a communication between the I10 system expansion board and the necessary I10 system expansion board.
ゲート62は、システム・アドレス・バス(SAO〜5A19)74との間の伝 達の機能を果たしており、このシステム・アドレス・バス74は更に、I10ボ ードに接続されると共に、ゲート70を介してDMAアドレス・バス(XAON XA16)72にも接続されている。信号SAOは、バス・コントローラ16を 介してCPUバス60の信号AOから伝達されている信号であり、そのためこの 信号を調節して、システム・データ・バスの上位ビット部分30と下位ビット部 分32との間のデータ・バイトのスワツピングに適合することができる。Gate 62 provides communication to and from system address bus (SAO-5A19) 74. This system address bus 74 also serves as the I10 The DMA address bus (XAON It is also connected to XA16)72. Signal SAO causes bus controller 16 to This signal is transmitted from the signal AO of the CPU bus 60 through the Conditioning signals to connect the upper bit portion 30 and the lower bit portion of the system data bus It can accommodate swapping of data bytes between 32 minutes and 32 minutes.
アドレス・ビットXAl4〜XAl6に対しては特別の扱いが必要とされ、なぜ ならば、DMA転送動作には2つのタイプが存在するからである。DMAチャネ ル0、l、2及び3は、64にバイトのデータをアクセスすることのできるバイ ト・チャネルである。従ってアドレス・ビット14と15は、この64にの空間 の内部の4つの16にブロックのうちから1つのブロックを指定するビットであ る。DMAチャネル4.5及び6はワード・チャネル(2バイト・チャネル)で あり、128にバイトのデータをアクセスすることができる。従ってアドレス・ ビット14.15及び16は、このアクセス可能なアドレス空間の内部の8つの 16にブロックのうちから、1つのブロックを指定するビットである。Special treatment is required for address bits XAl4-XAl6 and why This is because there are two types of DMA transfer operations. DMA channel 0, l, 2 and 3 are bytes that can access 64 bytes of data. channel. Therefore address bits 14 and 15 occupy this 64 space. This is a bit that specifies one block from among the four 16 blocks inside. Ru. DMA channels 4.5 and 6 are word channels (2-byte channels). 128 bytes of data can be accessed. Therefore, the address Bits 14, 15 and 16 represent the eight internal addresses of this accessible address space. This bit specifies one block among the 16 blocks.
ラッチ回路76は、局部I10データバス48からデータを受取って局部I10 アドレスバス72へ送出する。ラッチ回路76は更に、データバス48をDMA 拡張バス(DX14〜DX16)8oに接続し、コノDMA拡張バス80はDM Aアドレス・データ・ビットDX l 4〜DX 16を変換装f!i20へ伝 達する。ゲート82が、アドレス・ビットDx14〜DX16をCPUのアドレ ス@A 14〜A1Bへ選択的−二転送して変換装置20へ入力させる。更にゲ ート84が、変換されたアドレス信号TA14〜TA16を、DMAアドレスと して使用するために、バス86上の信号経路XAl4〜XAl6へ落して戻して いる。Latch circuit 76 receives data from local I10 data bus 48 to It is sent to the address bus 72. The latch circuit 76 further connects the data bus 48 to a DMA Connect to the expansion bus (DX14 to DX16) 8o, and the Kono DMA expansion bus 80 is connected to the DM Convert A address data bits DXl 4 to DX16 f! Transfer to i20 reach Gate 82 sets address bits Dx14-DX16 to the CPU address. The data is selectively transferred to A14 to A1B and input into the conversion device 20. Even more gay The converter 84 converts the converted address signals TA14 to TA16 into DMA addresses. for use by dropping it back onto the signal path XAl4-XAl6 on bus There is.
クローン・モードにおいては、総てのアドレスが変換装置20の中を変換される ことなく通過し、従ってシステムは従来の80286処理システムとして作動す る。In clone mode, all addresses are translated in translation device 20. therefore, the system operates as a traditional 80286 processing system. Ru.
しかしながら、一旦、変換装置20がマツピング・モードへ切換えられたならば 、メモリ・アドレスは16にブロック毎に選択的に変換を受け、16メガバイト のメモリ空間の中のいずれかのロケーションへと変換される。However, once converter 20 is switched to mapping mode, , memory addresses are selectively translated in blocks of 16 to 16 megabytes. is converted to any location in the memory space of .
最初の1メガバイトの内部の各々の16にブロックを、個々に異なったロケーシ ョンへ変換することができる。Each of the 16 blocks within the first 1 megabyte is placed in a different location. can be converted to a version.
cpuがプロテクト・モード(protected +mode)で動作してお り、しかも1メガバイトより上のCPUアドレスを送出している場合には、変換 は自動的にディスエーブルされる。CPUが割込み応答ルーチンを実行している ときには、変換装置がマツピングを選択的にディスエーブルするように、この変 換装置を制御することもできる0個々のD M Aチャネル毎に、各々の16に ブロックのための個別のページングの機能が備えられている。If the CPU is operating in protected mode (protected+mode). and if the CPU address above 1 megabyte is being sent, the conversion is automatically disabled. CPU is executing interrupt response routine Sometimes this change is done so that the converter selectively disables mapping. 0 for each individual DM A channel, for each 16 Separate paging functionality for blocks is provided.
個々のDMAチャネル毎に、各々の16にブロックのための個別のページングの 機能を選択的にイネーブルまたはディスエーブルすることもできる。Separate paging for each 16-block per individual DMA channel Features may also be selectively enabled or disabled.
CPUがクローン・モード(無変換モード)でメモリのアクセスを行なっている ときには、CPtJアドレス・バス60が、ビットAONA13をゲート62を 介してシステムアドレスバス74へ、そして更にデータ格納装置44へと伝達し ている。上位アドレスビットAI4〜A24は、変換装置t20の中を変換を加 えられることなく通過している。これらの上位アドレス・ビットは変換アドレス ・バス64へ出力され、ゲート62とシステム・アドレス・バス74とを介して データ格納装置44へ伝達されている。マツパ・モードがイネーブルされている ときには、アドレス・データの経路は、変換装置20がアドレスバス信号AI4 〜A24を選択的に変換することを除けば、基本的にこれと同一である。The CPU is accessing memory in clone mode (no conversion mode) At times, CPtJ address bus 60 sends bit AONA13 to gate 62. to system address bus 74 and further to data storage device 44. ing. The upper address bits AI4 to A24 are used to perform the conversion in the converter t20. It passes without being affected. These upper address bits are the translation address Output to bus 64 and via gate 62 and system address bus 74 The information is transmitted to the data storage device 44. Matsupa mode is enabled In some cases, the address/data path is such that the translation device 20 uses the address bus signal AI4. This is basically the same except that ~A24 is selectively converted.
システム制御がDMAコントローラ50に渡されると、I10コ’、/トT:J −ラ18が信号(−XACK)を発生し%DMAアドレスを局部I10バス(X AO〜XA16)72から、ゲート70を介してシステム・アドレス・バス74 へ送出する。ビットDX14〜DX16はバス80を介して直接、変換装置2o へ入力され、一方ビットAXI〜AX13は、ゲート70を介してシステム・ア ドレス・バス74へ送出される0選択的に変換されたアドレス・ビット14〜1 6は、バス(XA 14〜XA 16) 86上へ出力され、コノバス86は対 応する信号XAl4〜XAl6をバス72上へ伝達する。更にこのアドレス・デ ータは、ゲート70とシステム・アドレス・バス74とを介して、データ格納装 置44へ伝達される。When system control is passed to the DMA controller 50, - bus 18 generates a signal (-XACK) and sends the %DMA address to the local I10 bus (-XACK). AO-XA16) 72 to system address bus 74 via gate 70. Send to. Bits DX14 to DX16 are directly connected via bus 80 to conversion device 2o. while bits AXI to AX13 are input to the system address via gate 70. 0 selectively translated address bits 14-1 sent to address bus 74 6 is output onto the bus (XA 14 to XA 16) 86, and the cono bus 86 is The corresponding signals XAl4-XAl6 are transmitted onto bus 72. Furthermore, this address data The data is connected to the data storage device via gate 70 and system address bus 74. The information is transmitted to the station 44.
割込みが発生したならば割込みコントローラ54が、割込み応答ベクタのアドレ スを指定するベクタ・タイプをDMAデータ・バスXDONxD7上へ送出する 。When an interrupt occurs, the interrupt controller 54 sets the address of the interrupt response vector. sends a vector type specifying the address onto the DMA data bus XDONxD7 .
このベクタ・タイプは送出されたならば変換装置20へ伝達されてそこに格納さ れる。このベクタ・タイプは、ゲート46、システムデータバス32、及びCP Uデータ・バス26を介して更にCPU l 2へも供給される。This vector type, if sent, is communicated to the converter 20 and stored there. It will be done. This vector type supports gate 46, system data bus 32, and CP It is also supplied via the U data bus 26 to the CPU l2.
CPU12は、割込み要求に応答するときには、このベクタ・タイプを左へ2ビ ツトだけポジションをシフトしたものを、アドレスとしてCPUアドレス・バス 6o上へ送出する0割込みベクタ・タイプのアドレスの変換の禁止が予め命令さ れている場合には、このバス6oからの入力が予め変換装置20に格納されてい たベクタ・タイプと一致したなら、そのアドレスの変換は禁止される。これによ って、アドレスの変換がイネーブルされた後であっても、割込みベクタを伝統的 に用いられている物理的メモリ空間の最初の1キロバイトの中のロケーションに 、限定しておくことが可能となっている。When responding to an interrupt request, CPU 12 moves this vector type two bits to the left. The CPU address bus uses the address with the position shifted by The prohibition of conversion of 0 interrupt vector type addresses sent on 6o is pre-instructed. In this case, the input from this bus 6o is stored in the conversion device 20 in advance. If the specified vector type matches, translation of that address is prohibited. This is it Therefore, even after address translation is enabled, interrupt vectors cannot be to a location within the first kilobyte of physical memory space used for , it is possible to keep it limited.
次に第2図及び第3図に関し、コンピュータ・アドレス変換装置20は、入力デ ータ・バス102と出力データ・バス104とを介してデータを受取り且つ出力 しており、それらのバスはデータ・バス48上の信号XDO〜XD7に対して3 状態語合をする。第2図には重要な信号経路のみが示されていることに注意され たい、一般的なエンコーディング、デコーディング、データ転送のためのゲーテ ィング、それにレジスタとフリップフロップとメモリセルのローディングが、シ ーケンス/コントロール・ロジック回路106の内部の一般的な回路で発生され る信号によって実行されている。それらの一般的な信号と回路とは図示してない が、それば、それらが図面を不必要に煩雑にするばかりで、本発明の理解に資す るものではないからである。Next, with regard to FIGS. 2 and 3, the computer address translation device 20 converts the input data into receives and outputs data via a data bus 102 and an output data bus 104; and these buses have three Make a state statement. Note that only the critical signal paths are shown in Figure 2. Goethe for general encoding, decoding, and data transfer loading of registers, flip-flops, and memory cells. generated in general circuitry inside the control/control logic circuit 106. It is executed by the signal. Those common signals and circuits are not shown. However, if that were the case, they would only make the drawings unnecessarily complicated and would not contribute to the understanding of the present invention. This is because it is not something that exists.
リード/ライト・コントロール・レジスタ108が、入力データ・バス102と 出力データ・バス104との間に接続されており、このコントロール・レジスタ 108は、変換回路20を制御するマスク・コントロールを提供するデータを格 納している。このコントロール・レジスタ108は、I1010内の4101− 1のボートに置かれている。ビット5は常に「0」として読み取られる。ビット 5に「l」と書き込んでおけば、それは、割込み要求に対する応答の実行中に割 込みベクタの動作を検出する機能をリセットする効果がある。ビット6と7は使 用されていない。Read/write control register 108 communicates with input data bus 102. is connected between the output data bus 104 and this control register. 108 stores data that provides mask control for controlling the conversion circuit 20. I have paid. This control register 108 is 4101-4101 in I1010. It is placed on the 1st boat. Bit 5 is always read as '0'. bit If you write "l" in 5, it will be interrupted while the response to the interrupt request is being executed. This has the effect of resetting the function that detects the operation of embedded vectors. Bits 6 and 7 are unused. Not used.
ビット0は、変換装置によるアドレス変換動作を選択的にイネーブルまたはディ スエーブルするビットである。「0」が変換動作をディスゴープルし、「1」が 変換動作をイネーブルする。ビットlは、マツパRAM112の書込みプロテク ト・ビットである。「O」がこのRAMを書込みに対してプロテクトし、rlJ が書込みを可能にする。ビット2が「0」であれば、これは割込みのリベクタリ ング(変換動作のイネ−ブリング)をディスエーブルし、一方「1」は割込みリ ベルタリングをイネーブルして、これによって、割込みアドレスがその他のアド レスと同様な変換を受けることがないようにしている。ビット3が「0」であれ ば、マツパRAM112の64箇所の格納位置のうちの下位の組に対して活性化 、即ちアドレスが行なわれ、rlJであればこのマツパRAM112の64箇所 のアドレスのうちの上位の組に対し活性化が行なわれる。Bit 0 selectively enables or disables address translation operations by the translator. This is a bit to be disabled. ``0'' disgo pulls the conversion operation, ``1'' Enable conversion operation. Bit l is write protection for Matupa RAM 112. It is a bit. 'O' protects this RAM from writing and rlJ allows writing. If bit 2 is '0', this is the interrupt revector. (enabling conversion operation), while '1' disables interrupt resetting. Enable belting, which allows the interrupt address to be I am trying to prevent it from being converted in the same way as the response. If bit 3 is “0” For example, activation is performed for the lower set of the 64 storage locations in Matupa RAM 112. , that is, the address is performed, and if it is rlJ, 64 locations of this Matupa RAM 112 Activation is performed for the upper set of addresses.
ビット4は、rOJにセットされたならば、データ格納装置44の1メガバイト より上のアドレスに対するリード/ライト・アクセスをイネーブルする。「l」 にセットされたならば、システム・メモリのり−ド/ライト信号が格納装置44 から遮断され、この信号は更に、バス60上のアドレス信号A20〜A23がr olでなければI10ボードからも遮断される。ハードウェア・リセット回路が 、以上に説明したコントロール・レジスタをOOHにセットする。Bit 4, if set in rOJ, 1 megabyte of data storage 44 Enable read/write access to higher addresses. "l" If set to , the system memory read/write signal is Address signals A20-A23 on bus 60 are If it is not ol, it is also cut off from the I10 board. Hardware reset circuit , sets the control register described above to OOH.
CPtJ 12は、割込みコントローラ54からの割込み要求に応答するときに は、信号線上に割込み肯定応答信号I NTAのパルスを2つ送出する。2つ目 のパルスが送出されたときに、割込みコントローラ54がベクタ・タイプを局部 l710データバス(XDO−XD7)48上へ送出する。このベクタ・タイプ は、データ格納装置44内の、割込み応答ルーチンへのベクタ・ボインティング が格納されているスターティング・ロケーションを指定している。CPU12は このベクタ・タイプを読み込み、更にそれをアドレス線2〜9へ転送することに よって、ベクタ・タイプによって指定されたメモリ・ロケーションから始まる4 バイトのベクタな読み出す。When the CPtJ 12 responds to an interrupt request from the interrupt controller 54, sends two pulses of the interrupt acknowledge signal INTA on the signal line. Second The interrupt controller 54 changes the vector type to 1710 data bus (XDO-XD7) 48. This vector type is a vector pointing to an interrupt response routine in data storage 44. Specifies the starting location where the . CPU12 is To read this vector type and further transfer it to address lines 2-9 Thus, starting from the memory location specified by the vector type, 4 Read a vector of bytes.
シーケンス/コントロール・ロジ・ツク回路の内部にあるベクタ・タイプ・ラッ チ・イネーブル・フリップ・フロップが、信号I NTAが送出されるたびにセ ットされる。更に8ビツトの割込みベクタ・タイプ・ラッチ回路110が、入力 データバス102の内容をラッチする。Vector type latch inside the sequence/control logic circuit. The channel enable flip-flop is set each time the signal INTA is sent. will be cut. Additionally, an 8-bit interrupt vector type latch circuit 110 is connected to the input Latch the contents of data bus 102.
信号I NTAの第2回目の送出時に5適切なベクタ・タイプ・データがデータ ・バスXDONXD7上に送出され、そして割込みベクタ・タイプ・ラッチ回路 110に格納される。5 Appropriate vector type data on the second transmission of signal I NTA - Sent on bus XDONXD7 and interrupt vector type latch circuit 110.
この後、CPU 12が何らかのアドレス信号を送出したときには、シーケンス /コントロール・ロジック回路106がそのアドレスを、ラッチされているベク タ・タイプの値と比較する。ベクタ・タイプ・ラッチ・イネーブル・フリップフ ロップがセットされた状態にあるときに、ラッチされているベクタ・タイプの値 と一致するアドレスをCPU12が送出した場合、或いは、CP IJ−から送 出されたアドレスが通常のNMI(ノンマスカブル・インタラブド)のベクタの 格納位置である8H−BHを示しているときに、入力信号としてNMIが入力し てきた場合には、常に、信号(VECCOMP)が発生さね、それによって、C PU12が割込みベクタをアクセスしていることが表示される。After this, when the CPU 12 sends out any address signal, the sequence /control logic circuit 106 transfers the address to the latched vector. data type value. Vector Type Latch Enable Flip The value of the vector type that is latched when the drop is in the set state. If the CPU 12 sends an address that matches the If the issued address is a normal NMI (non-maskable interwoven) vector, When the storage position 8H-BH is indicated, NMI is input as an input signal. The signal (VECCOMP) is generated whenever the C It is displayed that the PU 12 is accessing the interrupt vector.
信号(VECCOMP)が真の状態にあり、且つメモリの最初のIKバイトの内 部にあるロケーションがアクセスされており、且つコントロール・レジスタ10 8のビット2がrlJにセットされており、且つメモリ・アクセス・サイクルが 実行中であることを入力信号M/10が示している場合には、続いて信号(IN T MAP DIS)が送出されてマツピングがディスエーブルされる。この信 号(INT MAP Dis)が送出されているか、またはアドレス線A20− A23のうちの1本が活性化されていて1メガバイトより上のアドレスMAP) が発生されて、それによってマルチプレクサ116に対し、マツパRAM112 からのデータではなく入力アドレス・バス60からのデータを通過させるように との命令がなされる。信号(DISABLE MAP)は、コントロール・レジ スタ108のビット0がrOJにセットされているか、または入出力動作の実行 中であることを信号M/10が示している場合に、送出されている。signal (VECCOMP) is in the true state and within the first IK byte of memory. A location in control register 10 is being accessed and control register 10 Bit 2 of 8 is set in rlJ and the memory access cycle is If the input signal M/10 indicates that execution is in progress, then the signal (IN TMAPDIS) is sent to disable mapping. This belief (INT MAP Dis) is being sent or the address line A20- One of A23 is activated and the address MAP is above 1 megabyte) is generated, thereby causing the multiplexer 116 to to pass data from input address bus 60 rather than data from The command is given. The signal (DISABLE MAP) is the control register Bit 0 of register 108 is set to rOJ or an I/O operation is performed. signal M/10 indicates that it is in the middle.
以上のようにして、2つの部分からなるプロシージャヲ用いてcPU 12によ る割込みベクタの処理動作が検出されている。第1には、信号I NTAのパル スを2つ送出することによって、或いはノンマスカブル・インタラブド信号NM Iの送出によって、割込みイネーブル状態が確立されなければならない0次に、 CPU 12が、マスカブル・インクラブドに対してはラッチされているベクタ ・タイプ・データに対応するロケーションをアクセスし、また、ノンマスカブル ・インタラブドに対しては8H−BHの位置のうちの1つの位置をアクセスしな ければならない、インタラブド・イネーブル状態は、通常、割込み応答ルーチン によって、或いはコントロール・レジスタ108のビット5にrlJを書込んで インタラブド・イネーブル・フリップフロップをリセットすることによって、或 いはシステム・リセット信号によって、終了される。ノンマスカブル・インクラ ブドの検出は、信号NMIが送出されない状態になるとディスエーブルされる。As described above, you can use the two-part procedure to run the cPU 12. An interrupt vector processing operation is detected. First, the pulse of the signal INTA or by sending two non-maskable interconnected signals NM. The interrupt enable state must be established by sending I. CPU 12 uses latched vectors for maskable included ・Access the location corresponding to the type data, and also non-maskable ・Do not access one of the 8H-BH positions for interwovens. The inter-enabled state, which must be or by writing rlJ to bit 5 of control register 108. By resetting the interconnected enable flip-flop, or by a system reset signal. non-maskable inkla Detection of errors is disabled when signal NMI is not sent.
DMAモード・レジスタ114は、I10空間内の420Hのアドレスに置かれ た8ビツトのリード/ライト・レジスタである。ビットO〜6は、夫々DMAチ ャネルO〜3及び5〜7に対応している。所与のビットが「0」であればそれに 対応するDMAチャネルがクローン・モード(無変換)で動作することになり、 一方、rlJは拡張モード(変換可能)を指定し、拡張モードにおいては、DM Aページ・レジスタ118が上位10桁のアドレス・ビットXAl4〜XAl6 及びTA17〜TA23を送出し、拡張メモリ空間内の16にブロックのデータ をアクセスする。モード・レジスタ114は、ハードウェア・システム・リセッ ト信号に応動して00Hにリセットされる。DMA mode register 114 is located at address 420H in I10 space. This is an 8-bit read/write register. Bits 0 to 6 are each DMA channel. It corresponds to channels O-3 and 5-7. If the given bit is '0' then The corresponding DMA channel will operate in clone mode (no translation), On the other hand, rlJ specifies extended mode (convertible), and in extended mode, DM A page register 118 has upper 10 address bits XAl4 to XAl6 and sends TA17 to TA23, and stores block data in 16 in the extended memory space. access. Mode register 114 is a hardware system reset It is reset to 00H in response to the start signal.
D M Aページ・レジスタ118は、ページ・マルチプレクサ120を制御す る信号ACKがシーケンス/コントロール・ロジック回路106の内部において 発生されたなら、DMAアドレスを発生する動作を行なうようにされている。信 号ACKは入力信号(−XACK)の反転信号として発生され、この信号(−X ACK)は、DMA転送が行なわれており、且つキーボード56からの信号(− EN PG REG)が活性状態であるロー状態のときに、コントローラ16に よって発生されている。The DMA page register 118 controls the page multiplexer 120. The signal ACK is received inside the sequence/control logic circuit 106. If a DMA address is generated, an operation is performed to generate a DMA address. Faith The signal ACK is generated as an inverted signal of the input signal (-XACK). ACK) indicates that DMA transfer is being performed and the signal from the keyboard 56 (- When EN PG REG) is in an active low state, the controller 16 Therefore, it is occurring.
ラスト・インストラクション・アドレス・レジスタ(最新命令アドレス・レジス タ)124は、インストラクション取出し入力信号lN5Fに応動して、インス トラクション取出しのためのメモリ・アクセス信号の、各々の上位8ビツトAI 6〜A23を格納する。このレジスタ124はこの場合は使用されていないが、 その内容は450HのI10ボートにおいて読み取ることができる。Last instruction address register In response to the instruction retrieval input signal lN5F, the instruction retrieval input signal lN5F Upper 8 bits AI of each memory access signal for traction retrieval 6 to A23 are stored. This register 124 is not used in this case, but Its contents can be read on the 450H I10 boat.
DMAページ・レジスタは、実際には64X10のアドレッサブルRAMで構成 されているが、そのうち実際に使用されるのは41個のレジスタだけである。4 バイト巾のDMAチャネルO〜3の各々に対して4個づつのページ・レジスタを 備えるために16個のレジスタが使用されており、更に、3つのDMAワード・ チャネル5〜7の各々に対して8個づつのページ・レジスタヲ備えるために24 個のレジスタが使用されている。リフレッシュはクローン・モードを強制される ため、1つのチャネルを使用するだけである。The DMA page register actually consists of 64x10 addressable RAM. However, only 41 registers are actually used. 4 Four page registers for each byte-wide DMA channel O-3. Sixteen registers are used to store the data, and three DMA word 24 to provide eight page registers for each of channels 5-7. registers are used. Refresh is forced into clone mode Therefore, only one channel is used.
書込み可能なりMAページ・アドレス・ラッチ回路130は、I10空間内の4 30Hのアドレスボートに置かれており、ラッチしているアドレスをシーケンス /コントロール・ロジック回路106へ伝達する。マルチプレクサが、ページR AMのための6ビツトのアドレス入力をDMAページ・レジスタ・アドレス・ラ ッチ回路130とDMAアドレス・セレクション信号とのいずれかへ選択的に結 合させる。従ってページ・レジスタ118の41個のレジスタの読出しないし書 込みが実行されるときには、まず第1に、所望のレジスタのI10空間内のアド レスが430Hのボートに置かれているDMAページ・アドレス・ラッチ回路1 30に書き込まれることによって、この所望のレジスタが選択される。The write-enabled MA page address latch circuit 130 Sequence the latched address placed in the address boat of 30H /transmitted to control logic circuit 106. The multiplexer is page R. The 6-bit address input for AM is connected to the DMA page register address register. selectively connects to either the switch circuit 130 or the DMA address selection signal. Match. Therefore, reading or writing 41 registers of page register 118 When a write is performed, first of all the address in the I10 space of the desired register is DMA page address latch circuit 1 located on the boat with address 430H 30 selects this desired register.
次に、選択されたレジスタは、431Hのボートにおいてアドレス・ビットAI 6〜A23の読出しないし書込みが行なわれ、更に432Hのボートにおいてア ドレス・ビットA14とA15の読出しないし書込みが行なわれる(下位桁が先 である)、クローン・モードにおいては、これらのボートのアドレスは、IMB がそのPC−ATシステムにおいて採用している標準的なアドレスの割当てと一 致するように、割り当てられる。即ち、バイト・チャネルO〜3に対しては87 H183H181H182Hが、ワード・チャネル5〜7に対しては88H,8 9H,8AHが、そしてREFRESHに対しては8FHが割り当てられる。The selected register then receives address bit AI in the 431H boat. 6 to A23 are read or written, and furthermore, the address is read or written in boat 432H. Address bits A14 and A15 are read or written (lower digit first). ), in clone mode, the addresses of these boats are IMB This is consistent with the standard address assignment adopted by the company in its PC-AT system. Assigned accordingly. i.e. 87 for byte channels O-3 H183H181H182H is 88H, 8 for word channels 5-7 9H, 8AH, and 8FH for REFRESH.
ページ・レジスタ118の64X 10のメモリの内部の同一のロケーションが 、クローン・モードでも使用され、また、拡張モードにおいても第1番目のレジ スタ(第1番目の16にブロック)のために使用されていることに留意されたい 、しかしながら第2番目のDMAページ・レジスタのアドレスは拡張モードのた めのレジスタに割り当てられており、従って、システムI10動作によって、同 一の格納位置を2つの異なった方法でアクセスすることができる。それらのレジ スタ・アドレスはラッチ回路130に書き込まれ、それによってページ・レジス タ118の内部の適切なメモリ位置が選択される。Identical locations within 64 x 10 memories of page register 118 , is also used in clone mode, and is also used in extended mode as the first register. Note that it is used for stars (blocks in the 1st 16). , however, the address of the second DMA page register is Therefore, by system I10 operation, the same A storage location can be accessed in two different ways. those cash registers The star address is written to the latch circuit 130, which causes the page register An appropriate memory location within data storage 118 is selected.
拡張モードにおいては、チャネルOは4個のレジスタとして、07H% 17H ,27H,それに37Hにあるレジスタを使用している。チャネルlは、03H 113H%23H1それに33Hにある4個のレジスタを使用している。チャネ ル2は、OIH,IIH121H,それに31Hにある4個のレジスタを使用し ている。チャネル3は、02H,12H,22H1それに32Hにある4個のレ ジスタを使用している。チャネル5は、OBH,IBH,28H,38H,48 H。In extended mode, channel O has 4 registers, 07H% 17H , 27H, and 37H are used. Channel l is 03H It uses the four registers located in 113H%23H1 and 33H. channel Module 2 uses four registers located at OIH, IIH121H, and 31H. ing. Channel 3 has four records located at 02H, 12H, 22H1 and 32H. I am using jista. Channel 5 is OBH, IBH, 28H, 38H, 48 H.
5BH,6BH,それに78Hにある8個のレジスタを使用している。チャネル 6は、09H,19H。It uses eight registers located at 5BH, 6BH, and 78H. channel 6 is 09H, 19H.
29H,39H%49H,59H,69H,それに79Hにある8個のレジスタ を使用している。チャネル7は、OAH,IAH,2AH,3AH,4AH。8 registers located at 29H, 39H% 49H, 59H, 69H, and 79H are using. Channel 7 is OAH, IAH, 2AH, 3AH, 4AH.
5AH,6AH,それに7AHにある8個のレジスタを使用している。拡張モー ドでは、リフレッシュはOFHにあるレジスタにおいてアドレスすることができ る。拡張モードにおけるアドレスは更に、430Hのアドレスポートに置かれて いるDMAアドレス・ラッチ回路130にも書き込まれる。Eight registers located at 5AH, 6AH, and 7AH are used. expansion mode In mode, refresh can be addressed in a register located at OFH. Ru. The address in extended mode is also placed on the address port of 430H. It is also written to the DMA address latch circuit 130 located in the DMA address latch circuit 130.
DMAの転送が行なわれている間は、I10コントローラ18が信号DAK4、 EDI、及びED2を出力してDMAチャネルのうちの1つのチャネル、または リフレッシュを選択している0選択コードとしては、チャネル3には000が、 チャネルOには001が、チャネルlにはOlOが、チャネル2にはOllが、 チャネル7には100が、リフレッシュには101が、チャネル5には110が 、そしてチャネル6には111が割り当てられている。While the DMA transfer is being performed, the I10 controller 18 outputs the signals DAK4, EDI, and ED2 to one of the DMA channels, or The 0 selection code that selects refresh is 000 for channel 3. Channel O has 001, channel l has OlO, channel 2 has Oll, Channel 7 has 100, refresh has 101, and channel 5 has 110. , and 111 is assigned to channel 6.
第1図及び第2図に関し、キーボード・コントローラ内のスペアの読取り書込み 可能なレジスタのロケーションは、そのビットOが外部ページ・レジスタ・ビッ トとして指定されており出力信号(−EN PG REG)を発生する。その他 の格納ロケーションを使用しても良いのであるが、たまたまこのロケーションが スペア用に使用可能なのである。信号(−EN PG REG)は不活性状態で あるハイ状態に転じることによって、マツブト・クローン・モード(mappe d C1one mode )となるように(ただしマツピングがイネーブルさ れていないときにはクローン・モードとなるように)命令し、これらのモードに おいては、DMAアドレスは、I10コントローラ18内部の読取り書込み可能 なペイジ・レジスタによって従来の一般的な方式で発生されており、また、変換 装置20はDMA転送モードからはマスクされている。従ってあたかも通常のC PUメモリのアクセスが実行されているかのような動作が行なわれており、また アドレスの変換は後に説明するような手順で行なわれている。マスキングが行な われるためには信号(−EN PG REG)がハイ状態にあるときに、正常な ACK。Regarding Figures 1 and 2, read and write spares in the keyboard controller. Possible register locations are those whose bit O is an external page register bit. It is designated as a port and generates an output signal (-EN PG REG). others You could also use the storage location of It can be used as a spare. The signal (-EN PG REG) is inactive. By switching to a certain high state, Matsubuto clone mode (mappe d C1one mode) (with mapping enabled). clone mode when not in use) and enter these modes. In this case, the DMA address is readable and writable inside the I10 controller 18. It is generated in the traditional general manner by a page register, and also converts Device 20 is masked from DMA transfer mode. Therefore, as if it were a normal C The operation is performed as if the PU memory is being accessed, and Address conversion is performed in a procedure that will be explained later. masking is done In order for the signal (-EN PG REG) to be high, ACK.
I OW、並びにIORの信号がI10コントローラ18によって変換されて、 信号XACK、X I OW、及びXlORが発生される。マツブト・クローン ・モードにおいては、ゲート82がアドレス信号DX14〜DX16をA14〜 A16へ結合シテおり、更に、ゲート84が出力信号に作用してTA14〜TA 16をXAl6〜XAl6に結合しテイル。The IOW and IOR signals are converted by the I10 controller 18, Signals XACK, XIOW, and XlOR are generated. Matsubuto clone - In the mode, the gate 82 sends address signals DX14 to DX16 to A14 to Further, gate 84 acts on the output signal to connect TA14 to TA16. 16 to XAl6-XAl6 and tail.
信号(−XACK)=−(REFRESH+EN PG REG−ACK)−( 1)この式は、信号(−EN PG REG)が活性状態であるロー状態となる までは、信号REFRESHは変換装置へと通過できるが、DMA転送が実行さ れていることを示すACK信号は遮断されているということである。Signal (-XACK) = -(REFRESH+EN PG REG-ACK) -( 1) This formula indicates that the signal (-EN PG REG) is in an active low state. Until then, the signal REFRESH can pass to the converter, but no DMA transfer is performed. This means that the ACK signal indicating that it is being blocked is blocked.
DMA転送が実行されている間は、ポート信号と書込み信号とがACK信号によ って遮断されており、それによって変換装置20によるI10100ポートのア クセスが阻止されている。これに関する式は以下のとおりである。While a DMA transfer is being performed, the port signal and write signal are This prevents the conversion device 20 from accessing the I10100 port. access is blocked. The formula for this is:
(−XIOR)=−Cl0R−−ACK) −(2)(−X I 0W)=−( I OW・−ACK) −(3)DMAページ・レジスタの諸モードは、信号( EN−PG REG)の状態に従って要約することができる。(-XIOR)=-Cl0R--ACK)-(2)(-XI0W)=-( IOW・-ACK)-(3) The modes of the DMA page register are as follows: It can be summarized according to the status of EN-PG REG).
信号(EN PG REG)が不活性状態にあるとき4こは、I10コントロー ラ18は従来の一般的な方式で動作して各々のDMAアドレスの上位アドレス・ ビットを送出している。コントロール・レジスタ108によってマツピング動作 がイネーブルされていれば、マツブト・クローン・モードが確立されおり、DM Aアドレスはその他のアドレスと共にマツピングされる。マツピング動作がイネ ーブルされていない場合には、クローン・モードの動作によって、IBMのPC ATコンピュータがエミュレートされる。When the signal (EN PG REG) is inactive, the I10 controller The controller 18 operates in a conventional general manner to determine the upper address and address of each DMA address. Sending out bits. Mapping operation by control register 108 is enabled, Matsubuto clone mode is established and the DM The A address is mapped together with other addresses. The mapping operation is fine. If the IBM PC is not An AT computer is emulated.
信号(EN PG REG)が活性状態にあるときには、I10コントローラ1 8からの上位アドレス・ビットの送出は禁止されており、それらの上位ビットは DMAページ・レジスタ118から送出されていて、また、DMAアドレスのマ ツピングは総て禁止されている。活性状態にあるDMAチャネルがDMAモード ・レジスタ114内の対応するビットによってイネーブルされている場合には、 モード動作が行なわれ、各々のチャネルのための8個のレジスタ(バイトチャネ ルであるDMAチャネルについては4個のレジスタ)が、16にブロック内のペ ージング機能を果たす、所与のチャネルがDMAモード・レジスタによってイネ ーブルされていない場合には、スペシャル・クローン・モードによる動作が実行 される。スペシャル・クローン・モードは機能的には1つ相違点を除いてクロー ン・モードと同一であり、その相違点とは、上位アドレス・ビットがDMAぺ− ジ・レジスタ118の部分集合によって発生されるということであり、この部分 集合は、各々のDMAチャネル毎に1つのレジスタ有する集合である。このレジ スタの部分集合に対しては% I10コントローラ18内の一般的なページ・レ ジスタに対して一般的に割り当てられているI10ポート・アドレスと同一のI 10ボート・アドレスが割り当てられており、従って同一のデータを格納するこ とになるため、システムの動作は機能的にはクローン・モードにおける動作と同 一となる。When the signal (EN PG REG) is in the active state, the I10 controller 1 Sending the upper address bits from 8 is prohibited; It is sent from the DMA page register 118 and is also sent from the DMA address master. All tuping is prohibited. DMA channel in active state is in DMA mode - If enabled by the corresponding bit in register 114, mode operation is performed and eight registers for each channel (byte channel 4 registers for a DMA channel that is a block A given channel is enabled by the DMA mode register. If not, special clone mode operation is performed. be done. Special Clone Mode is functionally similar to Clone with one difference. The difference is that the upper address bits are This means that it is generated by a subset of the register 118, and this part The set is a set with one register for each DMA channel. This cash register % I10 controller 18 general page record for a subset of The same I10 port address commonly assigned to registers. 10 port addresses are assigned and therefore cannot store the same data. Therefore, the system behavior is functionally the same as in clone mode. Become one.
マツブト・クローン・モードにおいては、DMAアドレスはIBMのPC−AT コンピュータにおけると同様にして発生されている。I10コントローラ18の 内部の一般的なページ・レジスタが、アドレス・ビットAI4〜A23(ただし ワード転送の場合にはAI7〜A23)をバス60上に、コンピュータ・アドレ ス変換装置20に宛て送出する。アドレス信号A14〜A15(ワード転送の場 合にはA14〜A16)は、活性状態にあるDMAコントローラから、局部I1 0バス48を介してラッチ回路76へ送出される。これらの信号はこのラッチ回 路76から、バス80、ゲート82、及びバス60を介して、コンピュータ・ア ドレス変換回路2゜へ転送される。アドレス信号AO〜A7(ワード転送の場合 にはAINA8)は、活性状態にあるDMAコントローラ50からXAバス72 へ送出される。アドレス信号A8〜A13 (ワード転送の場合はA9〜A13 )は活性状態にあるDMAコントローラ50から、バス48を介してラッチ回路 76へ、そしてそこからバス72へ送出される。In Matsubuto clone mode, the DMA address is IBM's PC-AT It is generated in the same way as in a computer. I10 controller 18 An internal general page register contains address bits AI4-A23 (but In the case of word transfer, AI7 to A23) are connected to the computer address on bus 60. The data is sent to the conversion device 20. Address signals A14-A15 (for word transfer) In this case, A14 to A16) are transferred from the active DMA controller to the local I1 0 bus 48 to latch circuit 76. These signals are connected to this latch circuit. from route 76, via bus 80, gate 82, and bus 60. It is transferred to the address conversion circuit 2°. Address signals AO to A7 (for word transfer) AINA 8) connects the active DMA controller 50 to the XA bus 72. sent to. Address signals A8 to A13 (A9 to A13 for word transfer) ) is transmitted from the active DMA controller 50 to the latch circuit via bus 48. 76 and from there to bus 72.
次にコンピュータ・アドレス変換装置20が、供給されたDMAアドレス信号を 、あたかもその信号がCPUから供給されたアドレス信号であるかのように変換 する。上位アドレス信号TA14〜TA23はバス64へ出力され、そしてゲー ト84とバス86が、また更にXAバス72上のボジシ:l ンXA 14〜X A 16カ、 ;−れらの信号に接することができるようになっている。従って これらの信号は、ラインXAONXA13上の信号AO−A13と共に、ゲート 70において得られるようになっている。Next, the computer address translation device 20 converts the supplied DMA address signal into , convert the signal as if it were an address signal supplied by the CPU. do. The upper address signals TA14 to TA23 are output to the bus 64, and the gate The ports 84 and 86 are connected to the ports XA 14 to X on the XA bus 72. A: 16; - It is now possible to access these signals. Therefore These signals, along with signal AO-A13 on line XAONXA13, It is now available at 70.
活性状態であるロー状態の信号(−EN PG REG)の送出によって内部ペ ージング動作が起動されたときには、DMAモード・レジスタが、各チャネル毎 に個別に、スペシャル・クローン・モードで動作が行なわれているのかそれとも 拡張モードで動作が行なわれているのかの判定を行なう、チャネル選択信号DA K4、EDI、及びED2が、選択信号として8対lマルチプレクサへ入力され 、このマルチプレクサはDMAモード・レジスタ114からの出力を受取ってい る0選択されたマルチプレクサの出力信号によって、そのとき選択されているチ ャネルにおいてスペシャル・クローン・モードと拡張モードとのいずれが実行さ れているのかが判定される。リフレッシュのためには、常にクローン・モードが このマルチプレクサに入力されている。By sending the active low state signal (-EN PG REG), the internal When a programming operation is initiated, the DMA mode register is whether the operation is being performed in special clone mode or Channel selection signal DA for determining whether operation is being performed in extended mode K4, EDI, and ED2 are input to an 8-to-1 multiplexer as selection signals. , this multiplexer receives the output from DMA mode register 114. The currently selected channel is determined by the output signal of the selected multiplexer. Whether special clone mode or extended mode is running on the channel. It is determined whether the Clone mode is always enabled for refresh. is input to this multiplexer.
スペシャル・クローン・モードと拡張モードとのいずれにおいても、コンピュー タ・アドレス変換装置20はDMAページ・レジスタ118から得られる上位ア ドレス信号を送出することによって、DMAアクセスに応答する。これらの送出 されたDMAアドレス信号が更にマツピングされることはない、信号XAO−X A13 (ワード転送の場合はXAlNXA13)がDMAコントローラ50に よってXAバス72上に送出され、これらの信号はコンピュータ・アドレス変換 装置20によって変換を受けることはない、スペシャル・クローン・モードにお いては、上位アドレス信号TA16〜TA23(ワード転送の場合はTA17〜 TA23)が、選択されたDMAページ・レジスタ118から送出される。拡張 モードにおいては、上位アドレス信号XAl4〜XAl6とTA17〜TA23 とはDMAページ・レジスタ118から送出される。In both Special Clone mode and Expand mode, the The upper address translation device 20 obtains the upper address from the DMA page register 118. It responds to DMA accesses by sending out address signals. these transmissions The signal XAO-X is not mapped further. A13 (XAlNXA13 in the case of word transfer) to the DMA controller 50 Therefore, these signals are sent out on the XA bus 72, and these signals undergo computer address translation. into special clone mode, which is not transformed by device 20. upper address signals TA16 to TA23 (TA17 to TA23 in the case of word transfer) TA23) is sent from the selected DMA page register 118. expansion In mode, upper address signals XAl4 to XAl6 and TA17 to TA23 is sent from the DMA page register 118.
中位ビットは、クローン・モードと拡張モードとでは異なった扱いをされている 。クローン・モードにおいては、信号DX14〜DX15(ワード転送の場合に はDx14〜Dx16)は、X A /< ス(7) (l’ クショ:/ 8 6及びセクション72の上の出力線XAl4〜XA15(ワード転送の場合には XAl4〜XA 16)へ転送される。拡張モードにおいては、アドレス信号D X14〜DX15(’7−ド転送の場合にはDX 14〜DX 16)は、4個 のページ・レジスタのうちから(ワード転送の場合には8個のページ・レジスタ のうちから)その時点で活性化されているDMAチャネルに表示されている16 にバイトのページに対応する1つのレジスタを選択するために、使用される。ゲ ート82とゲート84とは以上のいずれの作動モードが実行されている間も、中 位ビットの転送を遮断している。Intermediate bits are treated differently in clone mode and extended mode . In clone mode, signals DX14 to DX15 (in case of word transfer) is Dx14~Dx16) is 6 and output lines XAl4 to XA15 above section 72 (in case of word transfer Transferred to XAl4-XA16). In extended mode, address signal D X14 to DX15 (DX14 to DX16 in case of '7-code transfer) are 4 pieces page registers (8 page registers for word transfers) 16 displayed on the currently active DMA channel is used to select one register corresponding to a page of bytes. Game gate 82 and gate 84 are The transfer of the digit bit is blocked.
DMA動作の実行中にDMAページ・レジスタ118の内部の64X l Oの RAMをアドレスする際には、そのために必要な6ビツトのうちの3ビツトが、 チャネル選択信号DAK4、EDI、及びED2によって与えられ、また、受取 ったアドレスビットDX14〜DX16(バイl−DMA(1)場合にはDx1 4〜Dx15)によって残りの3つのビットが与えられる。信号DX14〜DX 16は信号(EXP REG EN)によってゲーティングされており(第5図 委照)、スペシャル・クローン・モードのときにのみ、XAl4〜XAl6とし て出力され、一方、ページ・レジスタからの信号PA14〜PA16は、拡張モ ードのときに送出されるように、ゲーティングがなされている。信号DX16は 更に、ワード転送のときにのみ有功となるように信号DAK4によってゲーティ ングされている。64 When addressing RAM, 3 of the 6 bits required for this purpose are Provided by and received channel selection signals DAK4, EDI, and ED2. Address bits DX14 to DX16 (Dx1 in case of bi-DMA(1)) 4 to Dx15) provide the remaining three bits. Signal DX14~DX 16 is gated by the signal (EXP REG EN) (Fig. 5). ), XAl4 to XAl6 only when in special clone mode. On the other hand, signals PA14-PA16 from the page register are output to the expansion module. It is gated so that it is sent when the code is active. Signal DX16 is Furthermore, the gate gate is activated by signal DAK4 so that it is effective only during word transfer. is being processed.
I10コントローラ18は、信号XACKを送出してDMA要求に対して肯定応 答を行なうときには、もし信号(EN PG REG)が不活性状態であれば、 更にアドレス信号A17〜A23(バイト転送の場合にはA16〜A23)を併 せて送出し、これらのアドレス信号はマルチプレクサ116を介してTA17〜 TA23(バイト転送の場合にはTA16〜TA17)へ伝達される。DMAコ ントローラ50は、バイト転送のためには信号XAO〜XA7を、またワード転 送のためには信号lAl−XA3 (ビットOは「0」と見なされる)を、局部 アドレスバス72上へ送出する。信号A8〜A15 (ワード転送の場合にはA 9〜A16)はXDデータバス48上へ送出され、更にラッチ回路76によって 保持されることによって、バス72とバス80とへ供給される。The I10 controller 18 acknowledges the DMA request by sending a signal XACK. When performing the answer, if the signal (EN PG REG) is inactive, Furthermore, address signals A17 to A23 (A16 to A23 in the case of byte transfer) are also included. These address signals are sent to TA17 through multiplexer 116. It is transmitted to TA23 (TA16 to TA17 in the case of byte transfer). DMA Co. Controller 50 uses signals XAO-XA7 for byte transfers and for word transfers. For transmission, the signal lAl-XA3 (bit O is considered “0”) is It is sent onto the address bus 72. Signals A8 to A15 (A in case of word transfer) 9 to A16) are sent onto the XD data bus 48, and further processed by the latch circuit 76. By being held, it is supplied to bus 72 and bus 80.
ラッチ回路76は、バイトDMAのためには信号XA8〜XA13を、またワー ドDMAのためには信号XA9〜XA13を、夫々XAバス72上へ送出する。The latch circuit 76 receives signals XA8-XA13 for byte DMA and For DMA, signals XA9 to XA13 are sent onto the XA bus 72, respectively.
ラッチ回路76は更に、信号14と15を(ワードDMAの場合には更に信号1 6をも)、DXバス8゜を介して変換袋@20へ伝達する。クローン・モードと スペシャル・クローン・モードとにおいては、ビットDX14とDX15(ワー ド転送の場合にはDX14〜D X 16 ) カ、XAl4とXA15(ワー ド転送の場合はXAl4〜XA 16)へ転送される1選択されたチャネルの第 1番目のページ・レジスタのビットOが、バイト転送のための出力信号XAl6 を決定する0以上の信号は、ゲート70を介して、信号xAONxA13と共に システム・バス74へ送出される。拡張モードにおいては、変換装置はアドレス 入力信号XAl4とXA15を用いて(ワード転送の場合には更にXAl6も用 いて)各々のチャネルに備えられた4個のレジスタのうちから(ワードチャネル については8個のレジスタのうちから)1つのレジスタを選択して、その選択し たページ・レジスタから上位lOビットを読み出す、それらはXAl4〜XAl 6、及びTA 17〜TA23と1.て送出される。The latch circuit 76 further outputs signals 14 and 15 (in addition, signal 1 in the case of word DMA). 6) is transmitted to the conversion bag @20 via the DX bus 8°. clone mode and In special clone mode, bits DX14 and DX15 (word In the case of card transfer, DX14 to DX16), XAl4 and XA15 (word In the case of code transfer, the first selected channel is transferred to XAl4 to XA16). Bit O of the first page register is the output signal XAl6 for byte transfer. A signal greater than or equal to 0 that determines the is sent to system bus 74. In extended mode, the translation device Using input signals XAl4 and XA15 (in addition, XAl6 is also used in the case of word transfer) (word channel) from among the four registers provided for each channel. (for 8 registers) and select the selected register. Read the upper lO bits from the page register, they are XAl4 to XAl 6, and TA 17 to TA23 and 1. will be sent.
アドレス・ラッチ回路132は、次々と入力してくるアドレス信号AO〜A15 の各々をラッチして、デコーディングないし論理処理のためにそれらの信号を保 持する回路である。これは、重要なデータの流れの制御に寄与するものではない 。The address latch circuit 132 receives address signals AO to A15 that are input one after another. latches each to preserve their signals for decoding or logic processing. It is a circuit that has This does not contribute to controlling the flow of critical data .
マツパRAM112は、第4図に更に詳細に示されており、2つのメモリ・セク ション140と142を含んでいる。メモリ・セクション140は128X8の メモリ、またメモリ・セクション142は128X4のメモリであり、併せて1 28X12の容量を提供している。Matupa RAM 112 is shown in more detail in FIG. 140 and 142. Memory section 140 is a 128x8 The memory, also memory section 142, is 128x4 of memory, together with 1 It offers a capacity of 28x12.
アドレス入力信号はマルチプレクサ144から供給されており、このマルチプレ クサ144は、へ入力部がアドレス・ラッチ回路14Bの出力部に接続されてお り、B入力部が信号(MAP PG 5EL)と入力アドレス信号A14〜A1 9とに接続されている。信号(MAP PG 5EL)はコントロール・レジス タlO8のビット3に従って送出されている。これによって、コントロール・レ ジスタ108の中の1つのビットを変更するだけで、64個のレジスタの上位バ ンクと下位バンクとの間の状況のスワツピングが可能となっている。The address input signal is provided by multiplexer 144, which The input portion of the latching circuit 144 is connected to the output portion of the address latch circuit 14B. The B input section receives the signal (MAP PG 5EL) and the input address signals A14 to A1. 9. The signal (MAP PG 5EL) is a control register It is sent out according to bit 3 of data 8. This allows the control By changing just one bit in register 108, the upper bar of 64 registers can be changed. It is possible to swap status between a bank and a lower bank.
B入力部の下位6ビツトは、入力アドレス信号A14〜A19を受取っている。The lower 6 bits of the B input section receive input address signals A14-A19.
マツパRAM140.142に対して読出しないし書込みを行なうためには、最 初に、I10100440Hのボート・アドレスに書込みを行なうことによって 、アドレス・ラッチ回路146に、該当するアドレスO〜127が書込まれるよ うにする。シーケンス/コントロール・ロジック回路がこのボート・アドレスを デコードし、必要条件が総て満たされていたならばI1010上Xl0W信号と に応答してラッチング信号(−WRMAP 5EL)を送出する。これによって データが、入力データ・バス102からアドレス・ラッチ回路146の内部にロ ードされる。In order to read or write to Matsupa RAM 140.142, the First, by writing to the boat address of I10100440H. , the corresponding address O to 127 is written to the address latch circuit 146. I will do it. The sequence/control logic circuit uses this boat address. After decoding, if all the necessary conditions are met, it becomes the Xl0W signal on I1010. In response, a latching signal (-WRMAP 5EL) is sent out. by this Data is loaded from input data bus 102 into address latch circuit 146. is coded.
次に、RAM112それ自身が、下位モジュール140のためにはボート441 Hを、また、上位モジュール142のためにはボート442Hを、夫々アドレ スする。これらのボートのうちのいずれかが適切にデコードされたなら、信号( −MAP C3)が送出されて、アドレス・ラッチ回路146の内容をこのRA Mのモジュール140と142のアドレス入力部へ転送する。書込みが行なわれ る場合には、書込みマツプ信号WMLOないしWMHIが発生され、これによっ て入力データバス102の信号が選択されたアドレス・ロケーションにロードさ れる。読出しが行なわれる場合には、選択されたロケーションの出力が、不図示 のゲーティング回路によりゲーティングされて出力データバス104上に送出さ れる。Next, the RAM 112 itself is connected to the boat 441 for the lower module 140. H, and for the upper module 142, the boat 442H, respectively. To do so. Once any of these boats is properly decoded, the signal ( -MAP C3) is sent and the contents of the address latch circuit 146 are transferred to this RA. Transfer to the address inputs of modules 140 and 142 of M. writing is done If the write map signal WMLO or WMHI is generated, signals on input data bus 102 are loaded into the selected address location. It will be done. When a read is performed, the output of the selected location is is gated by the gating circuit of and sent onto the output data bus 104. It will be done.
通常のメモリ・アクセス動作が行なわれているときには、マルチプレクサ144 は信号(MAP PG 5EL)とアドレス信号5A14〜5A19とを、RA M112のモジュール140,142のアドレス入力部へ転送している。マツピ ングされ変換された、マツブト変換アドレス信号MTA 14〜MTA23は、 バス・マルチプレクサ116(第3図)へ送出される。信号MTA 14〜MT A16はシーケンス/コントロール・ロジック回路106へ伝達され、信号XA l4〜XAl6を発生させるために使用される。When normal memory access operations are occurring, multiplexer 144 connects the signal (MAP PG 5EL) and address signals 5A14 to 5A19 to the RA It is transferred to the address input section of modules 140 and 142 of M112. Matupi The converted Matsubuto address signals MTA14 to MTA23 are as follows: to bus multiplexer 116 (FIG. 3). Signal MTA 14~MT A16 is transmitted to the sequence/control logic circuit 106 and the signal XA Used to generate 14~XAl6.
書込みプロテクト信号(WRPROT)は更に、シーケンス/コントロール・ロ ジック回路106へも伝達され、この信号(WRPROT)が活性状態であるハ イ状態にあるときには、書込み信号XGMWの出力は禁止されている。存在して いないメモリ出力と、書込みプロテクト・イネーブル信号(EN WRP)との 間でANDがとられ、この信号(EN WRP)は変換装置20が活性状態にあ るときに発生されている信号である、このAND操作により得られるNP信号は 、出力信号として送出されるが、この構成例においては使用されていない。The write protect signal (WRPROT) is also It is also transmitted to the logic circuit 106, and this signal (WRPROT) is in the active state. When the write signal XGMW is in the active state, the output of the write signal XGMW is prohibited. exist The connection between the memory output and the write protect enable signal (ENWRP) This signal (ENWRP) is output when the conversion device 20 is in the active state. The NP signal obtained by this AND operation, which is the signal generated when , is sent out as an output signal, but is not used in this configuration example.
信号XAl4〜XAl6の発生はDMA転送のために複雑化されており、それゆ え第5図にそれらの信号の発生を更に詳細に示す、信号ACKがハイ状態にあっ てDMA転送が実行中であることを示しており、且つ、信号(−XMST)が不 活性状態であるハイ状態にあって拡張バス(この場合は使用されていない)が制 御された状態にはないことを示しているときに、変換出力バッファ152が、信 号をゲーティングして送出する。The generation of signals XAl4-XAl6 is complicated due to DMA transfer and therefore Figure 5 shows the generation of these signals in more detail. indicates that the DMA transfer is in progress, and the signal (-XMST) is not present. In the active high state, the expansion bus (in this case not in use) is being controlled. When the conversion output buffer 152 indicates that it is not in the Gating and sending out the issue.
DMAチャネルlから入力しているアドレス入力信号AENIがロー状態にあれ ば、ページ・レジスタ118の出力信号PA16が自動的に18号XAl6の信 号源となる。もし信号AENIがハイ状態にあれば、信号XAl6は信号XAl 4及びXA15と共に、マルチプレクサ154の出力信号に従って定まる。マル チプレクサ154は、六入力信号として入力データ信号DX14〜DX16を、 またB入力信号と1−、てページ・レジスタ118のデータ信号PA14〜P1 6を、夫々受は取っている。マルチプレクサ154へ入力する選択信号は信号( EXP REG EN)L:従って定まり、この信号(EXP REG EN) !;i、活性化した状態にあるDMAチャネルに関して拡張モードが完全にイネ ーブルされているか否かを示すための信号として、8対1マルチプレクサ156 から取り出される信号である。この8対lマルチプレクサ15Bは、DMAモー ド・レジスタ114から7つのEP入力信号を受け取っている。If the address input signal AENI input from DMA channel l is in a low state For example, the output signal PA16 of page register 118 automatically becomes the signal of No. 18 XAl6. Becomes the source of the code. If signal AENI is high, signal XAl6 is 4 and XA15 according to the output signal of multiplexer 154. Maru The multiplexer 154 receives input data signals DX14 to DX16 as six input signals. In addition, the B input signal and 1-, the data signals PA14 to P1 of the page register 118 Each received a 6. The selection signal input to the multiplexer 154 is the signal ( EXP REG EN)L: Therefore, it is determined that this signal (EXP REG EN) ! ;i, extended mode is fully enabled for DMA channels in the activated state; 8-to-1 multiplexer 156 as a signal to indicate whether the This is the signal extracted from. This 8-to-1 multiplexer 15B is a DMA mode It receives seven EP input signals from register 114.
入力している3つの選択信号P A4〜PA2は、肯定応答信号ACKと、DM Aチャネルのアドレス信号DAK4.EDI、並びにEDOと、ページ・メモリ ・アドレス信号PAO〜PA3とをデコードした結果に応じて決定される信号で ある。The three input selection signals P A4 to PA2 are the acknowledgment signal ACK and the DM A channel address signal DAK4. EDI, EDO and page memory ・A signal determined according to the result of decoding address signals PAO to PA3. be.
信号PAMO〜PAM3はマルチプレクサ160によ・)で発生されており、こ のマルチプレクサ160は・六入力信号としてアドレス・ラッチ回路132から 信号LAOO−LAO3を、またB入力信号としてDMAアドレス・ラッチ回路 130から信号PGO−PG3を、夫々受は取っている。マルチプレクサ160 の八人力信号1オ信号80Hによって選択される。この信号80Hは信号ACK がロー状態にあり、且つ、アドレス・ラッチ回路132の信号1−A7がハイ状 態に、信号LA5、LA6、LA8、LA9、及びLAIOがロー状態にあると きに5活性状態となる。この信号80I(は従って、130Hから9 F Hま での通常のページ・レジスタ用ボート・アドレスのうちの1つのボート・アドレ スが、アクセスされていることを示す信号である。The signals PAMO to PAM3 are generated by the multiplexer 160. The multiplexer 160 receives six input signals from the address latch circuit 132. The signal LAOO-LAO3 is also used as the B input signal to the DMA address latch circuit. The signals PGO-PG3 are received from 130, respectively. multiplexer 160 It is selected by the eight power signal 1 o signal 80H. This signal 80H is the signal ACK is in a low state, and the signal 1-A7 of the address latch circuit 132 is in a high state. When signals LA5, LA6, LA8, LA9, and LAIO are in the low state, 5 becomes active state. This signal 80I (therefore, from 130H to 9FH One of the boat addresses for normal page registers in This signal indicates that the device is being accessed.
アドレス変換装置20の具体的な構成が、第6図へ・第20図に詳細に示されて おり、これより、それらの図について説明をする。マツパRAM112とこのマ ツパRAMに関連した制御回路が第6図に示されている。The specific configuration of the address translation device 20 is shown in detail in FIGS. 6 and 20. From now on, I will explain these figures. Matsupa RAM112 and this ma The control circuitry associated with the TPURAM is shown in FIG.
ロジック・ブロック602が、アドレス・バスAOO〜A23からシステム・ア ドレス入力信号lA23〜lA20を、信号DISABLE MAP及び割込み リベクタリング信号INT MAP DISと共に受取っている。このロジック 602は以下の出力信号を発生ずる。Logic block 602 connects the system addresses from address buses AOO-A23. Address input signals lA23 to lA20, signal DISABLE MAP and interrupt It is received along with the revectoring signals INT, MAP, and DIS. this logic 602 generates the following output signals.
lA20A=IA20 ・ lA20G −(4)GT I MG= I A2 OA・lA21・ lA22 ・ lA23 −(5)No MAP=(DI SABLE MAP十INT MAPDIS +GT I MG) −=−(6) EN WRP=−No MAP −〜(7)アドレス・マルチプレクサ144が 、マツパRAM112のモジュール140と142へのアドレス入力を駆動して いる0通常動作の実行中には、マルチプレクサ144はシステム入力アドレス信 号lAl9〜lAl4を入力端子BINB6で、そして制御レジスタ108のL )を入力端子B7で受取っている。これらの信号はアドレス信号MCA6〜MC AOとして、マツパRAMのモジュール140と142へ伝達されている。lA20A=IA20・lA20G-(4) GT IMG=IA2 OA・lA21・lA22・lA23 −(5) No MAP=(DI SABLE MAP INT MAPDIS +GT I MG) −=−(6) EN WRP=-No MAP-~(7) Address multiplexer 144 , drives the address inputs to modules 140 and 142 of Matupa RAM 112. During normal operation, multiplexer 144 receives the system input address signal. signals lAl9 to lAl4 at the input terminal BINB6, and the L of the control register 108. ) is received at input terminal B7. These signals are address signals MCA6 to MC. As AO, it is transmitted to modules 140 and 142 of Matupa RAM.
一方、RAMアドレス・うs7チ146はシステム・デ・−り・バスから該当す るアドレスを受取っており、このアドレスは、適当ななI10空間アドレス(4 40h)のデコーディングの際に信号(−WRMAP S EL)が発生される とう・ノチさオ]る。続いてマツパRAMのセクション140と142の一方に 関するアドレスがデコーディングされる際に信号(−MAP C3)が発生され 、それによつでマルチプレクサ606が、ラッチ604に格納されているデータ をRAMセクション140とX42ヘアドレスとして転送する。ラッチ608と 610は、適当なl/′0空間アドレスのデコーディングによって信号(−1) ATA EN)及び信号(=RD MAP LO)、または信号(=RD MA P Hl)が発生されたときに、RA Mセクション140.142からのデー タ出力をラッチする。ぞれによってゲート6i2.614(これらのゲートは、 ゲート信号によりイネーブルされたときに各ラッチの出力信号をゲーティングす る単なるNANDゲートにより構成することができる)が、該当する信号グルー プXD7A〜X D OA * タハX D 3 B −X、 D OBを転送 して、出力データ・バス104上へ送出する。On the other hand, RAM address 146 is the corresponding address from the system data bus. This address is the appropriate I10 space address (4 A signal (-WRMAP SEL) is generated when decoding 40h). Tonochi Sao]ru. Next, one of sections 140 and 142 of Matupa RAM A signal (-MAP C3) is generated when the related address is decoded. , thereby causing multiplexer 606 to input the data stored in latch 604. is transferred to RAM section 140 and X42 as an address. latch 608 and 610 receives the signal (-1) by decoding the appropriate l/'0 space address. ATA EN) and signal (=RD MAP LO), or signal (=RD MA data from RA M section 140.142 when P Hl) is generated. Latch data output. Gates 6i2.614 (these gates are Gating each latch's output signal when enabled by the gate signal. (which can be constructed by a simple NAND gate) is connected to the corresponding signal group. Transfer XD7A~XDOA * TahaXD3B-X, DOB and sends it onto the output data bus 104.
DMAレジスタ118の制御ロジックが第7図に示されており、これより同図に ついて説明する。アドレス・ロジック702は、以下のロジック関係式に従って ページ・レジスタ・アドレス信号A5〜AOを発生する。The control logic for the DMA register 118 is shown in FIG. explain about. Address logic 702 is configured according to the following logic relation: Generates page register address signals A5-AO.
PA5=−ACK・ (PMA6) +ACK−(IDAK4−EXP REG EN−IDX16) −(8) PA4=−ACK・ (PMA3) +ACK・ (I DAK4) −(9)PA3=−ACK・ (PMAO・− PMA2)+ACK・(IEDI) −(10) PA2=−ACK・ (PMAO−PMA 1・PMA 2 +PMAO・−P MA I・−PMA2)+ACK・ (r EDO) −(11)EN)−(1 2) EN) −(13) 以上から分るように、ACKが活性状態にあるときには、アドレス入力はDMA チャネル特定信号I EDO。PA5=-ACK・(PMA6) +ACK-(IDAK4-EXP REG EN-IDX16) -(8) PA4=-ACK・(PMA3) +ACK・(I DAK4) −(9)PA3=−ACK・(PMAO・− PMA2)+ACK・(IEDI) −(10) PA2=-ACK・(PMAO-PMA 1・PMA 2 +PMAO・-P MA I・−PMA2)+ACK・ (r EDO) −(11)EN)−(1 2) EN) - (13) As can be seen from the above, when ACK is active, the address input is DMA Channel identification signal I EDO.
IEDI、並びにI ED4により駆動されて8本の別々のチャネルに関連付け られた最大8組までのレジスタ・セットの中から1組のレジスタ・セットが選択 され、また更に、このアドレス入力は中位入力アドレス信号I DX 14〜I DX16によっても駆動され、それらの信号は選択された組のレジスタの中から 1個のレジスタを選択するものである。信号I DAK4は2バイト・チャネル を特定すると共に、シングル・バイト・チャネルのいずれかが選択されていると きにはアドレスA5の信号PMAOを遮断する。Driven by IEDI, as well as IED4 and associated with eight separate channels One register set is selected from up to eight registered register sets. Furthermore, this address input is the intermediate input address signal IDX14~I Also driven by DX16, their signals are selected from among the selected set of registers. This selects one register. Signal I DAK4 is a 2-byte channel and if one of the single-byte channels is selected. At this time, the signal PMAO at address A5 is cut off.
DMAアクセスが実行中でなければ、信号ACKは不活性状態にあり、そのため ページ・レジスタ118へのアドレス入力は、I10空間アドレスに応じた信号 PMAO〜PMA6によって駆動されている。If no DMA access is in progress, the signal ACK is inactive, so The address input to page register 118 is a signal corresponding to the I10 space address. It is driven by PMAO to PMA6.
I10アドレス空間デコーダ・ロジックが第8図に示されており、このデコーダ ・ロジックはデコーダ806を含み、このデコーダ806はその入力として、ア ドレス・ラッチ132から、ラッチされたアドレス信号L A O6〜LAO4 を受取っている。ゲート人力Glは信号LAIOにより駆動され、一方、反転ゲ ート信号は以下の機能を有するロジック回路802からの信号(−D I G2 A)及び信号(−D2G2B)により駆動されている。The I10 address space decoder logic is shown in FIG. - The logic includes a decoder 806, which has as its input From the address latch 132, the latched address signal LA O6 to LAO4 are receiving. The gate power Gl is driven by the signal LAIO, while the inverted gate The start signal is a signal (-D I G2) from the logic circuit 802 having the following functions. A) and the signal (-D2G2B).
−D I CI A=−[(−ACK) ・ (LA 15) ・(−LA 1 4) ・ (−LA13) ・(−LA12) ・ (−LAII)]−D2G 2B=−[(−LAO9) ・ (−LAO8) ・(−LAO7)] −(1 5) 従ってデコーダ806は、LA10=O(400HeX)であり、しかもLA1 5〜LAII及びLAO9〜LAO7が全てrOJであるときに、信号LAO6 〜LAO4をデコードするように動作する。-D I CI A=-[(-ACK) ・(LA 15) ・(-LA 1 4)・(-LA13)・(-LA12)・(-LAII)]-D2G 2B=-[(-LAO9)・(-LAO8)・(-LAO7)]-(1 5) Therefore, in the decoder 806, LA10=O(400HeX) and LA1 5 to LAII and LAO9 to LAO7 are all rOJ, the signal LAO6 ~ Operates to decode LAO4.
ロジック回路804は以下のように信号(−EN PGLOW)を発生する。Logic circuit 804 generates a signal (-EN PGLOW) as follows.
−EN PGLOW=−(−EXP REG E N −−IXIOW−−80 H−(−LAOO−LAO2+LAOl −LAO2+−LAOO・−LAOI ))ANDゲート814がこの信号を、信号(−LA431W)と組合わせてお り、それによって、ページ・レジスタ118のセクションのうちのアドレス線T A23〜TA17を駆動しているセクションの書込みイネーブルが、そのセクシ ョンのための直接I10空間アドレスに応答して、または、CPUがクローン・ モードで従来のシステム・ページ・レジスタを、ないしはスペシャル・クローン ・モードでマツチング・レジスタの一方をアドレスするときに、行なわれるよう になっている。更に詳細に説明すると、(WP PG LO)が活性状態となる のは、拡張モードが特定のチャネルについて不活性状態となっているときであっ て、しかも、lXl0W(活性状態であるロー状態の信号)がI10書込みが実 行中であることを表示しているときであって、しかも、信号80H(活性状態で あるロー状態となっている)が80H〜8FHの1つのアドレスを表示している と共に、この領域におけるI10ロケーション0,8.4、C,5、C,6、E のうちの1つが、アドレスされていない状態にあるときである。信号(−WRP G LO)は従って、拡張モードにないときには各チャネルの第1番目のレジス タへの書込みをイネーブルしており、これによってこのレジスタが、スペシャル ・クローン・モードにおける対応するシステム・レジスタを、エミュレートする ことができるようになっている。-EN PGLOW=-(-EXP REG E N --IXIOW--80 H-(-LAOO-LAO2+LAOl -LAO2+-LAOO・-LAOI )) AND gate 814 combines this signal with the signal (-LA431W). address line T of a section of page register 118. The write enable of the section driving A23 to TA17 is or in response to a direct I10 space address for clone mode to use traditional system page registers or special clones ・When addressing one of the matching registers in It has become. To explain in more detail, (WP PG LO) becomes active. when extended mode is inactive for a particular channel. Moreover, lXl0W (an active low state signal) indicates that the I10 write is executed. When the display is showing that the line is in progress, and the signal 80H (in active state) is displayed. (in a certain low state) is displaying one address from 80H to 8FH and I10 locations 0, 8.4, C, 5, C, 6, E in this area. One of these is when it is in an unaddressed state. Signal (-WRP GLO) is therefore the first register of each channel when not in extended mode. writes to the register, which causes this register to become a special ・Emulate the corresponding system register in clone mode It is now possible to do so.
ロジック回路820は、信号(IMIO)(メモリの10が活性化されているこ とを表わす)、信号(IXloR)(10読出しが活性化されていることを表わ す)、信号(GTIMG)<1メガバイト以上であることを表わす)、及び信号 (−LA20H)(アドレス20H〜2FHを表わIj)を受取り、そしてそれ らに応答して以下の信号を発生する。The logic circuit 820 receives a signal (IMIO) (which indicates that memory 10 is activated). ), signal (IXloR) (10 indicates that readout is activated), ), signal (GTIMG) < 1 megabyte or more), and signal Receive (-LA20H) (Ij representing addresses 20H to 2FH), and In response, the following signals are generated.
=−(IM 1O−EN MAP)−(17)XEEN=−(LA20H−−I XIOR)−(18)XFEN=−(LA 10H−−I X I 0R)−( 19)DMWR=GTIMG−DWIM −(20)fg号(D I 5ABL E MAP)は、信号(I X P )(第3図)のディスエーブル信号として 利用され、マツピングRAMから送出されるデータのゲーティングを行なう、信 号(XEEN) と信号(XFEN)と+;i、DMAモード・レジスタ114 及び制御レジスタlo8の内容を出力データ・バス104上へ送出する際のゲ・ −ティングに用いられる。信号(DMWR)(マツプ書込みディスエーブル)は 、出力メモリ読出し書込みゲート信号を発生する際に用いられる。=-(IM 1O-EN MAP)-(17)XEEN=-(LA20H--I XIOR)-(18)XFEN=-(LA10H--IXI0R)-( 19) DMWR = GTIMG - DWIM - (20) fg (D I 5ABL E MAP) is used as a disable signal for the signal (IXP) (Figure 3). The data that is used and sent out from the mapping RAM is gated. signal (XEEN) and signal (XFEN) +;i, DMA mode register 114 and the game input when sending the contents of control register lo8 onto output data bus 104. - Used for ting. The signal (DMWR) (map write disable) is , used in generating the output memory read/write gate signal.
第9図はゲーティングされたメモリの読出し出力信号(OXGMR)と書込み出 方信号(OXGMW)、!=を発生するための回路を示す、信号(OXGMW) はORゲート904によって、入力書込みゲート信号(IMWIN)とフリップ ・フロップ906の出力との論理和として発生される。フリップ・フロップ90 6はそのデータ入力が以下の信号(PMWG)によって駆動されており、 また、そのリセット入力が信号(−EN MAP)に接続されている。ゲート入 力は、入力アドレス・ラッチ・イネーブル信号(I A L、 E )に接続さ れている。Figure 9 shows the read output signal (OXGMR) and write output of a gated memory. direction signal (OXGMW),! Signal (OXGMW) indicating a circuit for generating = is flipped with the input write gate signal (IMWIN) by OR gate 904. - Generated as a logical OR with the output of flop 906. flip flop 90 6 has its data input driven by the following signal (PMWG), Further, its reset input is connected to the signal (-EN MAP). Gate entrance The power is connected to the input address latch enable signals (IAL, E). It is.
同様に、ORゲート908が、入力メモリ読出し信号(IMRIN)を受取り、 この信号とフリップ・フロップ910のQ出力とのORを取ることによって出力 読出しゲート信号(OXGMR)を発生している。フリップ・フロップ910は 、そのデータ入力では信号(DMWR)を、また、そのゲート入力ではアドレス ・ラッチ・イネーブル信号(i A L E )を受取っている。そのリセット 入力は信号(−EN MAP)に接続されている。Similarly, OR gate 908 receives an input memory read signal (IMRIN); By ORing this signal with the Q output of flip-flop 910, the output A read gate signal (OXGMR) is generated. flip flop 910 , the signal (DMWR) at its data input and the address at its gate input. - Receives latch enable signal (iALE). its reset The input is connected to the signal (-EN MAP).
ロジック902は更に、アドレス変換装置2oによって用いらねる以下の信号を 発生している。Logic 902 further provides the following signals used by address translation device 2o: It has occurred.
ACK=−I XACK −(22) TRI ACK=−AC−=−(23,)INT MAP Dis =IXACK−(IA19−IAlo、=O)信号(INT MAP DIS) は、割込みが肯定されており、しかもIAO9より上の非拡張アドレス信号が全 て「0」であることを信号(I XACK)が示しているときに、即ち、0〜1 023の領域の中のメモリ・ロケーションがアドレスされていることを示してい るどきに、真状態となる。この領域は、インテル8088〜インテル80386 のプロセッサ・ファミリーの、ハードウェア定義割込みベクタ格納領域である。ACK=-I XACK-(22) TRI ACK=-AC-=-(23,)INT MAP Dis =IXACK-(IA19-IAlo, =O) signal (INT MAP DIS) interrupt is asserted and all non-extended address signals above IAO9 are When the signal (I indicates that a memory location within the 023 area is being addressed. At some point, it becomes the true state. This area covers Intel 8088 to Intel 80386 This is the hardware-defined interrupt vector storage area for the processor family.
タイミング発生回路i oooが第10図に示されており、図示の回路は4個の カスケード式に接続されたフリップ・フロップ1002,1004.1006、 及び1008を含んでいる。フリップ・フロップi 002はI10読出しパル スまたはI10書込みパルスの発生によってクロッキングされたときに、または 、信号出力イネーブルXバス(OGNXB)が真状態となったときに、セットさ れる。これによって、残りの3個のフリップ・フロップ1004〜1008が入 力クロック信号(I CLK)とこの人力クロック信号の相補信号とにによって クロッキングされるにつれて、論理状態「l」が同期してそしてシーケンシャル に、それらの3個のフリップ・フロップ1004〜1008を通過して行くよう になる。この論理状態「1」信号がフリップ・フロップ1006に到達すると同 時にこのフリップ・フロップ1006のQN出力は活性状態であるロー状態とな り、それによって信v= (−MAP as)を発生し、この信号はマルチプレ クサ606を制御してマツピングRA M112へのアトIノス入力を選択させ る。半クロック・サイクル後に、フリップ・フロップ1008がセットされてそ の出力QNが活性状態であるロー状態とされ、それによって信号(−DATA EN)を発生し、この信号はマツピングRAMlX2の書込みをイネーブルする 。The timing generation circuit iooo is shown in FIG. 10, and the illustrated circuit consists of four cascaded flip-flops 1002, 1004.1006, and 1008. Flip-flop i002 is I10 read pulse or when clocked by an I10 write pulse. , is set when the signal output enable X bus (OGNXB) becomes true. It will be done. This causes the remaining three flip-flops 1004-1008 to be input. by the manual clock signal (ICLK) and the complementary signal of this manual clock signal. As clocked, logic state "l" is synchronous and sequential , through those three flip-flops 1004 to 1008. become. When this logic state "1" signal reaches flip-flop 1006, At times, the QN output of this flip-flop 1006 is in an active low state. , thereby generating the signal v = (-MAP as), and this signal is Control the handler 606 to select the atto Inos input to the mapping RA M112. Ru. After half a clock cycle, flip-flop 1008 is set and its The output QN of is set to the active low state, thereby causing the signal (-DATA EN), and this signal enables writing to the mapping RAM 1X2. .
第11図は、割込みに対して肯定応答がなされたことを表わしている割込みフリ ップ・−70ツブ1io2を示す、フリップ・フロップ1102は、入力割込み 肯定信号によってクロッキングされたときに、セットされて信号(INTA F −1F)を発生する。このフリップ・フロップは、制御レジスタlO8にその第 5データ・ビットがセットされた状態で書込みが行なわれるときに、または、シ ステム・リセット信号(I X、 RE S )に応答して、リセットされる。Figure 11 shows an interrupt flag indicating that the interrupt has been acknowledged. Flip-flop 1102, which shows input interrupt When clocked by the affirmative signal, it is set and the signal (INTA F -1F) is generated. This flip-flop has its first 5 data bit set, or when a write is performed with the It is reset in response to a stem reset signal (IX, RES).
第12図は、入力アドレスlAl5〜I AOOを受取り、そして夫々、ラッチ されたアドレスlA15〜IAOOを出力する、メモリ・アドレス・ラッチ13 2の構成を示している。このラッチ132は入力アドレス・ラッチ・イネーブル 信号I ALEによってクロッキングされる。FIG. 12 receives input addresses lAl5 to IAOO and latches them respectively. Memory address latch 13 outputs the addresses lA15 to IAOO 2 configuration is shown. This latch 132 is the input address latch enable. It is clocked by the signal IALE.
割込み応答検出信号を発生するための回路が第13図に示されている。11込み ベクタ・タイプ・ラッチ110が、割込みコントローラ54が入力割込み肯定応 答信号(IINTA)に応答して発生した割込みバクタ・タイプを、入力データ 信号ID7〜IDOから受取ってラッチする。ロジック回路1302は、割込み 肯定応答フリップ・フロップ1102がセットされた状態にあり、しかも、現在 アドレス信号IAO9〜I AO2が割込みベクタ・タイプ・ラッチ110に格 納されている割込みベクタ・タイプSL7〜SLOと一致しているときには、以 下のようにベクタ比較信号(VECCOMP)を発生する。A circuit for generating an interrupt response detection signal is shown in FIG. 11 included Vector type latch 110 allows interrupt controller 54 to acknowledge input interrupts. The interrupt vector type that occurred in response to the response signal (IINTA) is input to the input data. It receives and latches signals ID7 to IDO. Logic circuit 1302 interrupts Acknowledge flip-flop 1102 is set and currently Address signals IAO9 to IAO2 are stored in interrupt vector type latch 110. If it matches the stored interrupt vector type SL7 to SLO, the following A vector comparison signal (VECCOMP) is generated as shown below.
CH+TNM I −(25) 信号(TNMI)は、以下の関数に従って発生され、TNMI=INMI −( −IAO2)−1AO3・ (−1AO4) ・ (−1AO5)・ (−1A O6) ・ (−IAO7)・ (−1AO8) ・ (−I AO9)−(2 6)この関数は、入力ノンマスカブル割込み信号(INMI)が、八−ドウェア 定義ノンマスカブル割込みベクタ格納ロケーション0000 : 0008H1 oooo :000BHの1つがアドレスされているときに、活性状態となって いることを表わしている。従って、信号(VECCOMP)を用いて、割込みベ クタのアドレスの変換を禁止することができる。CH+TNM I-(25) The signal (TNMI) is generated according to the following function, TNMI = INMI - ( -IAO2)-1AO3・(-1AO4)・(-1AO5)・(-1A O6)・(-IAO7)・(-1AO8)・(-IAO9)-(2 6) This function uses an input non-maskable interrupt signal (INMI) Definition Non-maskable interrupt vector storage location 0000: 0008H1 oooo: becomes active when one of 000BH is addressed. It means that there is. Therefore, using the signal (VECCOMP), interrupt Translation of the address of the vector can be prohibited.
ページ・メモリI10アドレス・マルチプレクサ回路1402が第14図に示さ れている。この回路はDMAアドレス・ラッチ130を含み、このラッチはI1 0アドレス入力をデコードして得られた信号(−WRPGSEL)に応答して、 入力データ信号IDO〜ID6を受取ってラッチする。マルチプレクサ160は 、ラッチされたアドレス信号の下位4桁のビットDMALAO〜DMALA3を そのB入力に受取っており、また、ラッチされたアドレス信号LAOONLAO 3をその六入力に受取っている。A page memory I10 address multiplexer circuit 1402 is shown in FIG. It is. This circuit includes a DMA address latch 130, which is I1 In response to the signal (-WRPGSEL) obtained by decoding the 0 address input, It receives and latches input data signals IDO to ID6. The multiplexer 160 , the lower 4 bits DMALAO to DMALA3 of the latched address signal is receiving the latched address signal LAOONLAO on its B input. 3 to its six inputs.
クローン・モード・ページ・レジスタの1つがアドレスされている場合を除き、 信号80Hは不活性状態であるハイ状態となっており、また、信号PMAO〜P MA6はDMAアドレス・レジスタ130の内容を反映している。これは、CP Uの、DMAページ・レジスタ118の内部の41個のレジスタのうちの選択さ れた1個のレジスタに対する読出し動作ないし書込み動作をイネーブルし、斯か る動作は、最初にI10アドレス空間ボート430Hを使用して選択されたアド レスのDMAアドレス・レジスタ130への書込みを行ない、その後に、夫々ボ ート431Hないしボート432Hの上位ないし下位のページ・レジスタ・セク ションのうちの選択されたセクションの読出しまたは書込みを行なうことによっ て、実行される。Unless one of the clone mode page registers is being addressed, The signal 80H is in an inactive high state, and the signals PMAO to P MA6 reflects the contents of DMA address register 130. This is CP Select one of the 41 registers inside the DMA page register 118 of U. enable read or write operations to one register, and The operation begins with the selected address using I10 address space port 430H. write to the DMA address register 130 of the address, and then write to the DMA address register 130 of each Upper or lower page register sector of port 431H or boat 432H by reading or writing selected sections of the section. and executed.
従来のクローン・モードATページ・レジスタの各々は、110のアドレス空間 80〜8FHの内部に位置している。これらのI10空間アドレスのうちの1つ が送出されると、信号80Hが活性状態であるロー状態となり、それによってA NDゲート1404.1406、及び1408がディスエーブルされ、そしてマ ルチプレクサ160が、ラッチされているアドレス信号LAOO〜LAO3を出 力信号PMAO−PMA4として送出する。これらの4つの信号があれば、8個 のクローン・モードDMAレジスタを互いに識別し、そして選択されたレジスタ の従来のAT I10空間ボートアドレスに書込みが行なえるようにするのには 充分である。このことは、これらの8個のレジスタに対するクローン・モードと 拡張モードとの、デュアル・モードのアドレッシングを容易なものとしており、 それによって、それらのレジスタが、I10コントローラ18の内部に収容され ている8個の従来の対応するレジスタを追跡することができるようになっている 。Each of the conventional clone mode AT page registers has an address space of 110 It is located inside 80-8FH. One of these I10 space addresses is sent, the signal 80H goes to an active low state, thereby causing the A ND gates 1404, 1406, and 1408 are disabled and The multiplexer 160 outputs the latched address signals LAOO-LAO3. It is sent out as a force signal PMAO-PMA4. If you have these 4 signals, 8 clone mode DMA registers from each other and the selected register To be able to write to the traditional AT I10 space boat address of That's enough. This means that clone mode and It facilitates dual mode addressing with extended mode. Thereby, those registers are housed inside the I10 controller 18. It is now possible to track the eight legacy corresponding registers .
第7図に関する説明において、アドレス・ロジック702がページ・レジスタ1 18のアドレス端子へ、PMAO−PMA6のI10アドレス信号か、またはD MA/(−ジ・レジスタ選択信号IEDI、I EDO。7, address logic 702 is page register 1. 18 address terminal, PMAO-PMA6 I10 address signal or D MA/(- register selection signal IEDI, IEDO.
I DAK4、及びIDX16−lDX141!P(1)、いずれか一方を転送 するマルチプレクサとして動作していることを再度銘記されたい。I DAK4, and IDX16-1DX141! P(1), transfer either one Note again that it is operating as a multiplexer.
第14図は、ラスト・インストラクション・アドレス・レジスタ(最新命令アド レス・レジスタ)124を詳細に示している。このレジスタは、入方命令取り出 し信号CllN5F)が活性状態であるロー状態にある間に入力クロック信号( ICLK)によってクロッキングされると、入力アドレス信号lAl6〜lA2 3を入力とじて受取る。ゲート1502は、I10読出し信号(IXIOR)が 活性状態であるロー状態である間に命令取り出しレジスタ124のI10アドレ スがデコードされたことを信号(−1PORTン (450H)が示したときに 、ラッチ124の出力が出力データ・バス104に接続されるようにするもので ある。このゲート信号は続いて反転され、それによって出力イネーブル信号(X GEN)が発生される。Figure 14 shows the last instruction address register (latest instruction address register). 124 is shown in detail. This register is used to retrieve incoming instructions. The input clock signal (CLLN5F) is in the active low state. ICLK), the input address signals lAl6-lA2 3 is input and received. Gate 1502 receives the I10 read signal (IXIOR). While in the active low state, the I10 address of the instruction fetch register 124 is When the signal (-1 PORT (450H)) indicates that the , which causes the output of latch 124 to be connected to output data bus 104. be. This gate signal is subsequently inverted, thereby causing the output enable signal (X GEN) is generated.
主に入力及び出力のバッファリングとゲーティングとを行なっている混成ロジッ ク回路の説明を行なえば、このアドレス変換装置の説明は完了する。第16図に 示すように、信号DPA14及び信号DPA15が信号(−RD PG Hl) によってゲーティングされ、それによって、ページ・レジスタの上位の部分が読 出される際の出力データ・バスへのゲーティングのための信号(XDOC) と 信号(XD I C) とが発生サレル。Hybrid logic that primarily performs input and output buffering and gating. The explanation of this address translation device will be completed by explaining the circuit. In Figure 16 As shown, the signal DPA14 and the signal DPA15 are the signals (-RD PG Hl) The upper part of the page register is gated by signal for gating to the output data bus when output (XDOC) and Signal (XD IC) is generated.
第17図は、DMAページ・レジスタ118の下位バイトがI10アドレス空間 内において読出される際に、この下位バイトを出力データ・バス104ヘゲ−テ ィングするためのゲートl 702を示す、第18図は、、DMAモード制御レ ジスタ114の出力を、信号XD6E〜XDOEとして、出力ヘゲ−ティングす るためのゲート1802を示す、第19図は、この制御レジスタのブータラ、信 号xDOFNxD4F及び信号XD6F〜XD7Fとして、出力ゲーティングす るためのゲート1902を示す、第5ビツトは割込みリセット・ビットであり、 読み出されないことに注意されたい。Figure 17 shows that the lower byte of DMA page register 118 is in the I10 address space. This lower byte is transferred to the output data bus 104 when read within the FIG. 18 shows the gate l 702 for controlling the DMA mode control level. The output of register 114 is gated to the output as signals XD6E to XDOE. FIG. 19 shows the gate 1802 for controlling this control register's booter, signal. Output gating signal xDOFNxD4F and signals XD6F to XD7F The fifth bit is an interrupt reset bit, indicating gate 1902 for Note that it is not read out.
データ・バスに対する双方向接続構造が第20図に示されている。説明のために 述べておくと、末尾にrAJが付されたrXDOJは、マツピングRAM112 の下位ビットに関するもの、rBJが付されているのは上位ビットに関するもの 、「C」を付されているのはページ・レジスタ118の下位ビットに関するもの 、rDJが付されているのは上位ビットに関するもの、「E」が付されているの はモード制御レジスタ114に関するもの、「F」が付されているのは制御レジ スタ108に関するもの、そして末尾のrGJは最新命令アドレス・レジスタ1 24を表わしている。A bidirectional connection structure for the data bus is shown in FIG. for explanation As mentioned above, rXDOJ with rAJ at the end is the mapping RAM 112 Those related to the lower bits of , those marked with rBJ are related to the upper bits , those marked with a "C" refer to the lower bits of the page register 118. , rDJ refers to the upper bits, and “E” refers to the upper bits. are related to the mode control register 114, and those marked with “F” are control registers. rGJ at the end is the latest instruction address register 1. It represents 24.
信号(INSF)は受取られるとバッファリングされ、そして新たに信号(II NSF)として指定される。Once the signal (INSF) is received, it is buffered and a new signal (II NSF).
同様にして、入力アドレス信号AOO−A23は受取られるとバッファリングさ れて、新たに信号I AOO〜lA23として指定される。Xバス入力アドレス 信号DX14〜DX16は、各々、バッファリングされて新たに信号IDX14 〜I DX l Bとして指定される。Similarly, input address signal AOO-A23 is buffered as it is received. Then, the signals are newly designated as signals IAOO-1A23. X bus input address The signals DX14 to DX16 are each buffered and newly output as the signal IDX14. ~IDXlB.
出力アドレス信号OXA 14〜OXA 16については、それらはバッファリ ングされ、そして信号X A i 4〜XAl6として、XAババス6ヘゲーテ イングされる。Regarding output address signals OXA 14 to OXA 16, they are buffered. and as signals XAi4~XAl6, ing.
ゲーティングされたメモリ読出し信号(OXGMR)並びにメモリ書込み信号( OXGMW)は、バッファリングされ、そして信号(XGMR)及び信号(XG MU)として、それらの夫々の出力ヘゲ−ティングされる。それらの信号は以下 のようにしてゲーティングされ変換出力アドレス信号0TA17〜0TA23は 、バッファリングされ、そして信号(TRI XMST)によってゲーティング された後に、信号TA17〜TA23として、]゛AアAアドレスへ出力される 。Gated memory read signal (OXGMR) as well as memory write signal ( OXGMW) is buffered and the signal (XGMR) and signal (XG MU), their respective outputs are gated. Those signals are below The converted output address signals 0TA17 to 0TA23 are gated as follows. , buffered and gated by the signal (TRI XMST) After that, the signals TA17 to TA23 are output to the ``AaA address. .
入力信号EBO,EBI、DAK4、及びXlORは、バッファリングされ、そ して新たに夫々、信号IEBO,IEBI、IDAK4、及びI X I OR に指定される。また入力信号Xl0W、XRES。Input signals EBO, EBI, DAK4, and XlOR are buffered and and newly set the signals IEBO, IEBI, IDAK4, and IXIOR, respectively. specified. Also input signals Xl0W, XRES.
A20G%CLK、及びAENIは、バッファリングされ、ソt、”r新たに夫 々、信号I X I OW、I XRES、lA20G% ICLK、及びIA ENIに指定される。A20G%CLK, and AENI are buffered and , signals IXIOW, IXRES, lA20G% ICLK, and IA Specified in ENI.
割込みに関する入力信号XACK、XN5T。Input signal XACK, XN5T regarding interrupt.
NMI、INTA、及びMNIOは、バッファリングされ、ソシテ新たに大々、 信号IXACK、lXN5T、INMI%INTA、及びIM Noに指定され る。NMI, INTA, and MNIO are buffered and newly added. Signals IXACK, lXN5T, INMI%INTA, and IM No. Ru.
メモリ・アクセス入力信号MWIN、MRIN、及びALEは、バッファリング されて、斬たに信号IMWIN% IMRIN、及びI ALEに指定される。Memory access input signals MWIN, MRIN, and ALE are buffered. and is assigned to the signals IMWIN%, IMRIN, and IALE.
出力信号ONP、0EWXB、及び0TA14〜OTA 16は、バッファリン グされ、そして更にゲーティングされることなく、それらの出力端子へ夫々、信 号NP、EMXB、及びTA 14〜TA l 6トL、テ、接続される。Output signals ONP, 0EWXB, and 0TA14 to OTA16 are buffer links. signals to their output terminals, respectively, without further gating. No. NP, EMXB, and TA 14 to TA 6 are connected.
以上、本発明に係るアドレス変換装置を含むコンビエータ・システムの具体的な 構成を示して説明してきたが1本発明がこの構成に限定されるものではないこと は明らかである。従って、添付の請求の範囲の範鴫に包含される、変更態様、別 懇様、ないし同等の態様の構成もまた、本発明の範晴に包含されるものと解釈さ れるべきである。As described above, the specific details of the combiator system including the address translation device according to the present invention have been described. Although the configuration has been shown and explained, the present invention is not limited to this configuration. is clear. Accordingly, modifications and variations that fall within the scope of the appended claims Similar or equivalent configurations are also construed as falling within the scope of the present invention. Should be.
FIG、1l FIG、l2 FIG、13 国際調臀−9だ一、W、−、−?CT/LjS88 / 006 ?3PCT/ 1Js88100613 CONTINUAT’ION OF SUPPLEMENTAL 5HEET (2)IV、Claims 20−22 and 24−40 drawn t o circuitry foraddressing mapping 5t ore; class 3645ubcLass 900V、 Claim 2 3 drawn to address sysヒam using dedi caセed pageregister; class 3645ubclas s 900FIG, 1l FIG, l2 FIG. 13 International hip-9, W, -, -? CT/LjS88/006? 3PCT/ 1Js88100613 CONTINUAT’ION OF SUPPLEMENTAL 5HEET (2) IV, Claims 20-22 and 24-40 drawn t o circuitry foraddressing mapping 5t ore; class 3645ubcLass 900V, Claim 2 3 drawn to address system using dedi cased pageregister; class 3645ubclass s 900
Claims (1)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US07/084,318 US4849875A (en) | 1987-03-03 | 1987-08-10 | Computer address modification system with optional DMA paging |
US84,318 | 1987-08-10 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02500224A true JPH02500224A (en) | 1990-01-25 |
JPH0585052B2 JPH0585052B2 (en) | 1993-12-06 |
Family
ID=22184198
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63502786A Granted JPH02500224A (en) | 1987-08-10 | 1988-02-29 | Computer system with computer address translation device |
Country Status (3)
Country | Link |
---|---|
JP (1) | JPH02500224A (en) |
KR (1) | KR960005392B1 (en) |
WO (1) | WO1989001662A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5437042A (en) * | 1992-10-02 | 1995-07-25 | Compaq Computer Corporation | Arrangement of DMA, interrupt and timer functions to implement symmetrical processing in a multiprocessor computer system |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4158227A (en) * | 1977-10-12 | 1979-06-12 | Bunker Ramo Corporation | Paged memory mapping with elimination of recurrent decoding |
GB1601955A (en) * | 1977-10-21 | 1981-11-04 | Marconi Co Ltd | Data processing systems |
US4164786A (en) * | 1978-04-11 | 1979-08-14 | The Bendix Corporation | Apparatus for expanding memory size and direct memory addressing capabilities of digital computer means |
US4340932A (en) * | 1978-05-17 | 1982-07-20 | Harris Corporation | Dual mapping memory expansion unit |
JPS5544613A (en) * | 1978-09-25 | 1980-03-29 | Toshiba Corp | Memory device |
US4419727A (en) * | 1979-01-02 | 1983-12-06 | Honeywell Information Systems Inc. | Hardware for extending microprocessor addressing capability |
US4403283A (en) * | 1980-07-28 | 1983-09-06 | Ncr Corporation | Extended memory system and method |
US4550368A (en) * | 1982-07-02 | 1985-10-29 | Sun Microsystems, Inc. | High-speed memory and memory management system |
JPS5952497A (en) * | 1982-09-17 | 1984-03-27 | Nec Corp | Decoder circuit |
US4669043A (en) * | 1984-02-17 | 1987-05-26 | Signetics Corporation | Memory access controller |
JPS60179984A (en) * | 1984-02-27 | 1985-09-13 | Nec Corp | Memory circuit system |
US4688166A (en) * | 1984-08-03 | 1987-08-18 | Motorola Computer Systems, Inc. | Direct memory access controller supporting multiple input/output controllers and memory units |
JPH0799616B2 (en) * | 1984-08-30 | 1995-10-25 | 三菱電機株式会社 | Semiconductor memory device |
JPS61104391A (en) * | 1984-10-23 | 1986-05-22 | Fujitsu Ltd | Semiconductor storage device |
-
1988
- 1988-02-29 JP JP63502786A patent/JPH02500224A/en active Granted
- 1988-02-29 KR KR1019890700612A patent/KR960005392B1/en active IP Right Grant
- 1988-02-29 WO PCT/US1988/000613 patent/WO1989001662A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
JPH0585052B2 (en) | 1993-12-06 |
WO1989001662A1 (en) | 1989-02-23 |
KR960005392B1 (en) | 1996-04-24 |
KR890702128A (en) | 1989-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4849875A (en) | Computer address modification system with optional DMA paging | |
US4891752A (en) | Multimode expanded memory space addressing system using independently generated DMA channel selection and DMA page address signals | |
US4045781A (en) | Memory module with selectable byte addressing for digital data processing system | |
US4151593A (en) | Memory module with means for controlling internal timing | |
EP0461924B1 (en) | Memory address space determination using programmable limit registers with single-ended comparators | |
US4173783A (en) | Method of accessing paged memory by an input-output unit | |
US4761733A (en) | Direct-execution microprogrammable microprocessor system | |
JP2633458B2 (en) | DMA channel device and DMA channel conversion device | |
EP0258559B1 (en) | Cache memory coherency control provided with a read in progress indicating memory | |
KR920005280B1 (en) | High speed cache system | |
JP3987577B2 (en) | Method and apparatus for caching system management mode information along with other information | |
US5101339A (en) | Computer address modification system using writable mapping and page stores | |
US5060186A (en) | High-capacity memory having extended addressing capacity in a multiprocessing system | |
US5283889A (en) | Hardware based interface for mode switching to access memory above one megabyte | |
EP0175620B1 (en) | Access verification arrangement for digital data processing system which has demand-paged memory | |
EP0549218A1 (en) | A memory apparatus and method for use in a data processing system | |
US5127096A (en) | Information processor operative both in direct mapping and in bank mapping, and the method of switching the mapping schemes | |
WO1995025307A1 (en) | Methods and apparatus for increased efficiency bus transactions | |
JPH10143431A (en) | Caching method of data for microprocessor and computer system | |
JPH02500224A (en) | Computer system with computer address translation device | |
JPS61275946A (en) | Cash mmu system | |
US5809534A (en) | Performing a write cycle to memory in a multi-processor system | |
US5857116A (en) | Circuit for disabling an address masking control signal when a microprocessor is in a system management mode | |
US5282172A (en) | Look-ahead circuit for fast decode of bankselect signals in EMS systems | |
CA1090923A (en) | Memory arrangement for use in a digital data processing system |