JPH04350742A - Picture data write method and picture memory device - Google Patents

Picture data write method and picture memory device

Info

Publication number
JPH04350742A
JPH04350742A JP12371491A JP12371491A JPH04350742A JP H04350742 A JPH04350742 A JP H04350742A JP 12371491 A JP12371491 A JP 12371491A JP 12371491 A JP12371491 A JP 12371491A JP H04350742 A JPH04350742 A JP H04350742A
Authority
JP
Japan
Prior art keywords
shift register
data
rams
bit
ram
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
JP12371491A
Other languages
Japanese (ja)
Inventor
Shigeki Taniguchi
茂樹 谷口
Tetsuo Hizuka
哲男 肥塚
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 JP12371491A priority Critical patent/JPH04350742A/en
Publication of JPH04350742A publication Critical patent/JPH04350742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To shorten the write time of all picture data. CONSTITUTION:n RAMs 1 to n, an m-bit data bus D, an nm-bit shift register S to which serial picture data SD is supplied, data bus selectors C1 to Cn which are arranged for RAMs 1 to n and selectively connect the data bus D or the parallel output terminal of m continuous bits of the shift register S to data terminals of RAMs 1 to n in accordance with a select control signal C, and a chip select circuit CS which simultaneously selects and activates plural RAMs out of RAMs 1 to n to set plural RAMs to the write state at the time of selecting the parallel output terminal of the shift register S by the select control signal C are provided.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像データ書込み方法
及び画像メモリ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data writing method and an image memory device.

【0002】0002

【従来の技術】画像処理装置を用いて、組立及び検査等
をより高速に行うためには、画像処理装置の画像入力処
理及び入力画像に対する画像処理を高速に行う必要があ
る。
2. Description of the Related Art In order to speed up assembly, inspection, etc. using an image processing device, it is necessary to perform image input processing and image processing on input images at high speed.

【0003】図7は、従来の画像メモリ装置20が適用
された画像処理装置のブロック図である。
FIG. 7 is a block diagram of an image processing device to which a conventional image memory device 20 is applied.

【0004】例えば、検査又は組立の対象物が搬送装置
上に載置され、対象物間のピッチで対象物が間欠送りさ
れ、この搬送装置の上方に撮像装置10が配置されてい
る。撮像装置10で対象物を撮像すると、撮像装置10
から映像信号及び同期信号が出力される。この映像信号
は、2値化回路12に供給されて2値化された後、S/
P変換器14に供給されて例えば8ビットの並列データ
に変換される。また、同期信号は転送制御回路16に供
給され、書込みアドレス、S/P変換タイミング信号及
びバスリクエスト信号BR1が生成される。この書込み
アドレスは、S/P変換器14から並列データが出力さ
れる毎にインクリメントされる。これら並列データ及び
書込みアドレスは、バスB1、バスセレクタ18及びバ
スB0を介して画像メモリ装置20に供給され、画像メ
モリ装置20の該アドレスに該データが書込まれる。
For example, objects to be inspected or assembled are placed on a transport device, the objects are intermittently fed at a pitch between the objects, and the imaging device 10 is disposed above the transport device. When an object is imaged by the imaging device 10, the imaging device 10
A video signal and a synchronization signal are output from. After this video signal is supplied to the binarization circuit 12 and binarized, the S/
The signal is supplied to the P converter 14 and converted into, for example, 8-bit parallel data. Further, the synchronization signal is supplied to the transfer control circuit 16, and a write address, an S/P conversion timing signal, and a bus request signal BR1 are generated. This write address is incremented every time parallel data is output from the S/P converter 14. These parallel data and write address are supplied to the image memory device 20 via the bus B1, the bus selector 18, and the bus B0, and the data is written to the address of the image memory device 20.

【0005】バスセレクタ18には、システムプロセッ
サ22及び画像処理回路24がそれぞれバスB2及びバ
スB3を介して接続されており、バスアービタ26から
の選択制御信号に応じ、バスB1、B2及びB3のいず
れか1つが選択されて、バスB0に接続される。この画
像処理回路24は、ハードウエア構成により、画像メモ
リ装置20に書込まれた画像に対する特定の画像処理を
高速に行う。これに対し、システムプロセッサ22は、
MPU、プログラムメモリ、ワークメモリ及びI/Oポ
ートを備えており、ソフトウエア構成で該特定の画像処
理以外の全体的な画像処理及びその他の処理を行う。
A system processor 22 and an image processing circuit 24 are connected to the bus selector 18 via a bus B2 and a bus B3, respectively. One of them is selected and connected to bus B0. The image processing circuit 24 performs specific image processing on the image written in the image memory device 20 at high speed due to its hardware configuration. On the other hand, the system processor 22
It is equipped with an MPU, a program memory, a work memory, and an I/O port, and performs overall image processing and other processing other than the specific image processing using a software configuration.

