[go: up one dir, main page]

JPS58122688A - Memory device - Google Patents

Memory device

Info

Publication number
JPS58122688A
JPS58122688A JP524882A JP524882A JPS58122688A JP S58122688 A JPS58122688 A JP S58122688A JP 524882 A JP524882 A JP 524882A JP 524882 A JP524882 A JP 524882A JP S58122688 A JPS58122688 A JP S58122688A
Authority
JP
Japan
Prior art keywords
memory
address
bit
bits
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP524882A
Other languages
Japanese (ja)
Inventor
Kiyoshi Sato
清 佐藤
Kyoichi Shimizu
恭一 清水
Tadashi Takahashi
高橋 規
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.)
Victor Company of Japan Ltd
Nippon Victor KK
Original Assignee
Victor Company of Japan Ltd
Nippon Victor KK
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 Victor Company of Japan Ltd, Nippon Victor KK filed Critical Victor Company of Japan Ltd
Priority to JP524882A priority Critical patent/JPS58122688A/en
Publication of JPS58122688A publication Critical patent/JPS58122688A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To prevent mis-matching of bit length for a memory device and input data, by selectively switching the memory device in a digital picture processing system as the memory device having different bit length in response to a control signal. CONSTITUTION:When the control signal C is ''0'', the memory block is operated as 8-bit/address accessed with an address signal in 16-bit of A0-A5. When the control signal is ''1'', a pair of memory elements out of memory elements designated for the address signals A0-A15, B0, B1 and the memory system of 2-bit/ address is constituted. Thus, the mis-matching of bit length of the memory device per one address and the input data is prevented to attain high speed.

Description

【発明の詳細な説明】 本発明はメモリ装置に係り、Nビット(ただしNは自然
数)の並列データ転送路を有するデータ処理システム、
%にディジタル画偉処理システムにおけるメモリ装置を
、コントロール信号に応じて異なるビット長のメモリ装
置として選択的に切換動作せしめることにより、メモリ
装置の1アドレス当りのビット長と入力データのビット
長との不整合を防止し得て入力データを記憶し得るメモ
リ装置を提供することを目的とする。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory device, and a data processing system having an N-bit (N is a natural number) parallel data transfer path;
By selectively switching memory devices in a digital image processing system as memory devices with different bit lengths according to control signals, the bit length per address of the memory device and the bit length of input data can be changed. It is an object of the present invention to provide a memory device capable of storing input data while preventing mismatch.

ディジタル画偉処理システムにおいては、1画素当りの
画像情報を通常1〜8ビツトで量子化して得た画像デー
タをメモリに記憶し、更に記憶した画像データをメモリ
より読み出す。一方、上記号、書き込み及び読み出し制
御信号rwなどにより書き込みや読み出しが行なわれる
が、現在のCPUが8ビツト(すなわち1バイト)を基
本単位として処理を行なっているため、メモリの1アド
レス当りのビット長は1バイトを基本単位としている。
In a digital image processing system, image data obtained by quantizing image information per pixel, usually in 1 to 8 bits, is stored in a memory, and the stored image data is read out from the memory. On the other hand, writing and reading are performed using the above symbol, write and read control signal rw, etc., but since current CPUs process in 8 bits (i.e., 1 byte) as a basic unit, the bits per memory address are The basic unit of length is 1 byte.

従って、8ビット/画票の画像データをメモリに書き込
み、また読み出す場合は、OPUでのメモリアドレスと
画素アドレスとが1:1に対応し、処理内容が単純にな
るばかりか、cptrでプログラムや変数記憶用に使用
するメモリと画像メモリとを共用でき、極めて便利であ
る。
Therefore, when writing and reading 8-bit/screen image data to memory, the memory address and pixel address in the OPU correspond 1:1, which not only simplifies the processing, but also allows the cptr to The memory used for storing variables and the image memory can be shared, which is extremely convenient.

しかし、画像データが4ビット/画素、2ビット/画素
あるいFi1ビット/画票である場合は、メモリの1ア
ドレス当りのビット長と不整合が生じる。
However, if the image data is 4 bits/pixel, 2 bits/pixel, or Fi1 bit/slip, there will be a mismatch with the bit length per address of the memory.

例えば、2ビット/画素の11igI!データの処理シ
ステムにおいて、1バイト当り4画票記憶し、読み出す
メモリ構造とすると、メモリアドレスと画素アドレスの
対応が1:1でなくなるが、cptrK接続された通常
メモリと画像メモリとを共用できる利点はある。しかし
、8ピツト/アドレスの上記メモリの1アドレス当り4
画素が書き込まれるため、特定の1画素のみ書き換える
ことができず、一旦4画素まとめて読み出した後、特定
の画素に対応するビットデータのみ変化させ、再び4画
素まとめて書き込むような処理手法が必要で、このため
処理が複雑になり、処理スピードが遅くなる欠点を有し
ていた。
For example, 11igI with 2 bits/pixel! In a data processing system, if the memory structure is such that each byte stores and reads 4 pixels, the correspondence between memory addresses and pixel addresses will not be 1:1, but the advantage is that the normal memory connected to cptrK and the image memory can be shared. There is. However, 4 bits per address in the above memory of 8 pits/address.
Since pixels are written, it is not possible to rewrite only one specific pixel, and a processing method is required that reads all four pixels at once, changes only the bit data corresponding to the specific pixel, and then writes all four pixels together again. Therefore, the processing becomes complicated and the processing speed becomes slow.

