JP2624375B2 - IC memory - Google Patents

IC memory

Info

Publication number
JP2624375B2
JP2624375B2 JP2327738A JP32773890A JP2624375B2 JP 2624375 B2 JP2624375 B2 JP 2624375B2 JP 2327738 A JP2327738 A JP 2327738A JP 32773890 A JP32773890 A JP 32773890A JP 2624375 B2 JP2624375 B2 JP 2624375B2
Authority
JP
Japan
Prior art keywords
input
memory
address
bit
data
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
JP2327738A
Other languages
Japanese (ja)
Other versions
JPH04195895A (en
Inventor
哲也 世良
雅俊 宗
Original Assignee
日本電気アイシーマイコンシステム株式会社
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 日本電気アイシーマイコンシステム株式会社 filed Critical 日本電気アイシーマイコンシステム株式会社
Priority to JP2327738A priority Critical patent/JP2624375B2/en
Publication of JPH04195895A publication Critical patent/JPH04195895A/en
Application granted granted Critical
Publication of JP2624375B2 publication Critical patent/JP2624375B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dram (AREA)
  • Static Random-Access Memory (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はICメモリに関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an IC memory.

〔従来の技術〕[Conventional technology]

第3図は従来のICのメモリ(データ幅が4ビット)の
ブロック図である。
FIG. 3 is a block diagram of a memory (data width is 4 bits) of a conventional IC.

入出力制御信号群360が制御回路361に入力され、その
出力としてメモリのアクセスと入出力用の制御信号が発
生する。アドレスデコード回路302にはその制御信号と
アドレス入力信号301が入力され、その出力として全ア
ドレス値1つ1つに対応するメモリ選択信号303が出力
される。各ビットに対応するメモリブロック310(ビッ
ト0用)、メモリブロック311(ビット1用)、メモリ
ブロック312(ビット2用)、メモリブロック313(ビッ
ト3用)はメモリ選択信号303をブロック内のメモリセ
ル1つ1つの選択信号として入力し、選ばれたメモリセ
ルに対し各々のデータ線330〜333と対応付ける。各々の
ビットに対応した4個のデータ入出力バッファ340〜343
は制御回路361からの入力または出力の指定およびアク
セス動作要求信号により、データ信号線350と前データ
線330〜333の間で入出力を行う。
The input / output control signal group 360 is input to the control circuit 361, and as its output, control signals for memory access and input / output are generated. The control signal and the address input signal 301 are input to the address decode circuit 302, and a memory selection signal 303 corresponding to each of all address values is output as an output thereof. The memory block 310 (for bit 0), the memory block 311 (for bit 1), the memory block 312 (for bit 2), and the memory block 313 (for bit 3) corresponding to each bit transmit the memory selection signal 303 to the memory in the block. Each cell is input as a selection signal, and the selected memory cell is associated with each of the data lines 330 to 333. Four data input / output buffers 340 to 343 corresponding to each bit
Performs input / output between the data signal line 350 and the previous data lines 330 to 333 according to an input or output designation and access operation request signal from the control circuit 361.

上記ICメモリの場合、入力されるアドレスは各メモリ
ブロックに対し共通のアドレスとなり、1回のメモリア
クセス操作により、各メモリブロックの同一アドレスの
内容を同時にアクセスすることになる。
In the case of the IC memory, the input address becomes a common address for each memory block, and the contents of the same address of each memory block are simultaneously accessed by one memory access operation.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述した従来のICメモリは、ある特定の数ビット(例
えば8ビット)を単位とするデータに対してアドレスを
割り付けて入出力する方式であるため、ビット単位で連
続なメモリ空間を仮想して操作する形式の用途(例えば
ビットマップ形式ディスプレイ)に対しては、ビット単
位にアドレスを指定し、そこから連続したあるビット数
分のデータを入出力したい場合、たとえデータの信号線
が回路的に前記ビット数以上あっても、そのビット単位
のアドレスの値が、その回路的に単位とするビット数の
整数倍の場合以外は、入出力操作を1度では行えず、2
回の操作を必要とするという欠点があった。
The above-mentioned conventional IC memory is a method of assigning an address to data in units of a certain specific bit (for example, 8 bits) and inputting / outputting the data. For applications that use this format (e.g., a bitmap display), if you want to specify an address in bit units and input and output data for a certain number of consecutive bits from there, even if the data signal line is Even if the number of bits is equal to or greater than the number of bits, unless the value of the address in bit units is an integral multiple of the number of bits in circuit units, the input / output operation cannot be performed at once, and
There is a drawback that the number of operations is required.

本発明の目的は、1回のアクセスで連続した2nビット
のデータ幅のデータを任意のビット位置からアクセスで
きるICメモリを提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an IC memory capable of accessing continuous data having a data width of 2 n bits from an arbitrary bit position in one access.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のICメモリは、 m本のアドレス入力と、 2n個のメモリブロックと、 前記m本のアドレス入力より2m本のメモリ選択信号を
出力するアドレスデコード回路と、 連続する2nビットのデータのどのビットからアクセス
するかを指定するn本のビットアドレス入力と、 同時に何ビットアクセスするかを指定するn本のアク
セス幅指定入力と、 メモリブロックに対する読出し/書込みを指定する入
出力制御信号群と、 メモリブロック毎に設けられ、アドレスシフト要求信
号により前記アドレスデコード回路からの2m本のメモリ
選択信号を0または1ビットシフトし、当該メモリブロ
ックに出力する2n個のシフト回路と、 メモリブロック毎に設けられ、当該メモリに書込ま
れ、または読出されるデータを保持する、2n個のデータ
入出力バッファと、 前記入出力制御信号群とビットアドレス入力とアクセ
ス幅指定入力を入力し、各メモリブロックと各データ入
出力バッファにアクセス要求信号を、各シフト回路にア
ドレスシフト要求信号を出力する制御回路を有する。
IC memory of the present invention, the address input of the m, 2 n number of memory blocks, and address decode circuit for outputting a memory selecting signal of 2 m this than the address input of the m lines, the 2 n consecutive bits N bit address inputs for specifying which bit of data to access, n access width specification inputs for specifying how many bits are to be accessed at the same time, and an input / output control signal for specifying read / write for a memory block A group and 2 n shift circuits that are provided for each memory block, shift 2 m memory select signals from the address decode circuit by 0 or 1 bit according to an address shift request signal, and output to the memory block; 2 n data input / output buffers provided for each memory block and holding data written to or read from the memory A control circuit that inputs the input / output control signal group, the bit address input, and the access width designation input, outputs an access request signal to each memory block and each data input / output buffer, and outputs an address shift request signal to each shift circuit. Have.

〔作用〕[Action]

ビットアドレス入力とアクセス幅指定入力を入力し
て、2m本のメモリ選択信号のうちビットアドレス入力で
指定されたビットより前にあるビットのメモリブロック
のメモリ選択信号を1ビットシフトするので、1回のア
クセスで任意のビット位置から2nビットのデータ幅のデ
ータをアクセスできる。
The bit address input and the access width designation input are input, and the memory selection signal of the memory block of the bit preceding the bit designated by the bit address input among the 2 m memory selection signals is shifted by one bit. With a single access, data with a data width of 2 n bits can be accessed from any bit position.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のICメモリ(1K×4ビット
のICメモリ)のブロック図、第2図は第1図中のシフト
回路120〜123のブロック図である。
FIG. 1 is a block diagram of an IC memory (1K × 4 bit IC memory) according to an embodiment of the present invention, and FIG. 2 is a block diagram of shift circuits 120 to 123 in FIG.

10本のアドレス入力101がアドレスデコード回路102に
入力され、1024本のメモリ選択信号103を出力する。こ
のメモリ選択信号103はメモリブロック110〜113には直
接入力されず、メモリブロック110にはシフト回路120を
介して入力され、メモリブロック111にはシフト回路121
を介して入力され、メモリブロック112にはシフト回路1
22を介して入力され、メモリブロック113にはシフト回
路123を介して入力される。各メモリブロック110〜113
で選択されたメモリセルは前述した従来例と同様に各々
のデータ信号線130〜133を介して各々のデータ入出力バ
ッファ140、データ入出力バッファ141、データ入出力バ
ッファ142、データ入出力バッファ143によりデータ信号
線150と接続されて入出力を行う。
Ten address inputs 101 are input to the address decode circuit 102, and 1024 memory selection signals 103 are output. The memory selection signal 103 is not directly input to the memory blocks 110 to 113, is input to the memory block 110 via the shift circuit 120, and is input to the memory block 111.
Is input to the memory block 112 and the shift circuit 1
The data is input to the memory block 113 via the shift circuit 123. Each memory block 110-113
The memory cell selected in the above-mentioned manner is connected to each data input / output buffer 140, data input / output buffer 141, data input / output buffer 142, and data input / output buffer 143 via the data signal lines 130 to 133 in the same manner as in the above-described conventional example. Is connected to the data signal line 150 to perform input / output.

本実施例では、制御回路161に従来例と同様の入出力
制御信号群160と、新たに付加された4個のビットデー
タのどのビットからアクセスするかを指定する2本のビ
ットアドレス入力信号162と、同時に何ビットアクセス
するかを指定する2本のアクセス幅指定入力信号163を
入力して各シフト回路120〜123にシフト制御信号170〜1
73を出力する。シフト制御信号170〜173は各シフト回路
120〜123に対し具体的にはアクセス要求信号とアドレス
シフト要求信号の2本の信号により構成されている。制
御回路161の入力信号と出力信号の対応を表1に示す。
In this embodiment, an input / output control signal group 160 similar to the conventional example and two bit address input signals 162 for designating which bit of the newly added four bit data is to be accessed are provided to the control circuit 161. And two access width designation input signals 163 for designating how many bits are to be accessed at the same time, and shift control signals 170-1 to shift circuits 120-123.
Outputs 73. The shift control signals 170 to 173 are
For 120 to 123, it is composed of two signals of an access request signal and an address shift request signal. Table 1 shows the correspondence between input signals and output signals of the control circuit 161.

ここでは、入出力制御信号群160をアクセス要求信号
(A)と書込み信号(B)で実現した場合を示す。ここ
で入力部分で「1」と記述された所は要求有り、「0」
と記述された所は要求無しを示す。また「×」と記述さ
れた所は0または1のどちらも関係しないことを示す。
また、ビットアドレス入力信号162は2桁の2進数で表
し、「00」がビット0からデータの上位方向へのアクセ
ス、「01」がビット1からデータの上位方向へのアクセ
ス、「10」が同様にビット2からのアクセス、「11」が
ビット3からのアクセスを意味する。また、アクセス幅
指定入力信号163は2桁の2進数で表し、「00」が1ビ
ットのアクセス、「01」が2ビットのアクセス、「10」
が3ビットのアクセス、「11」が4ビットのアクセスを
要求していることを示している。また、出力部分での
「0」または「1」と記述された所は後述する第2図に
おけるシフト回路に対応している。
Here, a case is shown in which the input / output control signal group 160 is realized by an access request signal (A) and a write signal (B). Here, the place where "1" is described in the input part has a request, and "0"
Where it is described, there is no request. Further, a place described as “x” indicates that neither 0 nor 1 is related.
The bit address input signal 162 is represented by a two-digit binary number, where “00” is access from bit 0 to the upper direction of data, “01” is access from bit 1 to the upper direction of data, and “10” is access from the bit 1 to the upper direction of data. Similarly, access from bit 2 and “11” mean access from bit 3. The access width designation input signal 163 is represented by a 2-digit binary number, where "00" is a 1-bit access, "01" is a 2-bit access, and "10".
Indicates that 3-bit access is requested, and “11” requests 4-bit access. Further, the portion described as "0" or "1" in the output portion corresponds to a shift circuit in FIG. 2 described later.

この回路において、例えばビットアドレス入力信号16
2にデータの上位方向に2ビットシフトされた位置から
の指定を意味する2進数の「10」が入力され、アドレス
幅指定入力信号163に4ビットのアクセスを示す2進数
の「11」が入力され、入出力制御信号群160が読出し要
求を示す場合は、表1から全てのシフト回路120〜123へ
のアクセス要求信号は1となり、シフト要求信号はシフ
ト回路120とシフト回路121へは1が入力され、シフト回
路122とシフト回路123へは0が入力される。一方、アド
レス入力101から入力されたアドレスは、アドレスデコ
ード回路102により1024本のメモリ選択信号103のうち1
本のみアクティブになって出力される。その結果、メモ
リブロック113とメモリブロック112は当該アドレスのメ
モリセルが選択されるが、前記のアドレスシフト要求信
号により、メモリブロック110とメモリブロツク111は、
シフト回路120とシフト回路121により、1024本のメモリ
選択信号103に対し各々1アドレス上位方向にシフトさ
れたものが各メモリブロック110,111に入力され、該当
アドレス+1に当るメモリセルが選択される。すなわ
ち、上位2ビットは現在のメモリ選択信号が示すアドレ
スが選ばれ、下位2ビットは次のアドレスが選ばれる。
その結果全体として2ビット上位方向にシフトした4ビ
ットのデータがデータ入出力バッファ140〜143を介して
データ信号線150に出力される。
In this circuit, for example, the bit address input signal 16
The binary number “10” meaning designation from the position shifted by 2 bits in the upper direction of the data is input to 2, and the binary number “11” indicating 4-bit access is input to the address width designation input signal 163. When the input / output control signal group 160 indicates a read request, the access request signal to all the shift circuits 120 to 123 is 1 from Table 1, and the shift request signal is 1 to the shift circuit 120 and the shift circuit 121. 0 is input to the shift circuit 122 and the shift circuit 123. On the other hand, the address input from the address input 101 is one of the 1024 memory selection signals 103 by the address decode circuit 102.
Only books are activated and output. As a result, the memory cell of the corresponding address is selected in the memory block 113 and the memory block 112. However, the memory block 110 and the memory block 111 are caused by the address shift request signal.
The shift circuit 120 and the shift circuit 121 shift the address of each of the 1024 memory selection signals 103 by one address in the upper direction, and input them to each of the memory blocks 110 and 111 to select the memory cell corresponding to the corresponding address + 1. That is, the address indicated by the current memory selection signal is selected as the upper two bits, and the next address is selected as the lower two bits.
As a result, 4-bit data shifted in the upper direction by 2 bits as a whole is output to the data signal line 150 via the data input / output buffers 140 to 143.

第2図は第1図中のシフト回路120〜123の回路図であ
る。2011〜20110 24は1024本のメモリ選択入力信号、20
51〜20510 24は各々1024個の2本のメモリ選択信号から
1本を選ぶデータセレクト回路、203はシフト要求信
号、202はアクセス要求信号、204はインバータ、2061
20610 24は各々変換された1024本のメモリ選択出力信号
を示す。第2図から分るように、アクセス要求信号202
が0の場合は全てのメモリ選択出力信号2061〜20610 24
は0になり、全てのメモリセルは選ばれない。アクセス
要求信号202が1の場合はもしシフト要求信号2030のが
場合は全てのメモリ選択出力信号2061〜20610 24にはメ
モリ選択信号2011〜20110 24と同じ内容が出力される。
FIG. 2 is a circuit diagram of the shift circuits 120 to 123 in FIG. 201 1 to 201 10 24 are 1024 memory selection input signals, 20
5 1 to 205 10 24 are data select circuits for selecting one from 1024 two memory select signals, 203 is a shift request signal, 202 is an access request signal, 204 is an inverter, and 206 1 to
Reference numerals 206 10 24 denote 1024 memory selection output signals which are respectively converted. As can be seen from FIG. 2, the access request signal 202
Is 0, all memory selection output signals 206 1 to 206 10 24
Becomes 0, and all the memory cells are not selected. When the access request signal 202 is 1, if the shift request signal 2030 is the same, all the memory selection output signals 206 1 to 206 10 24 output the same contents as the memory selection signals 201 1 to 201 10 24 .

一方、アクセス要求信号202が1の場合は、各々隣の
メモリ選択信号2012〜20110 24と2011が、メモリ要求出
力信号2061〜20610 24に出力される。
On the other hand, the access request signal 202 in the case of 1, each memory selection signal 201 2-201 10 24 next with 201 1 is output to the memory request output signal 206 1-206 10 24.

上記のデータセレクト回路は1024個であるが、集積回
路の設計上規則的の並んでいるため簡単に小さい面積で
実現できる。
Although the number of the data select circuits is 1024, they can be easily realized with a small area because they are regularly arranged in the design of the integrated circuit.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、nビットのアドレス入
力とn本のアクセス幅指定入力によりアドレスシフト要
求信号をシフト回路に出力し、メモリ選択信号を0また
は1ビットシフトすることにより、mのアドレス幅と2n
ビットのデータ幅を持つICメモリのデータアクセスが、
1回のアクセスで連続した前記データ幅のデータを任意
のビット位置からアクセスでき、ビットマップされたビ
デオRAMのようなICメモリに利用された場合効率の良い
データアクセスが可能となる。
As described above, according to the present invention, an address shift request signal is output to a shift circuit by an n-bit address input and an n-bit access width designation input, and a memory selection signal is shifted by 0 or 1 bit, whereby an address of m Width and 2 n
Data access of IC memory with data width of bit
The data having the continuous data width can be accessed from an arbitrary bit position by one access, and efficient data access is possible when the data is used for an IC memory such as a bit-mapped video RAM.

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

第1図は本発明の一実施例のICメモリのブロック図、第
2図は第1図中のシフト回路120〜123の回路図、第3図
はICメモリの従来例のブロック図である。 101……アドレス入力、102……アドレスデコード回路、
103……メモリ選択信号、110〜113……メモリブロッ
ク、120〜123……シフト回路、130〜133……データ線、
140〜143……データ入出力バッファ、150……データ信
号線、160……入出力制御信号群、161……制御回路、16
2……ビットアドレス入力信号、163……アクセス幅指定
入力信号、2011〜20110 24……メモリ選択入力信号、20
2……アクセス要求信号、203……シフト要求信号、204
……インバータ、2051〜20510 24……データセレクト回
路、2061〜20610 24……メモリ選択出力信号。
FIG. 1 is a block diagram of an IC memory according to an embodiment of the present invention, FIG. 2 is a circuit diagram of shift circuits 120 to 123 in FIG. 1, and FIG. 3 is a block diagram of a conventional IC memory. 101 ... address input, 102 ... address decode circuit,
103 memory selection signals, 110 to 113 memory blocks, 120 to 123 shift circuits, 130 to 133 data lines,
140 to 143: data input / output buffer, 150: data signal line, 160: input / output control signal group, 161: control circuit, 16
2 ... bit address input signal, 163 ... access width designation input signal, 201 1 to 201 10 24 ... memory selection input signal, 20
2 ... access request signal, 203 ... shift request signal, 204
…… Inverter, 205 1 to 205 10 24 …… Data select circuit, 206 1 to 206 10 24 …… Memory selection output signal.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−56276(JP,A) 特開 昭63−14395(JP,A) 特開 昭63−14397(JP,A) ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-59-56276 (JP, A) JP-A-63-14395 (JP, A) JP-A-63-14397 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】mビットのアドレス幅と2nビットのデータ
幅を持つメモリICであって、 m本のアドレス入力と、 2n個のメモリブロックと、 前記m本のアドレス入力より2m本のメモリ選択信号を出
力するアドレスデコード回路と、 連続する2nビットのデータのどのビットからアクセスす
るかを指定するn本のビットアドレス入力と、 同時に何ビットアクセスするかを指定するn本のアクセ
ス幅指定入力と、 各メモリブロックに対する読出し/書込みを指定する入
出力制御信号群と、 メモリブロック毎に設けられ、アドレスシフト要求信号
により前記アドレスデコード回路からの2m本のメモリ選
択信号を0または1ビットシフトし、当該メモリブロッ
クに出力する2n個のシフト回路と、 メモリブロック毎に設けられ、当該メモリに書込まれ、
または読出されるデータを保持する、2n個のデータ入出
力バッファと、 前記入出力制御信号群とビットアドレス入力とアクセス
幅指定入力を入力し、各メモリブロックと各データ入出
力ブッファにアクセス要求信号を、各シフト回路にアド
レスシフト要求信号を出力する制御回路を有するICメモ
リ。
1. A memory IC having an address width of m bits and a data width of 2 n bits, wherein m address inputs, 2 n memory blocks, and 2 m addresses from the m address inputs An address decode circuit that outputs a memory selection signal of n, an n-bit address input that specifies which bit of consecutive 2 n- bit data is to be accessed, and an n-address that specifies how many bits are to be accessed at the same time A width designation input, an input / output control signal group for designating read / write for each memory block, and a 2 m memory selection signal from the address decode circuit, which is provided for each memory block, is set to 0 or 2 n shift circuits that shift by one bit and output to the memory block; provided for each memory block; written to the memory;
Or, input 2n data input / output buffers for holding data to be read, input / output control signal group, bit address input, and access width designation input, and request access to each memory block and each data input / output buffer. An IC memory having a control circuit that outputs a signal to each shift circuit to output an address shift request signal.
JP2327738A 1990-11-27 1990-11-27 IC memory Expired - Lifetime JP2624375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2327738A JP2624375B2 (en) 1990-11-27 1990-11-27 IC memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2327738A JP2624375B2 (en) 1990-11-27 1990-11-27 IC memory

Publications (2)

Publication Number Publication Date
JPH04195895A JPH04195895A (en) 1992-07-15
JP2624375B2 true JP2624375B2 (en) 1997-06-25

Family

ID=18202433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2327738A Expired - Lifetime JP2624375B2 (en) 1990-11-27 1990-11-27 IC memory

Country Status (1)

Country Link
JP (1) JP2624375B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003317485A (en) 2002-04-24 2003-11-07 Mitsubishi Electric Corp Semiconductor memory device

Also Published As

Publication number Publication date
JPH04195895A (en) 1992-07-15

Similar Documents

Publication Publication Date Title
US4561072A (en) Memory system handling a plurality of bits as a unit to be processed
JP2549601B2 (en) Register control circuit
JP2624375B2 (en) IC memory
EP0217479A2 (en) Information processing unit
JPH02236790A (en) Processor array system
JPS60245062A (en) Data transfer device
GB2228813A (en) Data array conversion
JP3220470B2 (en) Control register writing device
JPH0754544B2 (en) Image memory access circuit
JPH0520176A (en) Semiconductor memory
JPS63142434A (en) Interrupt control system
JPH0113118B2 (en)
JPH05289938A (en) Memory access device
JPS6292051A (en) Memory device
JPH10312356A (en) Data transfer device
JPH08147458A (en) Memory control unit
JPS6290738A (en) Data selecting system
JPS60129854A (en) Address bus controller
JPS61174591A (en) Graphic display unit
JPS6159482A (en) Display screen switching control system
JPS61279888A (en) Character generator
JPH03126143A (en) Peripheral circuit for central processing unit
JPS60254477A (en) Memory system
JPH0410039A (en) Memory control system
JPS62133575A (en) Memory device