【0006】バスアービタ26には、S/P変換器14
、システムプロセッサ22及び画像処理回路24からそ
れぞれバスリクエスト信号BR1、BR2及びBR3が
供給される。バスアービタ26は、バスリクエスト信号
BR1、BR2又はBR3を受付けると、S/P変換器
14、システムプロセッサ22又は画像処理回路24に
アクノリッジ信号AK1、AK2又はAK3を供給する
。また、撮像装置10には、システムプロセッサ22か
ら撮像指令が供給され、これに応答して、撮像装置10
からシステムプロセッサ22にアクノリッジ信号AK0
が供給される。
The bus arbiter 26 includes an S/P converter 14
, the system processor 22 and the image processing circuit 24 respectively supply bus request signals BR1, BR2 and BR3. Upon receiving the bus request signal BR1, BR2, or BR3, the bus arbiter 26 supplies an acknowledge signal AK1, AK2, or AK3 to the S/P converter 14, system processor 22, or image processing circuit 24. Further, the imaging device 10 is supplied with an imaging command from the system processor 22, and in response, the imaging device 10
sends an acknowledge signal AK0 to the system processor 22 from
is supplied.

【0007】画像メモリ装置20は、チップセレクト回
路30、RAM31〜34、41〜44及びバスB0を
備えている。このバスB0は、データバス及びアドレス
バスを含んでおり、そのアドレスバスの上位3ビットA
13〜A15がバスアビータ26に供給され、デコード
されてRAM31〜34、RAM41〜44のいずれか
が選択される。そして、選択されたRAMの指定アドレ
スA0 〜A12にS/P変換器14からのデータが書
き込まれ、又は、このアドレスの内容が読み出されてシ
ステムプロセッサ22又は画像処理回路24により処理
される。
The image memory device 20 includes a chip select circuit 30, RAMs 31-34, 41-44, and a bus B0. This bus B0 includes a data bus and an address bus, and the upper three bits A of the address bus
13 to A15 are supplied to the bus beater 26, decoded, and one of the RAMs 31 to 34 and RAMs 41 to 44 is selected. Then, data from the S/P converter 14 is written to designated addresses A0 to A12 of the selected RAM, or the contents of these addresses are read and processed by the system processor 22 or the image processing circuit 24.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、S/P
変換器14からの例えば1バイトのデータをRAMに書
込む毎に、バスB0を選択し、アドレスを更新し、RA
Mを選択して書込み状態にし、データをRAMに書き込
む必要があるので、全画像データ書込み時間が長くなる
という問題点があった。
[Problem to be solved by the invention] However, S/P
Every time, for example, 1 byte of data from the converter 14 is written to the RAM, bus B0 is selected, the address is updated, and the RA
Since it is necessary to select M and put it into the write state and write the data to the RAM, there is a problem that it takes a long time to write all the image data.

【0009】本発明の目的は、このような問題点に鑑み
、全画像データ書込み時間を短縮することができる画像
データ書込み方法及び画像メモリ装置を提供することに
ある。
SUMMARY OF THE INVENTION In view of these problems, an object of the present invention is to provide an image data writing method and an image memory device that can shorten the total image data writing time.

【0010】0010

【課題を解決するための手段及びその作用】図1は本発
明に係る画像メモリ装置の原理構成を示すブロック図で
ある。
Means for Solving the Problems and Their Effects FIG. 1 is a block diagram showing the principle structure of an image memory device according to the present invention.

【0011】この画像メモリ装置は、RAM1〜nと、
mビットのデータバスDと、シリアル画像データSDが
供給されるnmビットのシフトレジスタSと、各組のR
AM1〜nに対して配置され、選択制御信号Cに応じて
、データバスDとシフトレジスタSの連続するmビット
の並列出力端子のいずれか一方をRAM1〜nのデータ
端子に選択的に接続させるデータバスセレクタC1〜C
nと、選択制御信号CがシフトレジスタSの並列出力端
子を選択させるときには、同時に複数組のRAMを選択
してアクティブにさせ、該複数組のRAMを書込み状態
にさせるチップセレクト回路CSとを備えている。
[0011] This image memory device includes RAMs 1 to n;
An m-bit data bus D, an nm-bit shift register S to which serial image data SD is supplied, and each set of R
It is arranged for AM1-n, and selectively connects either one of the consecutive m-bit parallel output terminals of the data bus D and the shift register S to the data terminals of RAM1-n according to the selection control signal C. Data bus selector C1-C
n, and a chip select circuit CS that simultaneously selects and activates a plurality of sets of RAMs and puts the plurality of RAMs into a write state when the selection control signal C selects the parallel output terminal of the shift register S. ing.