またこの欠点を無くすために、2ビット/画素の画像デ
ータをメモリの1アドレスに1画素の割合で記憶させる
ものとすると、2ビツト/アドレスとなり、このメモリ
はプログラムや変数のメモリとしては使用できなくなっ
てしまう別の欠点が生じることになってしまった。
Furthermore, in order to eliminate this drawback, if image data of 2 bits/pixel is stored at a ratio of 1 pixel to 1 address of memory, the memory becomes 2 bits/address, and this memory cannot be used as memory for programs or variables. Another drawback has arisen that will disappear.

本発明は上記の欠点を除去したものであり、以下図面と
共にその一実施例について説明する。
The present invention eliminates the above-mentioned drawbacks, and an embodiment thereof will be described below with reference to the drawings.

第1図は本発明装置のメモリブロックの構成の一実施例
を示す図で、第2図は第1図の制御回路部の一実施例の
ブロック系統図を示す。第1図において、1はメモリブ
ロックで、8個の64にビットのメモリ素子2’、3,
4,5,6,7.8及び9とよりなり、64xバイトの
構成とされる。ここで、本実施例では一画面が縦方向に
256個、横方向に256個の画素がマトリクス状に配
設されて構成されてなる画像処理システムに適用し、ま
た2ビット/画素の画像データが供給されるものとする
。またメモリブロック1はMAO〜Mム15で示す16
ビツトのアドレス信号により指定されたアドレスに1M
DO〜MDTで示すSビットの並列データを双方向性デ
ータバスを介して転送し得る通常のタイプのものであり
、CPU(図示せず)からのR/、信号により読み出し
又は書き込みが制御される。更にメモリ素子2〜9のう
ち一対のメモリ素子2及び3のチップセレクトは信号c
BOが供給され、同様にメモリ素子4及び5,6及びT
、8及び9の各チップセレクトには信号CB1. CB
2 、 (!83が夫々供給される。これらの信号CB
O〜cs3により、メモリブロック1は2ビツトずつの
4組のメモリとして動作できる。上記のアドレス信号M
ム0〜MA15と信号cso −assは、夫々OMの
出力信号が供給される第2図に示す回路により生成され
る。
FIG. 1 is a diagram showing one embodiment of the structure of a memory block of the device of the present invention, and FIG. 2 is a block diagram of one embodiment of the control circuit section of FIG. 1. In FIG. 1, 1 is a memory block consisting of eight 64-bit memory elements 2', 3,
4, 5, 6, 7.8, and 9, and has a configuration of 64x bytes. Here, this embodiment is applied to an image processing system in which one screen has 256 pixels arranged in the vertical direction and 256 pixels in the horizontal direction, and the image data is 2 bits/pixel. shall be provided. In addition, the memory block 1 is 16 indicated by MAO to M 15.
1M at the address specified by the bit address signal.
It is a normal type that can transfer S-bit parallel data indicated by DO to MDT via a bidirectional data bus, and reading or writing is controlled by the R/ signal from the CPU (not shown). . Furthermore, the chip select of a pair of memory elements 2 and 3 among memory elements 2 to 9 is performed by a signal c.
BO is supplied, and similarly memory elements 4, 5, 6 and T
, 8 and 9 each have a signal CB1. C.B.
2, (!83 are supplied respectively. These signals CB
O to cs3 allow the memory block 1 to operate as four sets of 2-bit memories. Address signal M above
The signals MU0 to MA15 and the signal cso-ass are generated by the circuit shown in FIG. 2, which is supplied with the output signal of the OM.

第2図において、10は1ビツトのメモリアクセスモー
ドを選択するコントロール信号Cの入力端子、11o〜
1115はAU〜AISで示す16ビツトのアドレス信
号の各ビットの入力端子、12o、 121はメモリ空
間を選択するためのBQ、Blで示す2ビツトのメモリ
空間選択信号の各ビットの入力端子、13は第1図に示
すメモリブロック1の書き込み及び読み出し制御信号R
/、が入来する入力端子で、これらの入力端子1G、I
to〜111. 、12o。
In FIG. 2, 10 is an input terminal for a control signal C that selects a 1-bit memory access mode;
1115 is an input terminal for each bit of a 16-bit address signal indicated by AU to AIS; 12o and 121 are input terminals for each bit of a 2-bit memory space selection signal indicated by BQ and Bl for selecting a memory space; 13 is the write and read control signal R of the memory block 1 shown in FIG.
/, are the input terminals incoming, and these input terminals 1G, I
to~111. , 12 o.

121.1 mの各入力信号けcpσ(図示せず)から
送出された信号である。アドレス信号AO〜A15は出
力が3ステートになっているドライバ141C供給され
、またアドレス信号AO〜A15のうち下位2ピツ) 
AD # Alを除く14ビツトの信号が出力が3ステ
ートになっているドライバ15に供給され不。また2ピ
ツ) BO,Blのメモリ空間選択信号は出力が3ス、
テートになっているドライバ16に供給される。更にア
ドレス信号の下位2ビツトAQ 、 Alはデコーダ2
0に供給される。
121.1 m, each input signal is a signal sent out from cpσ (not shown). Address signals AO to A15 are supplied to a driver 141C whose output is in three states, and the lower two bits of address signals AO to A15)
AD# The 14-bit signal excluding Al is not supplied to the driver 15 whose output is in 3 states. Also, the memory space selection signals of BO and Bl have 3 outputs,
The signal is supplied to the driver 16 which is in the state of operation. Furthermore, the lower two bits AQ and Al of the address signal are sent to the decoder 2.
0.

