Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6316779B2 - - Google Patents
[go: Go Back, main page]

JPS6316779B2 - - Google Patents

Info

Publication number
JPS6316779B2
JPS6316779B2 JP56111874A JP11187481A JPS6316779B2 JP S6316779 B2 JPS6316779 B2 JP S6316779B2 JP 56111874 A JP56111874 A JP 56111874A JP 11187481 A JP11187481 A JP 11187481A JP S6316779 B2 JPS6316779 B2 JP S6316779B2
Authority
JP
Japan
Prior art keywords
ram
rom
data
cpu
read
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.)
Expired
Application number
JP56111874A
Other languages
Japanese (ja)
Other versions
JPS5814260A (en
Inventor
Tatsuro Konuma
Takao Matsubayashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56111874A priority Critical patent/JPS5814260A/en
Publication of JPS5814260A publication Critical patent/JPS5814260A/en
Publication of JPS6316779B2 publication Critical patent/JPS6316779B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/06Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
    • G06F12/0638Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 本発明は同一データバスを共有するCPUと複
数のメモリとの間において、CPU介在方式によ
るメモリ間のデータ転送をわずかなハード(回
路)追加によりデータ書込みをなす転送速度の高
速化を意図するデータ転送方式に関す。
[Detailed Description of the Invention] The present invention provides a data transfer speed that allows data writing between a CPU and multiple memories sharing the same data bus using a CPU-mediated method by adding a small amount of hardware (circuit). Concerning a data transfer method intended to increase speed.

汎用型の計算機において、電源投入後、先づ計
算機が実行する所要のインタプリンタやOSプロ
グラムを主メモリとしてのRAM(Random
Acess Memoryの略)に読取らせる所謂IPL
(Initial Program Load)を効率よく行なうこと
が要請される。
In a general-purpose computer, after the power is turned on, the necessary interpreters and OS programs executed by the computer are stored in RAM (Random) as the main memory.
So-called IPL that is read by Access Memory)
(Initial Program Load) is required to be carried out efficiently.