【0012】上記構成において、シフトレジスタSにn
mビットのシリアル画像データSDが保持されると、1
回または複数回で、シフトレジスタSのnmビットの内
容がn組のRAM1〜nに書込まれる。したがって、1
アドレス毎にRAMに書込む場合よりも全画像データ書
込み時間が短縮される。本発明に係る画像データ書込み
方法では、このようにして画像データを画像メモリ装置
に書き込む。この方法が適用される画像メモリ装置は、
少なくとも、RAM1〜nと、mビットのデータバスD
と、シリアル画像データSDが供給されるnmビットの
シフトレジスタSとを備えていればよい。
In the above configuration, the shift register S has n
When m-bit serial image data SD is held, 1
The contents of the nm bits of the shift register S are written to n sets of RAMs 1 to n at one or more times. Therefore, 1
The time required to write all image data is shorter than when writing to RAM for each address. In the image data writing method according to the present invention, image data is written into the image memory device in this manner. The image memory device to which this method is applied is
At least RAM1 to n and an m-bit data bus D
and a nm-bit shift register S to which serial image data SD is supplied.

【0013】なお、画像メモリ装置の記憶容量が比較的
大きい場合には、該複数回に分けてシフトレジスタSの
nmビットの内容をRAMに書込むことにより、一時に
消費電流が大きくなるのを低減でき、大きなノイズの発
生を防止することができる。
Note that if the storage capacity of the image memory device is relatively large, by writing the contents of nm bits of the shift register S to the RAM in multiple steps, it is possible to prevent the current consumption from increasing at once. It is possible to reduce the amount of noise and prevent the occurrence of large noise.

【0014】また、画像メモリ装置がシフトレジスタS
を備えているので、画像データが2値データの場合には
、S/P変換器を用いて2値データを並列データに変換
する必要がなく、これも画像データ書込み時間の短縮化
に寄与する。
Further, the image memory device may include a shift register S.
If the image data is binary data, there is no need to use an S/P converter to convert the binary data to parallel data, which also contributes to shortening the image data writing time. .

【0015】次に、本発明の一態様の画像メモリ装置を
、実施例図2中の対応する構成要素の符号を引用して説
明する。
Next, an image memory device according to one embodiment of the present invention will be described with reference to the reference numerals of corresponding components in FIG.

【0016】この画像メモリ装置は、各群がn組からな
る第1〜k群RAM、例えば第1群RAM31〜34、
第2群RAM41〜44、第3群RAM51〜54と、
mビットのデータバスD0と、シリアル画像データSD
が供給され各々がnmビットの、第1〜kシフトレジス
タ、例えば第1シフトレジスタS30、第2シフトレジ
スタS40、第3シフトレジスタS50と、各RAM3
1〜34、41〜44、51〜54に対して配置され、
選択制御信号C3〜C5に応じて、データバスD0とシ
フトレジスタS30、S40、S50の連続するmビッ
トの並列出力端子のいずれか一方をRAM31〜34、
41〜44、51〜54のデータ端子に選択的に接続さ
せるデータバスセレクタ、例えばデータバスセレクタC
31〜C34、C41〜C44、C51〜C54と、選
択制御信号Ci(i=3〜5)がシフトレジスタSi0
の並列出力端子を選択させるときには、第i−2群に属
する複数のRAMを同時に選択してアクティブにさせ、
該複数のRAMを書込み状態にさせるチップセレクト回
路30とを備えている。
This image memory device includes first to k groups of RAMs, each group consisting of n groups, for example, first group RAMs 31 to 34,
2nd group RAM41-44, 3rd group RAM51-54,
m-bit data bus D0 and serial image data SD
are supplied with nm bits each, for example, a first shift register S30, a second shift register S40, a third shift register S50, and each RAM3.
arranged for 1-34, 41-44, 51-54,
Depending on the selection control signals C3 to C5, one of the data bus D0 and the consecutive m-bit parallel output terminals of the shift registers S30, S40, and S50 is connected to the RAMs 31 to 34,
A data bus selector selectively connected to data terminals 41 to 44 and 51 to 54, for example, data bus selector C
31 to C34, C41 to C44, C51 to C54 and the selection control signal Ci (i=3 to 5) are in the shift register Si0.
When selecting the parallel output terminal of , a plurality of RAMs belonging to the i-2th group are simultaneously selected and activated;
It also includes a chip select circuit 30 that puts the plurality of RAMs into a write state.

【0017】上記構成において、シフトレジスタS30
、S40、S50に順次シリアル画像データSDが供給
され、シフトレジスタSi0(i=3〜5)にnmビッ
トのデータが保持された後に、1回または複数回でシフ
トレジスタSi0のnmビットの内容がRAMi1〜i
4に書込まれる。
In the above configuration, the shift register S30
, S40, and S50, and after nm-bit data is held in shift register Si0 (i=3 to 5), the contents of nm-bit of shift register Si0 are changed once or multiple times. RAMi1~i
4 is written.

【0018】この構成によれば、上記複数回に分けてシ
フトレジスタの内容をRAMに書込む場合、シフトレジ
スタからRAMへの画像データの書込みと同時に、他の
シフトレジスタにシリアル画像データSDを供給させる
ことができるので、全画像データ書込み時間短縮という
上記効果が高められる。
According to this configuration, when the contents of the shift register are written to the RAM in a plurality of times, the serial image data SD is supplied to the other shift registers at the same time as the image data is written from the shift register to the RAM. Therefore, the above-mentioned effect of shortening the total image data writing time can be enhanced.