上記のドライバ14,15.16及び後述のドライバ1
8、デコーダ20、ドライバ21、バスドライバ19 
、22a〜22(Lは入力コントロール信号が11′の
とき出力状態となり、′O′のとき出力阻止状態となる
。従って、入力端子10よりのコントロール信号Cが1
1″のときはドライバ15゜16、デコーダ20、ドラ
イバ21が出力状態となり、後述の如く各々2ビツトの
バスドライバ22a〜22(lのうちいずれか−のバス
ドライバが出力状態となる。一方、コントロール8号a
が101のときは、このコントロール信号0はインバー
タ17により極性反転されてドライバ14.18及びバ
スドライバ19に供給されるので、これらのドライバ1
’4.18及びバスドライバ19が出力状態となる。
Drivers 14, 15, and 16 mentioned above and Driver 1 described below
8, decoder 20, driver 21, bus driver 19
, 22a to 22 (L is in the output state when the input control signal is 11', and is in the output blocking state when it is 'O'. Therefore, the control signal C from the input terminal 10 is 1
1'', the drivers 15, 16, decoder 20, and driver 21 are in the output state, and as will be described later, each of the 2-bit bus drivers 22a to 22 (l) is in the output state.On the other hand, Control No. 8a
When is 101, the control signal 0 is inverted in polarity by the inverter 17 and is supplied to the drivers 14, 18 and the bus driver 19.
'4.18 and the bus driver 19 are in the output state.

そこで、まずコントロール信号CがIOIのときの動作
につき説明する。このとき、は前記した如くドライバ1
4が出力状態となるので、その入力アドレス信号ム0〜
ム15はドライバ14を通してアドレス信号MAO〜M
ム15として第1図に示したメモリブロック1に供給さ
れ、そのアドレスを指定する。
Therefore, first, the operation when the control signal C is IOI will be explained. At this time, as mentioned above, driver 1
4 is in the output state, so its input address signal M0~
The program 15 receives address signals MAO to M through the driver 14.
The memory block 1 shown in FIG. 1 is supplied as a program 15, and its address is specified.

一方、ドライバ18も出方状態となるが、その入力信号
は4ビツトすべて11′であり、よって4ビツトすべて
11Nの信号がドライバ18を通して信号CSO〜08
3として第1図に示したメモリ素子2〜9の各チップセ
レクトに夫々印加され、これらを能動状態とする。この
結果、コントロール信号Cが Oのときはメモリブロッ
ク1はAn″−A15の16ビツトのアドレス信号でア
クセスされる8ビツト/アドレス(すなわち記憶容量2
”X8ビツト)のメモリとして動作せしめられる。
On the other hand, the driver 18 also enters the output state, but its input signals are all 11', so the signals of all 4 bits 11N pass through the driver 18 to the signals CSO~08.
3 is applied to each chip select of memory elements 2 to 9 shown in FIG. 1, respectively, to put them in an active state. As a result, when control signal C is O, memory block 1 has 8 bits/address (that is, storage capacity 2
It is operated as a ``X8 bits'' memory.

これは通常のコンピュータに使われているメモリと同じ
であり、ここでは2ビット/画素であり、256 X 
256の画素からの16にバイトの画儂データが例えば
メモリブロック1の0〜16に−1番地のアドレス空間
のメモリに記憶される(画儂メモリとして0〜16に一
1番地が使用される)。この場合(ノーマルモード)の
画儂データは、双方向性のバスドライバ19が出方状態
とされているから、メモリ素子2〜9の各1ピツトのデ
ータ入出力端子がバスドライバ19を通してcptrの
データ入出力端子に接続されるため、CPHの出力デー
タD7〜DOはメモリ素子2〜9にデータMD7− M
DOとしてアドレス信号MAO−MA15で指定された
アドレスに書き込まれ、またメそり素子2〜11のアド
レス信号MAO−Mム15で指定されたアドレスから読
み出された計8ビットのデータMD7〜MDOはCPU
ヘデータDT〜DOとして出力される。ここで、上記の
データDOとDI 、 D2とD3 、 D4とD5 
、 DIとDrは夫々1画素の1儂データを示している
ので、一つのアドレスで同時に4rMJ素アクセスされ
ていることになる。
This is the same memory used in normal computers, here 2 bits/pixel, 256
For example, 16 bytes of picture image data from 256 pixels are stored in the memory in the address space of -1 from 0 to 16 of memory block 1 (addresses 11 from 0 to 16 are used as picture image memory). ). In this case (normal mode), since the bidirectional bus driver 19 is in the output state, the data input/output terminal of each one pit of the memory elements 2 to 9 is transmitted to the cptr through the bus driver 19. Since it is connected to the data input/output terminal, the output data D7-DO of CPH is sent to the memory elements 2-9 as data MD7-M.
A total of 8 bits of data MD7 to MDO written as DO to the address specified by the address signal MAO-MA15 and read from the address specified by the address signal MAO-MA15 of the mesori elements 2 to 11 is CPU
The data is output as data DT to DO. Here, the above data DO and DI, D2 and D3, D4 and D5
, DI and Dr each indicate one piece of data of one pixel, so 4rMJ pixels are accessed at the same time with one address.

次にコントロール信号Cが11′′のときの動作につき
説明する。このときは前記した如くドライバ15及び1
6が夫々出力状態となるので、メモリブロック1に供給
される16ビツトのアドレス信号MA15〜MADのう
ち、上位2ビツトMA15とMA14とはCPUの出力
信号BO、Blとなり、残りのVム13〜MAOは0P
t7の出力アドレス信号A15〜AOのうちの上位14
ビツトAI5〜ム2となる。一方、上記のドライバ15
及び16の出力状態と同時に、前記した如くデコーダ2
0及びドライバ21が能動状態となる。デコーダ20は
CPUからのアドレス信号AI5〜AOのうちの下位2
ビツトであるAI 、 八〇が供給され、AI 、 A
nのroOJ 、 roIJ 、 rl OJ 。
Next, the operation when the control signal C is 11'' will be explained. At this time, as mentioned above, the drivers 15 and 1
6 are in the output state, so of the 16-bit address signals MA15 to MAD supplied to the memory block 1, the upper 2 bits MA15 and MA14 become the CPU output signals BO and Bl, and the remaining VMs 13 to MAO is 0P
Upper 14 of output address signals A15 to AO at t7
Bits AI5 to M2. On the other hand, the above driver 15
At the same time as the output state of 16 and 16, the decoder 2
0 and driver 21 become active. The decoder 20 receives the lower two of the address signals AI5 to AO from the CPU.
A bit of AI, 80 is supplied, and AI, A
n roOJ, roIJ, rlOJ.

「11」の4つの状態に対応して4つの出力のうちのい
ずれか一つの出力を11′とするデコーダで、その4つ
の出力はドライバ21を通して信号C80〜0EI3と
してメモリ素子2〜9のチップセレクトに印加される一
方、双方向性のパスドライノ(22a〜22(lに夫々
供給される。
This is a decoder that outputs one of the four outputs as 11' corresponding to the four states of "11", and the four outputs are sent to the chips of memory elements 2 to 9 as signals C80 to 0EI3 through the driver 21. While being applied to the select signal, the signal is applied to the bidirectional pass drainos (22a to 22(l), respectively.

従って、コントロール信号Cが11′のときはAI 、
 AOの2ビツトの値に応じて指定された信号C8O〜
083のうちのどれか一つが11Nとなり他は“0″と
なるので、メモリ素子2〜9のうちいずれか一対のメモ
リ素子のみが能動状態とされる。またバスドライバ22
a〜22cLのうち、いずれか一つのみが出力状態とな
ゆ、他の三つは全出力オープン状態とされる。バスドラ
イバ22aにはメモリ素子2,3の各1ビツトのデータ
入出力端子が接続されており、バスドライバ22bには
メモリ素子4゜5の各1ビツトのデータ入出力端子が接
続されており、更にバスドライバ22cにはメモリ素子
6゜Tの各1ビツトのデータ入出力端子が接続されてお
り、また更にバスドライバ226 Kはメモリ素子8、
Iの各1ビツトのデータ入出力端子が接続されている。
Therefore, when the control signal C is 11', AI,
Signal C8O~ specified according to the value of 2 bits of AO
Since one of the memory elements 083 becomes 11N and the others become "0", only one pair of the memory elements 2 to 9 is activated. Also, the bus driver 22
Only one of a to 22cL is in an output state, and the other three are all in an open state. The bus driver 22a is connected to the 1-bit data input/output terminals of each of the memory elements 2 and 3, and the bus driver 22b is connected to the 1-bit data input/output terminal of each of the memory elements 4.5. Furthermore, the bus driver 22c is connected to each 1-bit data input/output terminal of the memory element 6°T, and the bus driver 226K is connected to the memory element 8,
Each 1-bit data input/output terminal of I is connected.

すなわち、同一の値のチップセレクト信号が供給される
一対のメモリ素子2と3,4と5.6と1,8と9は、
そのデータ入出力端子がバスドライバ22a 、 22
b 、 22c 、 22(1に夫々接続されており、
22a〜22aのうち能動状態とされた一対のメモリ素
子のデータ入出力端子に接続されている一つのバスドラ
イバのみが出力状態とされる。更にバスドライバ22a
〜22aの他方のデータ入出力端子には、いずれもcP
TlrのデータDo 、 DIの入出力端子が接続され
る。
That is, a pair of memory elements 2, 3, 4, 5, 6, 1, 8, and 9 to which chip select signals of the same value are supplied are as follows.
The data input/output terminals are bus drivers 22a, 22
b, 22c, 22 (connected to 1, respectively,
Among the bus drivers 22a to 22a, only one bus driver connected to the data input/output terminal of the pair of memory elements set to the active state is set to the output state. Furthermore, the bus driver 22a
The other data input/output terminal of ~22a is connected to cP.
The data Do and DI input/output terminals of Tlr are connected.

従って、コントロール信号CがlIIのときは、信号A
O〜ム15.BO及びB1によってアドレスが指定され
たメモリ素子2〜IIのうちの一対のメモリ素子が動作
し、cPUの2ビツトのデータDo 、 DIの送受が
行なわれる2ビツト/アドレスのメモリンステムが構成
される。すなわち、メモリブロック1はCMからのアド
レス信号AO〜A15のうちA2〜AISの14ビツト
をアドレスとして利用し、2ビツトは並列にアクセスさ
れるメモリ素子を選択するために使うことにより、記憶
容量2 ×2ビットのメモリとして動作せしめられるこ
とになる。
Therefore, when control signal C is lII, signal A
O~mu15. A pair of memory elements 2 to 2 whose addresses are designated by BO and B1 operate, forming a 2-bit/address memory system in which 2-bit data Do and DI of the cPU are transmitted and received. . That is, memory block 1 uses 14 bits A2 to AIS of address signals AO to A15 from CM as an address, and 2 bits are used to select memory elements to be accessed in parallel, thereby reducing the storage capacity to 2. It will be operated as a ×2 bit memory.

いtBO、B1の値を「OO」にしてメモリブロック1
をアクセスすると、 cpaからの2ビット/画素の画
像データ110 、 DIは、アドレス信号AO〜ム1
5によりメモリ素子2,3、メモリ素子4,5、メモリ
素子6.T1メモリ素子8,9、メモリ素子2.3.・
・・の順序で順次一対のメモリ素子に記憶されていく。
tBO, set the value of B1 to “OO” and set memory block 1
When accessing , 2-bit/pixel image data 110 from cpa, DI is address signal AO~mu1
5, memory elements 2, 3, memory elements 4, 5, memory element 6. T1 memory elements 8, 9, memory elements 2.3.・
... are sequentially stored in a pair of memory elements.

他方、これと同様の順序で一対のメモリ素子から読み出
された画像データMD7 、!: MDI 。
On the other hand, the image data MD7, ! read out from the pair of memory elements in the same order as above. : MDI.

Mn2とMn2 、 Mn2とMn2 、 MDIとM
DOは、データDo 、 DIとしてCPUへ読み出さ
れる。このようにしてAO−AI Sの16ビツトのア
ドレスは、そのまま256 X 256の画素のアドレ
スになり、画像データはDo 、 DIの2ビツトでア
クセスできる。
Mn2 and Mn2, Mn2 and Mn2, MDI and M
DO is read out to the CPU as data Do, DI. In this way, the 16-bit address of the AO-AIS directly becomes the address of 256 x 256 pixels, and image data can be accessed using the 2 bits Do and DI.

またBe 、 B1の値を「00」以外にすると、前記
ノーffルモードでの111K 〜32に番地、32K
 〜48に番地、411に〜64に番地のアドレス空間
に対応したメモリをアクセス可能である。なお、信号B
O,B1はスイッチ等からの信号、出力ポートからの信
号、AD〜ム1S以外のアドレス信号のいずれでも良い
Also, if the values of Be and B1 are set to other than "00", the addresses 111K to 32 in the noffle mode will be set to 32K.
It is possible to access the memory corresponding to the address space of addresses 48 to 48 and addresses 411 to 64. In addition, signal B
O and B1 may be signals from a switch or the like, a signal from an output port, or an address signal other than AD to M1S.

このようにBO、B1及びAO−A15がアドレスとし
て動作している。これはコントロール信号OがIO“の
ときの8ビツト/アドレスのメモリに比し、アドレスが
4倍に拡大し、データが7に縮小したメモリである。
In this way, BO, B1 and AO-A15 operate as addresses. Compared to the 8-bit/address memory when the control signal O is IO", this is a memory in which the address is expanded four times and the data is reduced to seven.

このようにして、コントロール信号Cにより、メモリブ
ロック1を8ビツト/アドレスの標準メモリ又は2ビツ
ト/アドレスといった画像処理用メモリの2通りに使用
できる。
In this manner, the control signal C allows the memory block 1 to be used in two ways: standard memory with 8 bits/address or memory for image processing with 2 bits/address.

次に信号BO、Blを共に1101で固定しておくとと
Kより、ii!ii儂メモリとしてはO〜11ix−1
番地のアドレス空間を使用するメモリシステムの例につ
いて説明する。コントロール信号0をIO“にしておく
と、11iK 〜84に一1番地の48に/<イトのア
トL//(空間のメモリは、変数、プログラム等の通常
のメモリとして動作できることは明らかである。このコ
ントロール信号Cは(3PUの出力信号であるので、出
力ポートよりの信号であっても、またアドレス信号の一
部であってもかまわない。−例として、コントロール信
号Cにアドレス信号の1Tビツト目のA16を割当てた
とする( CPUは計128に番地のアドレス空間を扱
えるとする)。こうすると、OFυによるアドレスO〜
64に一1番地は1アドレス8ビツトのアクセスが可能
なノーマルなメモリのアドレス空間であり、CPUによ
る64に〜1211x−1番地は1アドレス2ビツトの
アクセスが可能な変則的な画像メモリのアドレス空間で
あり、更にCPHによる0〜16に一1番地は64に〜
12!ll−1番地の画像メモリを1アドレス4画素で
アクセスできるアドレス空間となる。このようなシステ
ムでは以下のような応用が可能となる。
Next, if both the signals BO and Bl are fixed at 1101, then from K, ii! ii My memory is O~11ix-1
An example of a memory system that uses an address space of addresses will be described. If control signal 0 is set to IO, 11iK ~ 84 11 address 48 /<ite's at L// (It is clear that the memory of the space can operate as a normal memory for variables, programs, etc. Since this control signal C is an output signal of the 3PU, it does not matter whether it is a signal from the output port or a part of the address signal. Assume that bit A16 is assigned (assuming that the CPU can handle a total of 128 addresses in the address space).In this way, the address O~ by OFυ is assigned.
Addresses 64 to 11 are normal memory address spaces that can be accessed with 8 bits per address, and addresses 64 to 1211x-1 are irregular image memory addresses that can be accessed with 2 bits per address by the CPU. It is a space, and furthermore, the address 11 in 0 to 16 by CPH is 64 ~
12! This becomes an address space in which the image memory at address ll-1 can be accessed by 4 pixels per address. Such a system enables the following applications.

CPHによる16に〜64に一1番地のメモリブロック
1のメモリ空間はプログラム及びデータエリアとして使
用し、CPHによる64に〜128に−1番地のメモリ
ブロック1のメモリ空間は1アドレス当り1画素の画像
データがアクセスされるので、任意の画素のmsデータ
の書き換え等を自由に行なう。画素のアトvxo 〜l
@x−1番地は、CPHによる84に〜1211に一1
番地に対応している。すなわちX、7座標で(0,0)
の位置にある画素のアドレスは64に番m、(255、
255)の位置にある画素のアドレスは12!IK−1
番地に対応する。
The memory space of memory block 1 at addresses 16 to 64 to 11 by CPH is used as a program and data area, and the memory space of memory block 1 at addresses 64 to 128 to -1 by CPH has one pixel per address. Since the image data is accessed, the ms data of any pixel can be freely rewritten. Pixel atto vxo ~l
Address @x-1 is 84 to 1211 by CPH.
It corresponds to the street address. i.e. (0,0) at X, 7 coordinates
The address of the pixel at the position is 64, m, (255,
The address of the pixel at position 255) is 12! IK-1
Corresponds to the street address.

更にもし、アクセスしたい画素の画像データのスタート
アドレスが4の倍数であり、かつ、40倍数の整数倍の
画素数の画像データをアクセスしたいときは、O〜11
1に一1番地をアクセスすることKより、常に1回のア
クセスで4画素の画像データのアクセスができる。これ
により、データの転遂時間は−i−に縮小させることも
できる。
Furthermore, if the start address of the image data of the pixel you want to access is a multiple of 4, and you want to access the image data of the number of pixels that is an integral multiple of 40, use O to 11.
By accessing addresses 1 to 11, image data of 4 pixels can always be accessed in one access. Thereby, the data transfer time can also be reduced to -i-.

なお、上記の実施例は1画素の画像データは2ビツトで
あるものとして説明したが、1ビット/画素のときは信
号BO、B1をBO−B2に拡大し、回路もそれに対応
して変更すれば良く、また4ビット/画素のときは信号
CBO−083は2信号でよいから信号Be 、 B1
はBeだけでよく、この場合は実施例に比し回路構成が
簡単になる。また、信号BO。
Note that the above embodiment has been explained assuming that the image data of one pixel is 2 bits, but when the image data is 1 bit/pixel, the signals BO and B1 are expanded to BO-B2, and the circuit is changed accordingly. In addition, in the case of 4 bits/pixel, only two signals are required for the signal CBO-083, so the signals Be, B1
Only Be is required, and in this case, the circuit configuration is simpler than in the embodiment. Also, signal BO.

BI Hメモリブロック1のアドレス信号MAO〜MA
15の上位2ビツトの信号として用いたが下位ビット側
の2ビツトであってもよい。
BIH memory block 1 address signal MAO~MA
Although this is used as a signal of the upper two bits of 15, the lower two bits may also be used.

上述の如く、本発明になるメモリ装置は、メモリブロッ
クを1ビツトのコントロール信号にヨt)アクセス動作
が制御される複数個のメモリ素子より構成し、コントロ
ール信号の値が′O′(又はI I I′)のときには
Mビット(Mは自然数)のアドレス情報の全ビットによ
りアドレス指定を行なわれて記憶容量2M−I、ビット
(Lは自然数で、L≦N)の第1のメモリとして動作し
、コントロール信号の値 ゛が11″(又はIO2)の
ときにはMビットのアドレス情報のうち(M−K)ピッ
)(Xは自然数で、K≦M、L≧2)によりアドレス指
定を行なわれるとともに、Kビットの信号により複数個
のメモリ素子のうち並列にアクセスされるビットを選択
して動作し、更に第2のメモリの記憶内容を、上記第1
のメモリのアクセスによる2Mのアドレス間のうちのど
のアドレス空間と対応するかを上記にビットの信号で決
定するようにしたため、1アドレス当りのビット数と等
しいビット数のデータ、例えば8ビット/画素の画像デ
ータを書き込み又は読み出すメモリの長所である所望の
画素の画像データのみをアクセスできるという長所をそ
のまま有すると共に1メモリブロツクの一部を画像デー
タ以外の標準メモリ(ランダム・アクセス・メモリ)と
して使用でき、更に1アドレスのビット数と異なるビッ
ト数の画像データの画像メモリとして用いそもCPHの
標準である1バイト/アドレスとの共用がとれ、更に1
iir儂データの高速転送が必要なときには4画素/ア
ドレスモードでも実行可能となるため、単純処理、高速
処理、メモリの共用性等が著しく向上する等の特長を有
するものである。
As described above, in the memory device according to the present invention, a memory block is constituted by a plurality of memory elements whose access operations are controlled by a 1-bit control signal, and the value of the control signal is 'O' (or I). When I I'), addressing is performed by all bits of address information of M bits (M is a natural number), and it operates as a first memory with a storage capacity of 2M-I bits (L is a natural number, L≦N). However, when the value of the control signal is 11'' (or IO2), the address is specified by (M-K) bits of the M-bit address information (X is a natural number, K≦M, L≧2). At the same time, bits to be accessed in parallel among the plurality of memory elements are selected and operated by the K-bit signal, and the stored contents of the second memory are transferred to the first memory.
Since the bit signal is used to determine which address space among the 2M addresses corresponds to when accessing the memory, data with the number of bits equal to the number of bits per address, for example, 8 bits/pixel. It retains the advantage of a memory that writes or reads image data in that only the image data of a desired pixel can be accessed, and also uses part of one memory block as standard memory (random access memory) for other than image data. In addition, it can be used as an image memory for image data with a bit number different from the number of bits in one address, and can be shared with the CPH standard of 1 byte/address.
When high-speed transfer of private data is required, it can be executed in the 4-pixel/address mode, so it has features such as simple processing, high-speed processing, and markedly improved memory sharability.

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

第1図は本発明装置の要部の一実施例を示す構成図、第
2図は本発明装置の他の要部の一実施例を示すプ四ツク
系統図である。 1・・・メモリブロック、2〜9・・・64にビットメ
モリ素子、10・・・コントロール信号入力端子、11
゜〜1115・・・アドレス信号入力端子、14,15
,16゜111.21−・ドライバ、19 、22a 
〜22a +++バスドライバ、20・・・デコーダ。
FIG. 1 is a block diagram showing one embodiment of the main part of the apparatus of the present invention, and FIG. 2 is a four-wheel system diagram showing another embodiment of the main part of the apparatus of the present invention. DESCRIPTION OF SYMBOLS 1...Memory block, 2-9...Bit memory element in 64, 10...Control signal input terminal, 11
゜~1115... Address signal input terminal, 14, 15
, 16゜111.21-・Driver, 19 , 22a
~22a +++ bus driver, 20... decoder.

Claims (1)

【特許請求の範囲】 Nビット(Nは自然数)の並列データ転送路に接続され
たメモリ装置において、メモリブロックを1ビツトのコ
ントロール信号によりアクセス動作が制御される複数個
のメモリ素子より構成し、該コントロール信号の値がO
I(又は11N)のときKはMピッ)(Mは自然数)の
アドレス情報の全ビットによ妙アドレス指定を行な゛わ
れで記憶容量2’、 Lピッ)(Lは自然数でL≦N)
の第1のメモリとして動作し、該コントロール信号の値
が11′(又は16N )のときには該Mビットのアド
レス情報のうち(M−K)ビット(Kは自然数で、K≦
M、L≧2K )によ妙アドレス指定を行なわれるとと
もに、Xビットの信号により蚊複数個のメモリ素子のう
ち並列にアクセスされるビットを選択して記憶容12M
・(上)ビットの第2のメモリ2に 上記第1のメモリのアクセスによる2Mのアドレにビッ
トの信号で決定することを特徴とするメモリ装置。
[Claims] In a memory device connected to an N-bit (N is a natural number) parallel data transfer path, a memory block is composed of a plurality of memory elements whose access operations are controlled by a 1-bit control signal, The value of the control signal is O
When I (or 11N), K is M bits) (M is a natural number), and all bits of the address information are given a special address.The storage capacity is 2', L bits) (L is a natural number, and L≦N). )
When the value of the control signal is 11' (or 16N), (M-K) bits of the M-bit address information (K is a natural number, K≦
M, L≧2K), and the bits to be accessed in parallel from among the multiple memory elements are selected by the X-bit signal to increase the memory capacity to 12M.
- (Top) A memory device characterized in that a 2M address is determined by a bit signal by accessing the first memory to the second memory 2 of the bit.
JP524882A 1982-01-16 1982-01-16 Memory device Pending JPS58122688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP524882A JPS58122688A (en) 1982-01-16 1982-01-16 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP524882A JPS58122688A (en) 1982-01-16 1982-01-16 Memory device

Publications (1)

Publication Number Publication Date
JPS58122688A true JPS58122688A (en) 1983-07-21

Family

ID=11605899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP524882A Pending JPS58122688A (en) 1982-01-16 1982-01-16 Memory device

Country Status (1)

Country Link
JP (1) JPS58122688A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7877531B2 (en) 2007-11-14 2011-01-25 Sony Corporation Image processing apparatus and image processing apparatus controlling method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53129925A (en) * 1977-04-19 1978-11-13 Fujitsu Ltd Memory device
JPS544534A (en) * 1977-06-14 1979-01-13 Fujitsu Ltd Memory element
JPS54111237A (en) * 1978-02-20 1979-08-31 Nec Corp Main memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53129925A (en) * 1977-04-19 1978-11-13 Fujitsu Ltd Memory device
JPS544534A (en) * 1977-06-14 1979-01-13 Fujitsu Ltd Memory element
JPS54111237A (en) * 1978-02-20 1979-08-31 Nec Corp Main memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7877531B2 (en) 2007-11-14 2011-01-25 Sony Corporation Image processing apparatus and image processing apparatus controlling method

Similar Documents

Publication Publication Date Title
US5461680A (en) Method and apparatus for converting image data between bit-plane and multi-bit pixel data formats
EP0217479A2 (en) Information processing unit
JPS621047A (en) Semiconductor device containing memory circuit
JPS58122688A (en) Memory device
JPH10302054A (en) Frame buffer memory
JP3741464B2 (en) DRAM access method
JPS61235969A (en) memory device
JPH0520176A (en) Semiconductor memory
JPH0512883A (en) Sequential memory
KR100291938B1 (en) Fast initialization circuit of the same structure dependent device
JPS61149989A (en) semiconductor storage device
KR100215903B1 (en) Read/write circuit for memory
JPH03185536A (en) Memory addressing system for microcomputer
JP2747244B2 (en) Bus control device
JP3091522B2 (en) Memory circuit
JPH02137040A (en) Image processing device
JPH0675610A (en) Display device for programmable controller
JPS6398048A (en) semiconductor storage device
JPH05198181A (en) Random access memory and information processing circuit
JPH05257798A (en) Memory control circuit
JPH0934776A (en) Device and method for processing information
JPH0548559B2 (en)
JPS62175852A (en) Register access device
JPH06337847A (en) Multiprocessor equipment
JPS6368981A (en) semiconductor storage device