JP2526042Y2 - Memory / register control circuit - Google Patents

Memory / register control circuit

Info

Publication number
JP2526042Y2
JP2526042Y2 JP11690289U JP11690289U JP2526042Y2 JP 2526042 Y2 JP2526042 Y2 JP 2526042Y2 JP 11690289 U JP11690289 U JP 11690289U JP 11690289 U JP11690289 U JP 11690289U JP 2526042 Y2 JP2526042 Y2 JP 2526042Y2
Authority
JP
Japan
Prior art keywords
register
memory
output
control circuit
bits
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 - Lifetime
Application number
JP11690289U
Other languages
Japanese (ja)
Other versions
JPH0358737U (en
Inventor
敬司 常岡
鶴代 姫野
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP11690289U priority Critical patent/JP2526042Y2/en
Publication of JPH0358737U publication Critical patent/JPH0358737U/ja
Application granted granted Critical
Publication of JP2526042Y2 publication Critical patent/JP2526042Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 〈産業上の利用分野〉 本考案は、メモリ・レジスタ制御回路の改良に関す
る。
DETAILED DESCRIPTION OF THE INVENTION <Industrial application field> The present invention relates to an improvement of a memory / register control circuit.

〈従来の技術〉 第3図に示すように、仮想メモリ(ここでは、ビット
幅とアドレス長がハードウェアの制約を受けることなく
自由なサイズに設定できるメモリを指す。ただし、実回
路では大きさに限界がある。)1のビット数が物理メモ
リ(レジスタ)2a〜2dのN倍のビット数であるような構
成の場合(ここではレジスタが8ビット、仮想メモリ1
が32ビットとする)、メモリ1からレジスタへの書き込
みはN回(4回)に分けて行われるが、このときメモリ
の下位数ビット(この場合は2ビット)のアドレスと、
レジスタへの書込信号(Q0〜Q3)を送出する回路、すな
わちメモリ・レジスタ制御回路3が必要となる。
<Prior Art> As shown in FIG. 3, a virtual memory (here, a memory whose bit width and address length can be set to any size without being restricted by hardware. In a configuration in which the number of bits of 1 is N times the number of bits of the physical memories (registers) 2a to 2d (here, the register is 8 bits, the virtual memory 1
Is 32 bits), and writing from the memory 1 to the register is performed N times (four times). At this time, the address of the lower few bits (2 bits in this case) of the memory and
Circuitry for sending a write signal to the register (Q 0 ~Q 3), that is, required memory register control circuit 3.

メモリ・レジスタ制御回路3は通常第4図に示すよう
な構成となっていた。
The memory / register control circuit 3 usually has a configuration as shown in FIG.

図において、31は各レジスタへの書込み終了をカウン
トするアップカウンタ、32は全ての書込みが終了したこ
とを検出するナンド(NAND)素子、33は書込み終了の検
出によりカウンタ31をクリアするためのD型フリップフ
ロップ、34は8ビットのデータをそれぞれ格納する4つ
のレジスタ(図示せず)を順に書込み可能にするための
信号を出力するシフトレジスタである。
In the figure, 31 is an up counter for counting the end of writing to each register, 32 is a NAND (NAND) element for detecting that all writing has been completed, and 33 is a D for clearing the counter 31 by detecting the end of writing. A type flip-flop 34 is a shift register that outputs a signal for sequentially writing four registers (not shown) each storing 8-bit data.

このような構成においては、スタート信号を与えてフ
リップフロップ33の出力をHIGHレベル(以下HIGHレベル
は単にHIGHという)にしておくと共に、そのスタート信
号をシフトレジスタ34の1段目のD入力端に与え、スタ
ート信号がHIGHの期間中に入力されるクロックCLKの立
ち上がりでシフトレジスタの出力がHIGHとなるようにす
る。
In such a configuration, a start signal is supplied to set the output of the flip-flop 33 to a high level (hereinafter, the high level is simply referred to as HIGH), and the start signal is supplied to the D input terminal of the first stage of the shift register 34. The output of the shift register is set to HIGH at the rise of the clock CLK input during the period when the start signal is HIGH.

1番目のシフトレジスタの出力信号Q0は、最初(0番
目)のレジスタに対する書込み信号となり、メモリ(図
示せず)の内容(8ビットのデータ)がそのレジスタに
書き込まれる。この場合メモリに対する下位2ビットの
アドレスは0(カウンタ1の2ビット出力が0)であ
る。
Output signal Q 0 of the first shift register becomes a write signal for the register of the first (0th), memory contents (data of 8 bits) (not shown) is written to that register. In this case, the address of the lower 2 bits for the memory is 0 (the 2-bit output of the counter 1 is 0).

他方カウンタ31は前記クロックを1つカウントしその
出力が1になる。
On the other hand, the counter 31 counts one clock and its output becomes 1.

次のクロックの立ち上がりでシフトレジスタ34の2番
目のフリップフロップの出力Q1がHIGHとなり、2番のレ
ジスタに書込み信号が与えられ、メモリからのデータが
書き込まれる。この場合カウンタ31の出力値が1である
ので、メモリアドレスの下位2ビットが1であるアドレ
スの内容がレジスタに書き込まれる。
Second output Q 1 is HIGH next flip-flop of the shift register 34 at the rising edge of the next clock, the write signal is applied to the No. 2 register, the data from the memory is written. In this case, since the output value of the counter 31 is 1, the contents of the address whose lower two bits of the memory address are 1 are written to the register.

以降同様にして3番目、4番目の各レジスタにデータ
が書き込まれ、8×4ビットのデータが8ビットのレジ
スタ4個に4回に分けて記憶される。
Thereafter, data is written in the third and fourth registers in the same manner, and the data of 8 × 4 bits is stored in four 8-bit registers four times.

〈考案が解決しようとする課題〉 ところで、このような従来のメモリ・レジスタ制御回
路は、部品点数が多く、高価であるという問題があっ
た。
<Problem to be Solved by the Invention> However, such a conventional memory / register control circuit has a problem that it has a large number of components and is expensive.

本考案の目的は、このような問題点を解消するもの
で、回路構成が簡単でしかも安価であるようなメモリ・
レジスタ制御回路を実現しようとするものである。
An object of the present invention is to solve such a problem, and to provide a memory / memory having a simple and inexpensive circuit configuration.
It is intended to realize a register control circuit.

〈課題を解決するための手段〉 このような目的を達成するために、本考案は、ビット
幅とアドレス長が任意に設定可能な仮想メモリのビット
数が、レジスタのビット数のN倍(Nは整数)である構
成において前記仮想メモリからN個の前記レジスタへの
書き込みをN回に分けて行う際、前記仮想メモリに対す
るアドレスと前記レジスタに対する書込み信号とを送出
するメモリ・レジスタ制御回路において、 クロックに同期して前記各レジスタ用の書込み信号を
個別に送出するシフトレジスタと、 最下位ビット入力端がHIGHレベルに固定されると共に
下位より2番目以上の上位各ビット入力端子には前記シ
フトレジスタの初段以降の各出力が順次割り当てられて
入力され、これらのビット入力に対し上位ビット入力を
優先的にエンコードした値を出力するプライオリティ・
エンコーダ を備え、このプライオリティ・エンコーダの出力を前記
仮想メモリにアドレス信号として与えると共に、前記シ
フトレジスタの各段から出力される信号を前記各レジス
タに書込み信号として与えるようにしたことを特徴とす
る。
<Means for Solving the Problems> In order to achieve such an object, the present invention requires that the number of bits of a virtual memory whose bit width and address length can be arbitrarily set be N times (N times) the number of bits of a register. A memory register control circuit that sends an address to the virtual memory and a write signal to the register when writing from the virtual memory to the N registers in N times in the configuration A shift register for individually transmitting a write signal for each of the registers in synchronization with a clock; a shift register having a least significant bit input terminal fixed at a HIGH level and a second or more higher-order bit input terminal from the lower bit. Each output from the first stage onwards is sequentially assigned and input, and the higher-order bit input is preferentially encoded for these bit inputs. Output priority
An encoder is provided, wherein the output of the priority encoder is provided to the virtual memory as an address signal, and a signal output from each stage of the shift register is provided to each of the registers as a write signal.

〈作用〉 シフトレジスタにより択一的に得られるレジスタ書込
み信号をプライオリティ・エンコーダの入力に利用する
ことにより、従来より少ない構成部品で従来と同様のメ
モリアドレスおよびレジスタ書込み信号の制御を行うこ
とができる。
<Operation> By using the register write signal alternatively obtained by the shift register for the input of the priority encoder, it is possible to control the memory address and the register write signal as in the past with fewer components than in the past. .

〈実施例〉 以下図面を参照して本考案の実施例を詳細に説明す
る。第1図は本考案に係るメモリ・レジスタ制御回路の
一実施例を示す構成図である。図において、従来例の第
3図と同等部品には同一符号を付し、その説明は省略す
る。40はプライオリティ・エンコーダであり、その入力
と出力の関係は第1表の通りである。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a memory / register control circuit according to the present invention. In the figure, the same parts as those in FIG. 3 of the conventional example are denoted by the same reference numerals, and the description thereof will be omitted. Reference numeral 40 denotes a priority encoder, and the relationship between its input and output is as shown in Table 1.

ただし、1はHIGH、0はLOWレベル信号を表わし、ま
た同時に複数個の入力(1の信号)があった場合には上
位ビットの入力のみが優先してエンコードされる。
However, 1 indicates HIGH, 0 indicates LOW level signal, and when there are a plurality of inputs (signals of 1) at the same time, only the upper bit input is preferentially encoded.

なお、ここでは説明を簡単にするために、4入力2出
力のプライオリティ・エンコーダを例にとっている。
Here, for simplicity of explanation, a 4-input 2-output priority encoder is taken as an example.

そしてこのプライオリティ・エンコーダ40は、最下位
ビット入力(D0)が強制的にHIGHにセットされ、下位よ
り2番目の入力(D1)にはシフトレジスタ34の第1のフ
リップフロップAの出力Q0が入力され、下位より3番目
の入力(D2)にはシフトレジスタ34の第2のフリップフ
ロップBの出力Q1が入力され、そして最上位ビットの入
力(D3)には第3番目のフリップフロップCの出力Q2
それぞ接続されている。
In the priority encoder 40, the least significant bit input (D 0 ) is forcibly set to HIGH, and the output Q of the first flip-flop A of the shift register 34 is applied to the second lowest input (D 1 ). 0 is input, the output Q 1 of the second flip-flop B of the shift register 34 is input to the third input (D 2 ) from the lower order, and the third input (D 3 ) is input to the most significant bit. the output Q 2 of the flip-flop C are respectively connected.

このような構成における動作を第2図のタイムチャー
トを参照して次に説明する。スタート信号を与え、それ
がHIGHの間に到来するクロックCLKの立ち上がりでシフ
トレジスタ34のフリップフロップAの出力Q0がHIGHとな
る。これによりレジスタ0にメモリ出力(アドレス0の
内容)が書き込まれる。他方前記クロックの立ち上がり
よりわずかに遅れてプライオリティ・エンコーダ40の出
力が1(A1が0、A0が1)となり、メモリからはアドレ
ス1の内容が出力される。
The operation in such a configuration will be described next with reference to the time chart of FIG. Gives the start signal, it outputs Q 0 of the flip-flop A of the shift register 34 is HIGH at the rising edge of the clock CLK arrives during HIGH. As a result, the memory output (contents of address 0) is written to register 0. On the other hand, the output of the priority encoder 40 becomes 1 (A1 is 0 and A0 is 1) slightly after the rise of the clock, and the contents of the address 1 are output from the memory.

クロックCLKの次の立ち上がりでシフトレジスタ34の
フリップフロップBの出力Q1がHIGHとなり、レジスタ1
にアドレス1のメモリの内容が書き込まれる。その後プ
ライオリティ・エンコーダ40の出力が2(A1が1、A0
0)となる。
The following output Q 1 is HIGH next flip-flop B of the shift register 34 at the rising edge of the clock CLK, the register 1
Is written into the memory at address 1. Then the output of the priority encoder 40 is 2 (A 1 is 1, A 0 is 0) and a.

続いてクロックの次の立ち上がりでシフトレジスタ34
のフリップフロップCの出力Q2がHIGHとなり、レジスタ
2にアドレス2のメモリの内容が書き込まれる。そして
その後プライオリティ・エンコーダ40の出力が3(A1
1、A0が1)となる。
Then, at the next rising edge of the clock, the shift register 34
Output Q 2 of the flip-flop C for becomes HIGH, register 2 in the contents of memory address 2 is written. And then the output of the priority encoder 40 is 3 (A 1 is 1, A 0 is 1) become.

同様に、クロックの次の立ち上がりでシフトレジスタ
34のフリップフロップDの出力Q3がHIGHとなり、レジス
タ3にアドレス3のメモリの内容が書き込まれる。その
後プライオリティ・エンコーダ40の出力は0になる。
Similarly, at the next rising edge of the clock, the shift register
The output Q 3 of flip-flop D 34 becomes HIGH, the register 3 the contents of the memory address 3 is written. Thereafter, the output of the priority encoder 40 becomes 0.

以上のようにして、4回に分けてメモリの内容を4つ
のレジスタに格納することができる。
As described above, the contents of the memory can be stored in the four registers four times.

なお、実施例ではデータ長が32ビットの場合を扱った
が、本考案の制御回路はこれに限定されるものではな
く、例えば64ビット、128ビット等の更に長いデータ長
に対しても適用でき、ビット数に合わせてシフトレジス
タとエンコーダを増設するだけで対応できる。
Although the embodiment deals with the case where the data length is 32 bits, the control circuit of the present invention is not limited to this, and can be applied to longer data lengths such as 64 bits and 128 bits. It can be dealt with simply by adding a shift register and an encoder according to the number of bits.

〈考案の効果〉 以上詳細に説明したように、本考案によれば、従来の
回路と同様の機能を有しながら、従来回路に比べて部品
点数が少なく、工数およびプリント板実装時の占有面積
が半分になって回路の縮小化ができ、また安価にもなる
メモリ・レジスタ制御回路を実現することができる。
<Effects of the Invention> As described in detail above, according to the present invention, while having the same functions as the conventional circuit, the number of parts is smaller than that of the conventional circuit, and the man-hour and the occupied area when mounting the printed circuit board are reduced. Can be reduced by half, and a memory / register control circuit that is inexpensive can be realized.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本考案に係るメモリ・レジスタ制御回路の一実
施例を示す構成図、第2図は動作を説明するためのタイ
ムチャート、第3図は仮想レジスタのデータをレジスタ
に格納するシステムの構成図、第4図は従来のメモリ・
レジスタ制御回路の構成図である。 34…シフトレジスタ、40…プライオリティ・エンコー
ダ。
FIG. 1 is a block diagram showing one embodiment of a memory / register control circuit according to the present invention, FIG. 2 is a time chart for explaining the operation, and FIG. 3 is a system for storing data of a virtual register in the register. FIG. 4 shows a conventional memory device.
FIG. 3 is a configuration diagram of a register control circuit. 34 shift registers, 40 priority encoders.

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】ビット幅とアドレス長が任意に設定可能な
仮想メモリのビット数が、レジスタのビット数のN倍
(Nは整数)である構成において前記仮想メモリからN
個の前記レジスタへの書き込みをN回に分けて行う際、
前記仮想メモリに対するアドレスと前記レジスタに対す
る書込み信号とを送出するメモリ・レジスタ制御回路に
おいて、 クロックに同期して前記各レジスタ用の書込み信号を個
別に送出するシフトレジスタと、 最下位ビット入力端がHIGHレベルに固定されると共に下
位より2番目以上の上位各ビット入力端には前記シフト
レジスタの初段以降の各出力が順次割り当てられて入力
され、これらのビット入力に対し上位ビット入力を優先
的にエンコードした値を出力するプライオリティ・エン
コーダ を備え、このプライオリティ・エンコーダの出力を前記
仮想メモリにアドレス信号として与えると共に、前記シ
フトレジスタの各段から出力される信号を前記各レジス
タに書込み信号として与えるメモリ・レジスタ制御回
路。
1. A configuration in which the number of bits of a virtual memory whose bit width and address length can be arbitrarily set is N times the number of bits of a register (N is an integer).
When writing to the registers in N times,
A memory register control circuit for transmitting an address for the virtual memory and a write signal for the register, a shift register for individually transmitting a write signal for each register in synchronization with a clock, and a least significant bit input terminal being HIGH. The outputs from the first stage of the shift register are sequentially assigned to and input to the upper bit input terminals of the second or higher order from the lower order, and the upper bit input is preferentially encoded for these bit inputs. A priority encoder that outputs a converted value, and supplies an output of the priority encoder to the virtual memory as an address signal, and a signal output from each stage of the shift register as a write signal to the register. Register control circuit.
JP11690289U 1989-10-04 1989-10-04 Memory / register control circuit Expired - Lifetime JP2526042Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11690289U JP2526042Y2 (en) 1989-10-04 1989-10-04 Memory / register control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11690289U JP2526042Y2 (en) 1989-10-04 1989-10-04 Memory / register control circuit

Publications (2)

Publication Number Publication Date
JPH0358737U JPH0358737U (en) 1991-06-07
JP2526042Y2 true JP2526042Y2 (en) 1997-02-12

Family

ID=31665159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11690289U Expired - Lifetime JP2526042Y2 (en) 1989-10-04 1989-10-04 Memory / register control circuit

Country Status (1)

Country Link
JP (1) JP2526042Y2 (en)

Also Published As

Publication number Publication date
JPH0358737U (en) 1991-06-07

Similar Documents

Publication Publication Date Title
KR870001112B1 (en) Data processing circuit
US6058439A (en) Asynchronous first-in-first-out buffer circuit burst mode control
US6292853B1 (en) DMA controller adapted for transferring data in two-dimensional mapped address space
EP0057096A2 (en) Information processing unit
JP2526042Y2 (en) Memory / register control circuit
JPS6048828B2 (en) Memory addressing method
JP2595707B2 (en) Memory device
JPS6349809B2 (en)
JP2969645B2 (en) Time slot replacement circuit
KR950010847B1 (en) Read/write circuit for multiple control register
JPS59140793A (en) Time-division switch circuit
JP2510268B2 (en) Data holding circuit
JPS6241438Y2 (en)
SU1697105A1 (en) Apparatus for formation of vectors
JPH01169691A (en) Ic card
JPH01112449A (en) Speed converting memory device
JPH05341957A (en) Ring buffer circuit
JPH10210242A (en) Data sequence conversion circuit
JPS61220042A (en) Memory access control system
JPS60108891A (en) Dynamic display circuit
JPH05289938A (en) Memory access device
JPH02294718A (en) Digital signal input circuit
JPH06332847A (en) Bus conversion and connection circuit
JPH04109332A (en) Memory integrated circuit
JPH04324191A (en) Semiconductor memory