【0019】[0019]

【実施例】以下、図面に基づいて本発明の実施例を説明
する。
Embodiments Hereinafter, embodiments of the present invention will be explained based on the drawings.

【0020】図2は、本発明の一実施例の画像メモリ装
置のブロック図である。図3は、図2の画像メモリ装置
が適用された画像処理装置のブロック図である。図3に
おいて、図7と同一構成要素には同一符号を付してその
説明を省略する。
FIG. 2 is a block diagram of an image memory device according to an embodiment of the present invention. FIG. 3 is a block diagram of an image processing device to which the image memory device of FIG. 2 is applied. In FIG. 3, the same components as those in FIG. 7 are given the same reference numerals, and their explanations will be omitted.

【0021】この画像処理装置では、図3に示す如く、
2値化回路12の出力であるシリアル画像データSDを
直接画像メモリ装置20Aに供給している。また、転送
制御回路16Aは、書込みアドレスを生成してアドレス
バスA1を介しバスセレクタ18に供給し、かつ、後述
する第1〜3群選択制御信号C3〜C5及びシフトパル
スS3〜S5を生成してこれを画像メモリ装置20Aに
供給する。
In this image processing device, as shown in FIG.
Serial image data SD, which is the output of the binarization circuit 12, is directly supplied to the image memory device 20A. The transfer control circuit 16A also generates a write address and supplies it to the bus selector 18 via the address bus A1, and also generates first to third group selection control signals C3 to C5 and shift pulses S3 to S5, which will be described later. and supplies this to the image memory device 20A.

【0022】画像メモリ装置20Aは、図2に示す如く
、第1群のRAM31〜34と、第2群のRAM41〜
44と、第3群のRAM51〜54とを備えている。 各RAM31〜54は、互いに同一構成であり、1個又
は複数個のチップからなる。
As shown in FIG. 2, the image memory device 20A includes a first group of RAMs 31 to 34 and a second group of RAMs 41 to 34.
44, and a third group of RAMs 51 to 54. Each of the RAMs 31 to 54 has the same configuration and consists of one or more chips.

【0023】各RAM31〜54に対してデータバスセ
レクタC31〜C54が配置され、データバスセレクタ
C31〜C54の出力端子は、それぞれRAM31〜5
4のデータ端子に接続されている。また、第1群のRA
M31〜34に沿ってシフトレジスタS30が配置され
、第2群のRAM41〜44に沿ってシフトレジスタS
40が配置され、第3群のRAM51〜54に沿ってシ
フトレジスタS50が配置されている。シフトレジスタ
Si0(i=3〜5)はmビットの4つのシフトレジス
タSij(j=1〜4)に分けられ、シフトレジスタS
ijのmビットの並列出力端子はデータバスセレクタC
ijの一方の入力端子に接続されている。データバスセ
レクタCijの他方の入力端子には、データバスD0が
接続されている。データバスセレクタCijの選択制御
端子には、第i−2群選択制御信号Ciが供給される。 データバスセレクタCijは、第i−2群選択制御信号
Ciに応じて、バスB0のデータバスD0又はシフトレ
ジスタSijの何れか一方をRAMijのデータ端子に
接続する。
Data bus selectors C31 to C54 are arranged for each RAM31 to 54, and the output terminals of the data bus selectors C31 to C54 are connected to the RAMs 31 to 5, respectively.
It is connected to the data terminal of 4. Also, the first group RA
A shift register S30 is arranged along the RAMs M31 to M34, and a shift register S30 is arranged along the RAMs 41 to 44 of the second group.
40 are arranged, and a shift register S50 is arranged along the third group of RAMs 51-54. Shift register Si0 (i=3 to 5) is divided into four m-bit shift registers Sij (j=1 to 4), and shift register S
The m-bit parallel output terminal of ij is the data bus selector C.
It is connected to one input terminal of ij. A data bus D0 is connected to the other input terminal of the data bus selector Cij. The i-2nd group selection control signal Ci is supplied to the selection control terminal of the data bus selector Cij. The data bus selector Cij connects either the data bus D0 of the bus B0 or the shift register Sij to the data terminal of the RAMij according to the i-2nd group selection control signal Ci.

【0024】シフトレジスタS30、S40及びS50
のシリアルデータ入力端子にはシリアル画像データSD
が供給され、シフトレジスタS30、S40及びS50
のクロック端子にはそれぞれシフトパルスS3、S4及
びS5が供給される。
Shift registers S30, S40 and S50
Serial image data SD is input to the serial data input terminal of
are supplied, and shift registers S30, S40 and S50
Shift pulses S3, S4, and S5 are supplied to the clock terminals of , respectively.