かかるIPL対象のプログラムは例えば紙テー
プ、磁気テープ及びROM(Read Only
Memory)等のメモリ媒体に収納された
FORTRAN、BASICのインタプリタプログラム
等一連の変更を要しないプログラムがある。従
来、これら媒体からプログラムを前記RAMに転
送するには、1バイト単位でCPUがデータを読
取り、RAMに格納する、もしくはDMA方式で
転送されていた。
Such IPL target programs include, for example, paper tape, magnetic tape, and ROM (Read Only
stored in a memory medium such as
There are programs that do not require a series of changes, such as FORTRAN and BASIC interpreter programs. Conventionally, in order to transfer a program from these media to the RAM, the CPU reads the data one byte at a time and stores it in the RAM, or the data is transferred using a DMA method.

第1図はROMからRAMへのデータ転送例で
ある。即ち図はCPU介在方式による一まとまり
のデータをRAMへ転送するに当り、それぞれの
RAM及びROMがCPUを共有するアドレスデー
タバス1とデータ転送バス2を設けROMと
RAMが互にアドレス1000H乃至2FFFで一致する
アドレス一致領域を形成せしめてかつ、メモリバ
ンク切替回路3によりROMとRAMを交互に有
効として、CPUがROMからデータを読みバンク
を切替えてRAMにデータ格納をする動作を繰返
しながらデータ転送がされる。
FIG. 1 is an example of data transfer from ROM to RAM. In other words, the figure shows that when transferring a batch of data to RAM using the CPU-mediated method, each
An address data bus 1 and a data transfer bus 2 are provided so that RAM and ROM share the CPU.
By forming an address matching area where the RAMs match each other at addresses 1000H to 2FFF and by enabling the ROM and RAM alternately by the memory bank switching circuit 3, the CPU reads data from the ROM, switches banks, and stores the data in the RAM. Data is transferred by repeating these operations.

第1図のREADとWRITEは、CPUがROM側
からデータを読取り(READ)、又CPUから
RAMへデータ書込み(WRITE)格納する指令
信号が出されるを示す。しかしかかるCPU介有
方式のデータ転送はREADとWRITEとの動作を
交互に繰返す動作であるため転送速度が遅い。
READ and WRITE in Figure 1 indicate that the CPU reads data from the ROM side (READ), and also that the CPU reads data from the ROM side.
Indicates that a command signal to write (WRITE) data to RAM is issued. However, such CPU-mediated data transfer involves alternating READ and WRITE operations, so the transfer speed is slow.

これを改善するためバンク切替回路を介さず
ROMから直かにRAMへデータ転送がされる
DMA(Direct Memory Access)方式で行なう
こともあるが、該DMA方式はハードが複雑とな
る。又、ROMを入出力制御のI/O領域内に設
けた場合でもROMアクセス用カウンタが必要と
なる等そのハードが複雑になるのはさけられな
い。
In order to improve this, the bank switching circuit is not used.
Data is transferred directly from ROM to RAM
This may be performed using a DMA (Direct Memory Access) method, but the DMA method requires complicated hardware. Furthermore, even if the ROM is provided in the I/O area for input/output control, it is inevitable that the hardware will become complicated, such as requiring a ROM access counter.

本発明の目的は前記の不都合を解消することで
ある。目的達成に当り、本発明は、データバスを
介してCPUとメモリ間のデータ転送を行なう計
算機において、ROMアドレスの全部あるいは一
部アドレスがRAMアドレスと一致しかつデータ
バスも一致している主メモリRAMを備え、
ROMからRAMへ直接データ転送動作を表示す
る手段と、ROMとRAMのアドレス一致領域を
検出する手段と、CPUからROMに対する読取り
指令をRAMに対しては書込み指令とする指令切
替え手段を設けて、前記アドレス一致を検出する
手段及び前記表示手段の出力が有効である限り、
CPUからROMに対する読取り指令で、アドレス
の一致するRAM領域へのデータ書込みを可能と
したことである。
The object of the invention is to eliminate the above-mentioned disadvantages. To achieve the object, the present invention provides a main memory in which all or part of the ROM address matches a RAM address and the data bus also matches, in a computer that transfers data between a CPU and a memory via a data bus. Equipped with RAM,
A means for displaying a direct data transfer operation from ROM to RAM, a means for detecting an address matching area between ROM and RAM, and a command switching means for converting a read command from the CPU to ROM into a write command to RAM, As long as the output of the means for detecting address matching and the output of the display means are valid,
This makes it possible to write data to a RAM area with a matching address by issuing a read command from the CPU to the ROM.

以下、本発明の一実施例を示す第2図回路に従
がい、計算機の演算処理に必要なROM収納のプ
ログラムを主メモリRAMに例えばIPLなどする
さいの要部構成手段について説明する。即ち、第
2図を第1図と比較参照して明らかな様にROM
からRAMへのデータ転送が、わずかなハード追
加のみでCPUからの所要命令数が少く、しかも
転送速度は従来の倍以上となり、また転送が終了
すれば主メモリ領域を有効に利用するため、デー
タバス2のROM側データバス2′は切離される。
Hereinafter, referring to the circuit shown in FIG. 2 which shows one embodiment of the present invention, a description will be given of the main constituent means for storing a ROM-stored program necessary for the arithmetic processing of the computer in the main memory RAM, for example, IPL. That is, as is clear from comparing Figure 2 with Figure 1, the ROM
With only a small addition of hardware, data transfer from the CPU to RAM requires fewer instructions from the CPU, and the transfer speed is more than double that of the conventional method. The ROM side data bus 2' of the bus 2 is disconnected.

第2図において、主メモリRAMは例えば64キ
ロバイトの標準的メモリ容量を具備ししかも、
RAMアドレスの1000H乃至2FFFHに該当する8
キロバイトはROMと共存している。この共存ア
ドレス内に対するIPL動作に当り、RAMの
READとWRITE信号は、図の下方に示されるア
ンド・オア回路を経て供給される。アンド・オア
回路の入力は前記CPUのREAD信号と、アドレ
ス一致領域を検出するROM.RAM間のアドレス
検出回路の信号とF/F回路のオン信号からなる
信号の論理によりCPUからのREAD/WRITEと
RAMにおけるREAD/WRITEが一致もしくは
入れ替わるようにされる。
In FIG. 2, the main memory RAM has a standard memory capacity of, for example, 64 kilobytes, and
8 corresponding to RAM address 1000H to 2FFFH
Kilobytes coexist with ROM. When performing an IPL operation within this coexisting address, the RAM
The READ and WRITE signals are fed through an AND-OR circuit shown at the bottom of the diagram. The input of the AND-OR circuit is based on the logic of the signal consisting of the READ signal of the CPU, the signal of the address detection circuit between ROM.RAM that detects the address matching area, and the ON signal of the F/F circuit. and
READ/WRITE in RAM is made to match or swap.

フリツプフロツプF/FはIPL動作時Q=1に
セツト、それ以外の時はQ=0とする。ROMと
RAMアドレス検出回路は例示1000乃至2FFFの
オペレーシヨンコードA12〜A15からアドレス判
別しアドレス一致領域では出力側Cに1を出力し
それ以外のアドレスではC=0とする例えば
NORとEXORの回路から構成される。
The flip-flop F/F is set to Q=1 during IPL operation, and set to Q=0 at other times. ROM and
The RAM address detection circuit determines the address from the operation code A12 to A15 of the example 1000 to 2FFF, and outputs 1 to the output side C in the address matching area, and C=0 for other addresses.
Consists of NOR and EXOR circuits.

本発明のデータ転送手段は、先ずF/FのQ=
1にセツトし、RAMに入力されるREADと
WRITE信号を入替え、かつROMを有効として
おき、その後に1000〜2FFFアドレスをCPUに
READさせる。このアドレスは前記一致領域で
あるためC=1が出力され、前記アンド・オア回
路ではB側が有効、つまりRAMにはCPUの読取
り(READ)であるに拘らず書込み(WRITE)
動作を行なう。この時ROMからはアクセスされ
た番地データがバス2に出力されRAMにも供給
される。即ちROMからRAMへデータ転送がさ
れることになる。従来のCPU介在方式ではROM
からデータをREADした後RAMにWRITEする
二段動作が必要であるが、本発明によりREAD
動作のみでRAMへの転送が実行されるためデー
タ転送速度は略倍速度となる。
In the data transfer means of the present invention, first, Q= of F/F
1 and read and write input to RAM.
Replace the WRITE signal and enable the ROM, then transfer addresses 1000 to 2FFF to the CPU.
Make it READ. Since this address is in the matching area, C=1 is output, and in the AND-OR circuit, the B side is valid, that is, the RAM is written (WRITE) regardless of the CPU read (READ).
Perform the action. At this time, the accessed address data is output from the ROM to the bus 2 and also supplied to the RAM. That is, data is transferred from ROM to RAM. In the conventional CPU-mediated method, ROM
A two-step operation is required, in which data is read from the RAM and then written to the RAM.
Since data is transferred to RAM only by operation, the data transfer speed is approximately double the speed.

前記F/Fの出力(又はQ出力)をROMに
対するENABLE信号として与えることにより
IPL動作時のみROMが有効となり、IPL動作以外
ではF/FがクリアされROMは無効となりメモ
リ空間でROMは切離されたも同様でありROM
の影響は全くない。
By giving the output (or Q output) of the F/F as an ENABLE signal to the ROM.
The ROM is valid only during IPL operation, and when other than IPL operation, the F/F is cleared and the ROM becomes invalid.The same is true even if the ROM is separated in the memory space.
There is no influence at all.

前記実施例の説明において、READとWRITE
とは分離された形で示し、又論理回路もアンド・
オア回路で構成したものが示されるも、この回路
は各種の変形がありうる。READとWRITE信号
が一本のものもあるが、この場合はREADがH
レベルであるとすれば、、強制的にLレベルに落
としてやれば前記同様のメモリ間データ転送が実
行されることになる。
In the explanation of the above embodiment, READ and WRITE
The logic circuit is shown separately from the and.
Although an OR circuit is shown, this circuit may be modified in various ways. Some models have only one READ and WRITE signal, but in this case, READ is high.
If it is at the L level, if it is forcibly lowered to the L level, the same inter-memory data transfer as described above will be executed.

以上、本発明のデータ転送方式によれば簡易な
ハード(回路)構成で倍近い転送速度がえられる
ことになり、これを例えば8ビツトマイコンの
IPL等オペレーシヨンに用いればその効果は大き
い。
As described above, according to the data transfer method of the present invention, the transfer speed can be nearly doubled with a simple hardware (circuit) configuration.
The effect is great if used in operations such as IPL.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来のデータ転送回路例を、第2図は
本発明の一実施例であるデータ転送回路図を示
す。
FIG. 1 shows an example of a conventional data transfer circuit, and FIG. 2 shows a data transfer circuit diagram according to an embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1 データバスを介してCPUとメモリ間のデー
タ転送を行なう計算機において、ROMアドレス
の全部あるいは一部アドレスがRAMアドレスと
一致しかつデータバスも一致している主メモリ
RAMを備え、ROMからRAMへ直接データ転送
動作を表示する手段と、ROMとRAMのアドレ
ス一致領域を検出する手段と、前記アドレス一致
領域を検出する手段および前記表示手段の出力の
何れも有効の場合にはCPUからROMに対する続
取り指令をRAMに対しては書込み指令とし、そ
の他の場合はCPUからの読取り指令又は書込み
指令をそのままRAMに対して出力する指令切り
替え手段を設け、CPU側からROMに対する読取
り指令で、アドレスの一致するRAM領域へのデ
ータ書込みを可能としたことを特徴とするデータ
転送方式。
1. In a computer that transfers data between the CPU and memory via a data bus, main memory whose ROM addresses, in whole or in part, match RAM addresses and whose data bus also matches.
A means for displaying a data transfer operation directly from the ROM to the RAM, a means for detecting an address matching area between the ROM and the RAM, and an output of the means for detecting the address matching area and the display means are both effective. In some cases, a takeover command from the CPU to ROM is used as a write command to RAM, and in other cases, a command switching means is provided to output read or write commands from the CPU as they are to RAM. A data transfer method characterized by making it possible to write data to a RAM area with a matching address using a read command.
JP56111874A 1981-07-17 1981-07-17 Data transfer system Granted JPS5814260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56111874A JPS5814260A (en) 1981-07-17 1981-07-17 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56111874A JPS5814260A (en) 1981-07-17 1981-07-17 Data transfer system

Publications (2)

Publication Number Publication Date
JPS5814260A JPS5814260A (en) 1983-01-27
JPS6316779B2 true JPS6316779B2 (en) 1988-04-11

Family

ID=14572315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56111874A Granted JPS5814260A (en) 1981-07-17 1981-07-17 Data transfer system

Country Status (1)

Country Link
JP (1) JPS5814260A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1306065C (en) * 2004-05-14 2007-03-21 中国科学院理化技术研究所 Controllable microbial etching device
US10843137B2 (en) 2015-12-10 2020-11-24 Fujifilm Corporation Method for producing protective-layer-covered gas separation membrane, protective-layer-covered gas separation membrane, gas separation membrane module, and gas separation apparatus

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6337884A (en) * 1986-07-31 1988-02-18 Anritsu Corp Address mode switching device
US5109521A (en) * 1986-09-08 1992-04-28 Compaq Computer Corporation System for relocating dynamic memory address space having received microprocessor program steps from non-volatile memory to address space of non-volatile memory
JPH01312651A (en) * 1988-06-13 1989-12-18 Nec Corp Information processor
JPH0652047A (en) * 1992-07-31 1994-02-25 Nec Corp Memory transfer system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6019538B2 (en) * 1976-07-30 1985-05-16 カシオ計算機株式会社 Program writing method
JPS5441631A (en) * 1977-09-09 1979-04-03 Casio Comput Co Ltd Fixed program set system for control
JPS5645946U (en) * 1979-09-18 1981-04-24
JPS57127259A (en) * 1981-01-29 1982-08-07 Toyo Electric Mfg Co Ltd System for high-speed data transfer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1306065C (en) * 2004-05-14 2007-03-21 中国科学院理化技术研究所 Controllable microbial etching device
US10843137B2 (en) 2015-12-10 2020-11-24 Fujifilm Corporation Method for producing protective-layer-covered gas separation membrane, protective-layer-covered gas separation membrane, gas separation membrane module, and gas separation apparatus

Also Published As

Publication number Publication date
JPS5814260A (en) 1983-01-27

Similar Documents

Publication Publication Date Title
US4386402A (en) Computer with dual vat buffers for accessing a common memory shared by a cache and a processor interrupt stack
US6223260B1 (en) Multi-bus data processing system in which all data words in high level cache memories have any one of four states and all data words in low level cache memories have any one of three states
JPS63201851A (en) Buffer storage access method
JPS6316779B2 (en)
EP0426111B1 (en) Memory control system
JPS6022779B2 (en) Multiprocessing system program loading method
JPS63129438A (en) Memory controller
JP2687679B2 (en) Program development equipment
JPS5971510A (en) Sequence control circuit
JPS62276663A (en) Program transfer method
JPS60196858A (en) Input processor of data with label
JPH0448263B2 (en)
JP3074897B2 (en) Memory circuit
JP2964504B2 (en) Document processing device
JPH02108139A (en) Cache memory device
JP2507721B2 (en) Buffer memory device
JP2845746B2 (en) Micro program controller
JPH02217944A (en) Bus monitoring device in cache memory
JPS62269234A (en) Instruction use cache constituting system
JPH01258169A (en) Shared memory addressing scheme
EP0369935A2 (en) Multiple posting cache memory
JPH06337847A (en) Multiprocessor equipment
JPS63253446A (en) Memory priority switching method
JPH01223689A (en) Dual port memory device
JPH02219144A (en) Cache memory with shortened write-back access time