【0025】バスB0のアドレスバスA0の内、下位1
2ビットA0 〜A11はRAM31〜54のアドレス
入力端子に共通に供給され、上位4ビットA12〜A1
5はチップセレクト回路30に供給される。このチップ
セレクト回路30には、第1〜3群選択制御信号C3〜
C5も供給される。チップセレクト回路30は、これら
の入力信号に基づいてチップセレクト信号CS31〜C
S54を生成し、RAM31〜54のチップセレクト入
力端子に供給する。
[0025] Lower 1 of address bus A0 of bus B0
2 bits A0 to A11 are commonly supplied to the address input terminals of RAM31 to 54, and upper 4 bits A12 to A1
5 is supplied to the chip select circuit 30. This chip select circuit 30 receives first to third group selection control signals C3 to
C5 is also supplied. The chip select circuit 30 generates chip select signals CS31 to C based on these input signals.
S54 is generated and supplied to the chip select input terminals of the RAMs 31-54.

【0026】チップセレクト回路30の一部構成を図4
に示す。アドレスバスA0の上位4ビットA12〜A1
5は、デコーダ301に供給されてデコードされ、デコ
ーダ301の出力の内、RAM31〜34に対応したセ
レクト信号Q31〜Q34がオアゲート302に供給さ
れ、オアゲート302の出力がアンドゲート303の一
方の入力端子に供給される。セレクト信号Q31は、ア
ンドゲート305の一方の入力端子にも供給される。ア
ンドゲート303の他方の入力端子には第1群選択制御
信号C3が供給され、アンドゲート305の他方の入力
端子にはインバータ304を介して第1群選択制御信号
C3が供給される。アンドゲート303及び305の出
力はオアゲート306に供給され、RAM31を選択す
るチップセレクト信号CS31がオアゲート306から
取り出される。
FIG. 4 shows a partial configuration of the chip select circuit 30.
Shown below. Upper 4 bits A12 to A1 of address bus A0
5 is supplied to the decoder 301 and decoded, and among the outputs of the decoder 301, select signals Q31 to Q34 corresponding to the RAMs 31 to 34 are supplied to the OR gate 302, and the output of the OR gate 302 is input to one input terminal of the AND gate 303. supplied to Select signal Q31 is also supplied to one input terminal of AND gate 305. The other input terminal of the AND gate 303 is supplied with the first group selection control signal C3, and the other input terminal of the AND gate 305 is supplied with the first group selection control signal C3 via the inverter 304. The outputs of AND gates 303 and 305 are supplied to OR gate 306, and a chip select signal CS31 for selecting RAM 31 is taken out from OR gate 306.

【0027】第1群選択制御信号C3及びセレクト信号
Q31が高レベルとなった場合、チップセレクト信号C
S31が高レベルとなり、同様にしてチップセレクト信
号CS32〜CS34も高レベルとなって、RAM31
〜34が同時に選択される。第1群選択制御信号C3が
低レベルの場合には、セレクト信号Q31が高レベルの
ときチップセレクト信号CS31のみが高レベルとなり
、同様に、セレクト信号Q3j(j=2〜4)が高レベ
ルのとき、チップセレクト信号CS3jのみが高レベル
となる。RAM41〜54の選択についても同様である
When the first group selection control signal C3 and the select signal Q31 become high level, the chip select signal C3 becomes high level.
S31 becomes a high level, and chip select signals CS32 to CS34 also become a high level, and the RAM 31
-34 are selected at the same time. When the first group selection control signal C3 is at a low level, only the chip select signal CS31 is at a high level when the select signal Q31 is at a high level, and similarly, when the select signal Q3j (j = 2 to 4) is at a high level, At this time, only the chip select signal CS3j becomes high level. The same applies to the selection of RAMs 41 to 54.

【0028】次に、図5を参照して、上記の如く構成さ
れた画像メモリ装置の動作を説明する。
Next, the operation of the image memory device configured as described above will be explained with reference to FIG.

【0029】図5に示す初期部分では、図5(B)、(
D)及び(F)に示す如く、第1〜3群選択制御信号C
3〜C5はいずれも低レベルとなって、RAM31〜5
4のデータ端子にはデータバスD0が接続されている。 また、バスリクエスト信号BR1は、図5(G)に示す
如く低レベルとなっている。他方、バスリクエスト信号
BR2及びBR3は、例えば図5(H)及び(I)に示
す如く変化する。バス選択優先順位はバスB1、B2、
B3の順であり、バスアビータ26は、図5(J)〜(
L)に示す如く、最初はバスB2を選択する。
In the initial part shown in FIG. 5, FIG.
As shown in D) and (F), the first to third group selection control signals C
3 to C5 are all at low level, and RAM31 to 5
A data bus D0 is connected to the data terminal No.4. Further, the bus request signal BR1 is at a low level as shown in FIG. 5(G). On the other hand, the bus request signals BR2 and BR3 change as shown in FIGS. 5(H) and (I), for example. Bus selection priority is bus B1, B2,
B3, and the bus beater 26 is in the order shown in FIGS. 5(J) to (
As shown in L), first, bus B2 is selected.

【0030】この状態では、RAM31〜54に書込ま
れている画像データに対し、システムプロセッサ22が
処理を行う。この画像処理と並行して、シフトレジスタ
S30のクロック端子にシフトパルスS3が供給され、
シフトレジスタS30が図5(A)に示す如く動作状態
となり、シフトレジスタS30にシリアル画像データS
Dが保持され、シフトされる。この際、シフトパルスS
4及びS5は停止している。
In this state, the system processor 22 processes the image data written in the RAMs 31-54. In parallel with this image processing, a shift pulse S3 is supplied to the clock terminal of the shift register S30,
The shift register S30 enters the operating state as shown in FIG. 5(A), and the serial image data S is stored in the shift register S30.
D is retained and shifted. At this time, shift pulse S
4 and S5 are stopped.

【0031】シフト動作が4m回繰り返されると、シフ
トパルスS3が停止し、図5(G)に示す如くバスリク
エスト信号BR1が高レベルとなり、図5(J)に示す
如くバスB1が選択され、図5(B)に示す如く第1群
選択制御信号C3が高レベルとなり、シフトレジスタS
30の並列出力端子がRAM31〜34のデータ端子に
接続され、RAM31〜34にシフトレジスタS30の
全内容が書き込まれる。この書込み動作と並行して、シ
フトレジスタS40にシフトパルスS4が供給され、上
記同様の処理が行われる。
When the shift operation is repeated 4m times, the shift pulse S3 stops, the bus request signal BR1 becomes high level as shown in FIG. 5(G), and the bus B1 is selected as shown in FIG. 5(J). As shown in FIG. 5(B), the first group selection control signal C3 becomes high level, and the shift register S
30 parallel output terminals are connected to data terminals of RAMs 31-34, and the entire contents of shift register S30 are written to RAMs 31-34. In parallel with this write operation, a shift pulse S4 is supplied to the shift register S40, and the same processing as described above is performed.

【0032】図5(H)に示す如くバスリクエスト信号
BR2が低レベルになると、図5(L)に示す如くバス
B3が選択され、RAM31〜54に格納された画像デ
ータに対し、画像処理回路24による画像処理が行われ
る。
When the bus request signal BR2 becomes low level as shown in FIG. 5(H), the bus B3 is selected as shown in FIG. 5(L), and the image processing circuit Image processing by 24 is performed.

【0033】上記同様にして、次にシフトレジスタS4
0の内容がRAM41〜44に書込まれ、次にシフトレ
ジスタS50の内容がRAM51〜54に書込まれ、次
にシフトレジスタS30の内容がRAM31〜34に書
込まれ、以下同様の処理が行われる。
In the same manner as above, next shift register S4
The contents of 0 are written to RAM41-44, then the contents of shift register S50 are written to RAM51-54, then the contents of shift register S30 are written to RAM31-34, and the same process is performed. be exposed.

【0034】本実施例では入力画像データを画像メモリ
装置20AのシフトレジスタS4i(i=1〜4)に転
送し、シフトレジスタS4iのビット長単位で一括して
RAMi1〜i4に画像データを書込むので、全画像デ
ータ書込み時間が短縮され、その分を画像処理にまわす
ことができ、画像処理装置の全処理時間が短縮される。
In this embodiment, the input image data is transferred to the shift register S4i (i=1 to 4) of the image memory device 20A, and the image data is written to RAMi1 to i4 in batches in bit length units of the shift register S4i. Therefore, the total image data writing time is shortened, and that time can be used for image processing, and the total processing time of the image processing apparatus is shortened.

【0035】また、画像メモリ装置20がシフトレジス
タS30、S40及びS50を備えているので、図7に
示すS/P変換器14を用いる必要がなく、これも画像
入力時間の短縮化に寄与している。
Furthermore, since the image memory device 20 includes shift registers S30, S40, and S50, there is no need to use the S/P converter 14 shown in FIG. 7, which also contributes to shortening the image input time. ing.

【0036】次に、1画素のデータが多値の場合を説明
する。図6は、図2の画像メモリ装置20Aが適用され
た他の画像処理装置のブロック図である。この画像処理
装置では、撮像装置10から出力される映像信号をA/
D変換器28に供給してデジタル化した後、P/S変換
器29に供給してシリアル画像データSDに変換し、こ
れを画像メモリ装置20Aに供給する。他の点は図3と
同一である。
Next, the case where one pixel data is multivalued will be explained. FIG. 6 is a block diagram of another image processing device to which the image memory device 20A of FIG. 2 is applied. In this image processing device, the video signal output from the imaging device 10 is
After being supplied to the D converter 28 and digitized, it is supplied to the P/S converter 29 and converted into serial image data SD, which is then supplied to the image memory device 20A. Other points are the same as in FIG.

【0037】[0037]

【発明の効果】以上説明した如く、本発明に係る画像デ
ータ書込み方法及び画像メモリ装置では、シフトレジス
タの全ビットにシリアル画像データが保持されると、1
回または複数回で、シフトレジスタの全内容がRAMに
書込まれるので、1アドレス毎にRAMに書込む場合よ
りも全画像データ書込み時間が短縮されるという効果を
奏し、画像処理装置を用いた検査・組立処理の高速化に
寄与するところが大きい。
As explained above, in the image data writing method and image memory device according to the present invention, when serial image data is held in all bits of the shift register, 1
Since the entire contents of the shift register are written to the RAM once or multiple times, the time required to write all image data is reduced compared to when writing to the RAM for each address. This greatly contributes to speeding up inspection and assembly processing.

【0038】また、画像メモリ装置がシフトレジスタを
備えているので、画像データが2値データの場合には、
S/P変換器を用いて2値データを並列データに変換す
る必要がなく、画像データ書込み時間を短縮するという
前記効果が高められる。
Furthermore, since the image memory device is equipped with a shift register, when the image data is binary data,
There is no need to convert binary data into parallel data using an S/P converter, and the aforementioned effect of shortening the image data writing time is enhanced.

【0039】本発明の上記第1態様によれば、複数回に
分けてシフトレジスタの内容をRAMに書込む場合、シ
フトレジスタからRAMへの画像データの書込みと同時
に、他のシフトレジスタにシリアル画像データを供給さ
せることができるので、全画像データ書込み時間を短縮
するという上記効果が高められる。
According to the first aspect of the present invention, when writing the contents of the shift register to the RAM in multiple batches, at the same time as writing the image data from the shift register to the RAM, serial images are written to other shift registers. Since the data can be supplied, the above-mentioned effect of shortening the total image data writing time is enhanced.

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

【図1】本発明の原理構成図である。FIG. 1 is a diagram showing the principle configuration of the present invention.

【図2】本発明の一実施例の画像メモリ装置のブロック
図である。
FIG. 2 is a block diagram of an image memory device according to an embodiment of the present invention.

【図3】図2の画像メモリ装置が適用された画像処理装
置のブロック図である。
FIG. 3 is a block diagram of an image processing device to which the image memory device of FIG. 2 is applied.

【図4】図2のチップセレクト回路の一部構成図である
FIG. 4 is a partial configuration diagram of the chip select circuit of FIG. 2;

【図5】図2及び図3の回路の動作を示すタイムチャー
トである。
FIG. 5 is a time chart showing the operation of the circuits in FIGS. 2 and 3;

【図6】図2の画像メモリ装置が適用された他の画像処
理装置のブロック図である。
FIG. 6 is a block diagram of another image processing device to which the image memory device of FIG. 2 is applied.

【図7】従来の画像メモリ装置20が適用された画像処
理装置のブロック図である。
FIG. 7 is a block diagram of an image processing device to which a conventional image memory device 20 is applied.

【符号の説明】[Explanation of symbols]

30  チップセレクト回路 31〜54  RAM S30、S40、S50  シフトレジスタC31〜C
54  データバスセレクタSD  シリアル画像デー
タ C3〜C5  選択制御信号
30 Chip select circuit 31-54 RAM S30, S40, S50 Shift register C31-C
54 Data bus selector SD Serial image data C3 to C5 selection control signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  n組のRAM(1〜n)と、mビット
のデータバス(D)と、シリアル画像データ(SD)が
供給されるnmビットのシフトレジスタ(S)とを備え
た画像メモリ装置に対し、該シフトレジスタにnmビッ
トのデータを保持した後に、1回または複数回で該シフ
トレジスタのnmビットの内容をn組の該RAMに書込
むことを特徴とする画像メモリ装置。
1. An image memory comprising n sets of RAMs (1 to n), an m-bit data bus (D), and an nm-bit shift register (S) to which serial image data (SD) is supplied. An image memory device characterized in that, after holding nm-bit data in the shift register, the nm-bit contents of the shift register are written into n sets of the RAMs one or more times.
【請求項2】  n組のRAM(1〜n)と、mビット
のデータバス(D)と、シリアル画像データ(SD)が
供給されるnmビットのシフトレジスタ(S)と、各組
の該RAMに対して配置され、選択制御信号(C)に応
じて、該データバスと該シフトレジスタの連続するmビ
ットの並列出力端子のいずれか一方を該RAMのデータ
端子に選択的に接続させるデータバスセレクタ(C1〜
Cn)と、該選択制御信号が該シフトレジスタの並列出
力端子を選択させるときには、同時に複数組の該RAM
を選択して該RAMをアクティブにさせ、該複数組の該
RAMを書込み状態にさせるチップセレクト回路(CS
)とを有し、該シフトレジスタにnmビットのデータが
保持された後に、1回または複数回で該シフトレジスタ
のnmビットの内容がn組の該RAMに書込まれるよう
にしたことを特徴とする画像メモリ装置。
2. n sets of RAMs (1 to n), an m-bit data bus (D), an nm-bit shift register (S) to which serial image data (SD) is supplied, and a corresponding one of each set. Data that is arranged for the RAM and selectively connects either the data bus or the consecutive m-bit parallel output terminals of the shift register to the data terminal of the RAM according to a selection control signal (C). Bus selector (C1~
Cn), and when the selection control signal selects the parallel output terminals of the shift register, a plurality of sets of the RAM
a chip select circuit (CS
), and after the nm-bit data is held in the shift register, the nm-bit contents of the shift register are written to n sets of the RAMs once or multiple times. Image memory device.
【請求項3】  各群がn組からなる第1〜k群RAM
(31〜34、41〜44、51〜54)と、mビット
のデータバス(D0)と、シリアル画像データ(SD)
が供給され各々がnmビットの、第1〜kシフトレジス
タ(S30、S40、S50)と、各組の該RAMに対
して配置され、選択制御信号(C3〜C5)に応じて、
該データバスと該シフトレジスタの連続するmビットの
並列出力端子のいずれか一方を該RAMのデータ端子に
選択的に接続させるデータバスセレクタ(C31〜C3
4、C41〜C44、C51〜54)と、該選択制御信
号が該第iシフトレジスタ(i=1〜k)の並列出力端
子を選択させるときには、該第i群に属する複数組の該
RAMを同時に選択して該RAMをアクティブにさせ、
該複数組の該RAMを書込み状態にさせるチップセレク
ト回路(30)とを有し、該第1〜kシフトレジスタに
順次該シリアル画像データが供給され、該第iシフトレ
ジスタ(i=1〜k)にnmビットのデータが保持され
た後に、1回または複数回で該第iシフトレジスタのn
mビットの内容が該第i群RAMに書込まれるようにし
たことを特徴とする画像メモリ装置。
3. First to k group RAM, each group consisting of n groups.
(31-34, 41-44, 51-54), m-bit data bus (D0), and serial image data (SD)
are supplied to the first to k shift registers (S30, S40, S50) each having nm bits, and are arranged for each set of the RAM, according to selection control signals (C3 to C5).
a data bus selector (C31 to C3) that selectively connects either the data bus or the continuous m-bit parallel output terminals of the shift register to the data terminal of the RAM;
4, C41 to C44, C51 to C54), and when the selection control signal selects the parallel output terminal of the i-th shift register (i=1-k), the plurality of sets of RAMs belonging to the i-th group are selected. select at the same time to activate the RAM,
It has a chip select circuit (30) that puts the plurality of sets of the RAM into a write state, and the serial image data is sequentially supplied to the first to k shift registers, and the i-th shift register (i=1 to k ), n of the i-th shift register is held once or multiple times.
An image memory device characterized in that the contents of m bits are written into the i-th group RAM.
JP12371491A 1991-05-28 1991-05-28 Picture data write method and picture memory device Pending JPH04350742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12371491A JPH04350742A (en) 1991-05-28 1991-05-28 Picture data write method and picture memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12371491A JPH04350742A (en) 1991-05-28 1991-05-28 Picture data write method and picture memory device

Publications (1)

Publication Number Publication Date
JPH04350742A true JPH04350742A (en) 1992-12-04

Family

ID=14867546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12371491A Pending JPH04350742A (en) 1991-05-28 1991-05-28 Picture data write method and picture memory device

Country Status (1)

Country Link
JP (1) JPH04350742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505066A (en) * 2002-10-31 2006-02-09 リング テクノロジー エンタープライズィズ,エルエルシー Method and apparatus for improved memory access

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505066A (en) * 2002-10-31 2006-02-09 リング テクノロジー エンタープライズィズ,エルエルシー Method and apparatus for improved memory access

Similar Documents

Publication Publication Date Title
US4571676A (en) Memory module selection and reconfiguration apparatus in a data processing system
JPH059872B2 (en)
JPH0137788B2 (en)
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
KR19980032195A (en) DMA controller with channel tagging
US4887302A (en) Labelling circuit for image processor
JPS63502535A (en) multiprocessor equipment
US5201058A (en) Control system for transferring vector data without waiting for transfer end of the previous vector data
US6292853B1 (en) DMA controller adapted for transferring data in two-dimensional mapped address space
JPH07152721A (en) Microcomputer
GB2060961A (en) Data processing system having memory modules with distributed address information
EP0081358A2 (en) Data processing system providing improved data transfer between modules
JPH04350742A (en) Picture data write method and picture memory device
JPS6242306B2 (en)
JPH11259417A (en) Bus access system and bus access controller
JP4445621B2 (en) Method and apparatus for accessing shared memory in multiprocessor type processing apparatus
JP3776513B2 (en) Image processing device
US6493775B2 (en) Control for timed access of devices to a system bus
JPH06208614A (en) Image processor
JP2523687Y2 (en) Image data processing device
US5887137A (en) Data processing apparatus having a sorting unit to provide sorted data to a processor
JPH10326258A (en) Data arithmetic system and method therefor
JP2814543B2 (en) Signal selection transmission circuit and its task processing method
JP3093359B2 (en) Line buffering processing circuit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020205