JPS6081657A - Data control system - Google Patents

Data control system

Info

Publication number
JPS6081657A
JPS6081657A JP58188483A JP18848383A JPS6081657A JP S6081657 A JPS6081657 A JP S6081657A JP 58188483 A JP58188483 A JP 58188483A JP 18848383 A JP18848383 A JP 18848383A JP S6081657 A JPS6081657 A JP S6081657A
Authority
JP
Japan
Prior art keywords
counter
address
data
signal
counters
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
JP58188483A
Other languages
Japanese (ja)
Inventor
Takashi Minagawa
皆川 孝
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58188483A priority Critical patent/JPS6081657A/en
Publication of JPS6081657A publication Critical patent/JPS6081657A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Landscapes

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

Abstract

PURPOSE:To rotate storage information to read/write data by dividing address counters designating addresses to a storage part and controlling the connection and forward/backward of respective counters. CONSTITUTION:The address counters are divided, a counter 11 outputs the 0-th and 1st bits of address bits and a counter 12 outputs the 2nd and 3rd bits. Selectors 13, 14 control the connection and forward/backward of both counters 11, 12. At the reading time in said constitution, a control part 15 turns off and S1 signal 16, turns on an S2 signal 17, turns both forward/backward control signals U/D1 21, U/D2 22 to a forward mode, and both counters 11, 12 are set up to ''0''. Consequently, addresses are controlled so as to be forwarded from ''0'' to ''15'' successively and outputted as reading data, so that data turned to the left by 90 deg. can be outputted. If both signals 21, 22 are turned to the backward mode similarly, data turned by 180 deg. are outputted to read/write the data.

Description

【発明の詳細な説明】 [技術分野] 本発明は、記憶手段の記憶情報を回転自在に読み/書き
可能とするデータ制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a data control system that enables rotatable reading/writing of stored information in a storage means.

[従来技術] 従来、記憶装置は第1図のブロック図に示す構成であっ
た。図中1はメモリ、2はメモリ1へのアドレスを選択
して出力するセレクタ、3はメモリ1用の書き込みアド
レスカウンタ、4はメモリl用の読み出しアドレスカウ
ンタ、5は制御部である。
[Prior Art] Conventionally, a storage device has a configuration shown in the block diagram of FIG. In the figure, 1 is a memory, 2 is a selector that selects and outputs an address to the memory 1, 3 is a write address counter for the memory 1, 4 is a read address counter for the memory 1, and 5 is a control section.

以上の構成で表示装置の表示を90°又は180゜回転
させる場合等の様に記憶装置の記憶情報を回転させて読
み/書きする場合には、記憶装置を制御している図示し
ない中央処理装置等が書き込み情報を回転させた状態に
変換をした後に、書き込みデータ6及び書き込みアドレ
スを書き込み、アドレスカウンタ3にセットし、読み出
し時には読み出しアドレスカウンタ4を順次カウントア
ツプして回転処理された情報を読み出し情報7として読
み出す。
With the above configuration, when rotating the storage information of the storage device, such as when rotating the display of the display device by 90° or 180°, to read/write, the central processing unit (not shown) controlling the storage device etc. convert the write information into a rotated state, write the write data 6 and the write address, set it in the address counter 3, and when reading, read out the rotated information by sequentially counting up the read address counter 4. Read out as information 7.

又は、書き込みを、書き込みアドレスカウンタ3を順次
カウントラップし、情報の回転をせずにそのまま記憶さ
せ、読み出し時に読み出しアドレスカウンタ4へのアド
レス情報を回転して読み出す様に制御していた。
Alternatively, writing is controlled so that the write address counter 3 is sequentially counted and stored, the information is stored as is without rotation, and when reading, the address information to the read address counter 4 is rotated and read out.

しかしいずれの場合にも非常に複雑なアドレスの制御が
避けられなかった。
However, in either case, extremely complicated address control was unavoidable.

[目的コ 本発明は上述した従来技術の欠点を除去することを目的
とし、記憶情報を回転させて読み/書ささせるのを、記
憶部へのアドレスを指定するアドレスカウンタを分割し
、それぞれのアドレスカウンタ間の接続、及び加進、減
速の制御のみにより可能とするデータ制御方式を提案す
ることにある。
[Purpose] The present invention aims to eliminate the above-mentioned drawbacks of the prior art, and the purpose of the present invention is to rotate and read/write stored information by dividing the address counter that specifies the address to the storage section, and dividing the address counter to specify the address to each storage section. The purpose of this invention is to propose a data control method that is possible only by connecting address counters and controlling acceleration and deceleration.

[実施例] 以下本発明に係る一実施例を図面を参照して説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明に係る一実施例の記憶装置のブロック図
である。
FIG. 2 is a block diagram of a storage device according to an embodiment of the present invention.

図中1はメモリ、11はアドレスビットのOビット目と
エビ゛ット目を出力するカウンタ1,12はアドレスビ
ットの2ビ′ツト目と3ビ′ツト目を出力するカウンタ
2.13及び14は両カウンタの結合及び歩進を制御す
るセレクタであり、工3がAセレクタ、14がBセレク
タである。15は制御部である。
In the figure, 1 is a memory, 11 is a counter 1 which outputs the 0th bit and the bit 12 of the address bit, and 12 is a counter 2 and 13 which outputs the 2nd and 3rd bit of the address bit. 14 is a selector that controls the combination and increment of both counters, 3 is the A selector, and 14 is the B selector. 15 is a control section.

ここでは説明の便宜上アドレスを4ビツトとし、メモリ
1のメモリ容量を16語とする。メモリ1のアドレス配
置は第3図に示す様になっており、このメモリエリアド
レス0より15までに、データの回転が行われていない
場合には第4図(A)に示す様に、アドレス“0パ番地
にA、”i“°番地にB、争−−1“’15”番地にP
か格納されるものとする。
Here, for convenience of explanation, the address is assumed to be 4 bits, and the memory capacity of the memory 1 is assumed to be 16 words. The address arrangement of memory 1 is as shown in Figure 3. If data is not rotated between memory area addresses 0 and 15, the addresses are arranged as shown in Figure 4 (A). "A at address 0", "B at address i"°, P at address -1 "'15"
shall be stored.

この第4図(A)に示すデータを第4図(B)に示す様
に、左に90°回転させてメモリ1内に格納する場合を
以下に説明する。
The case where the data shown in FIG. 4(A) is rotated 90 degrees to the left and stored in the memory 1 as shown in FIG. 4(B) will be described below.

第2図に示す制御部15はS1信号16をオンとし、A
セレクタ13がカウンタ2よりのキャリア信号であるC
A2信号20をカウンタ1(11)のクロック入力に、
S2信号をオフとし、Bセレクタ14が制御6815よ
りのクロック信号18がカウンタ2(12)のクロック
入力に入力される様制御し、カウンタ1(11)への帰
道/減速制御信号であるU/D l信号21を加進モー
ドに、カウンタ2(12)への帰道/減速制御信号であ
るU/D 2信号22を減進モードに設定する。そして
各カウンタには帰道モード時には“0°゛を、減進モー
ド時には3′′をセットする。つまりこの場合にはカウ
ンタ1(11)には“O″をカウンタ2(12)には3
″をセットする。
The control unit 15 shown in FIG. 2 turns on the S1 signal 16 and
C where the selector 13 is the carrier signal from the counter 2
A2 signal 20 to the clock input of counter 1 (11),
The S2 signal is turned off, the B selector 14 controls the clock signal 18 from the control 6815 to be input to the clock input of the counter 2 (12), and the U signal which is the return/deceleration control signal to the counter 1 (11) is inputted to the clock input of the counter 2 (12). The /D l signal 21 is set to acceleration mode, and the U/D 2 signal 22, which is a return/deceleration control signal to counter 2 (12), is set to deceleration mode. Then, each counter is set to "0°" in return mode and 3'' in deceleration mode.In other words, in this case, counter 1 (11) is set to "O" and counter 2 (12) is set to 3.
”.

これによりカウンタ結合はカウンタ1(it)がカウン
ト上位に、カウンタ2(12)がカウント下位になり、
クロック信号18はBセレクタ14を介してカウンタ2
(12)のクロック入力として入力されカウンタ1(1
1)のクロック入力にはカウンタ2(12)のキャリア
信号CA2が入力される。よって、カウンタ2=3、カ
ウンタ1=0→カウンタ2=2、カウンタ1=0→・Q
・カウンタ2=0、カウンタl=3とカウンタ2とカウ
ンタ1の内容が変化していく。
As a result, the counter combination is such that counter 1 (it) becomes the upper counting position and counter 2 (12) becomes the lower counting position.
The clock signal 18 is sent to the counter 2 via the B selector 14.
(12) is input as the clock input of counter 1 (1
The carrier signal CA2 of the counter 2 (12) is input to the clock input of the counter 1). Therefore, counter 2 = 3, counter 1 = 0 → counter 2 = 2, counter 1 = 0 → ・Q
- Counter 2 = 0, counter l = 3, and the contents of counter 2 and counter 1 change.

このためアドレスは(12)→(8)→(4)→(0)
→(13)→・・優となり最終アドレスが(3)となる
。つまりメモリ1内には第4図(B)の如くに格納され
る。このため読み出し時には制御部15がSl信号16
オフ、S2信号17オン、U/D 1信号21及びU/
D2信号22を共に加速モードとし、両方ウンタに“0
パをセットし、アドレスが(0)より順次(15)に加
速される様に制御して読み出しデータとして出力するこ
とにより、左90°に回転したデータが出力される。
Therefore, the address is (12) → (8) → (4) → (0)
→(13)→...It becomes excellent and the final address becomes (3). That is, the data is stored in the memory 1 as shown in FIG. 4(B). Therefore, during reading, the control section 15 uses the Sl signal 16
Off, S2 signal 17 on, U/D 1 signal 21 and U/
Both D2 signals 22 are set to acceleration mode, and both counters are set to “0”.
Data rotated 90 degrees to the left is output by setting the output signal and controlling the address so that it is accelerated sequentially from (0) to (15) and outputting it as read data.

また第4図(D)の如く180°回転させてメモリ1に
格納するためにはS1信号16オフ、S2信号オンとし
、カウンタ結合をカウンタl(1,1)が下位、カウン
タ2(12)が上位とし、U/D l信号21及びU/
D2信号22を共に減速モードとすればよい。この場合
にはカウンタi’(ti)、カウンタ2(12)共に“
′3′がセットされる。
In addition, in order to rotate 180 degrees and store it in the memory 1 as shown in FIG. 4(D), turn off the S1 signal 16 and turn on the S2 signal. is the upper level, and U/D l signal 21 and U/D l signal 21 and U/D
Both D2 signals 22 may be set to deceleration mode. In this case, both counter i' (ti) and counter 2 (12) are "
'3' is set.

又第4図(C)の如く右90°回転させるには、Sl信
号16オン、S2信号オフとしカウンタ結合をカウンタ
1(11)が上位、カウンタ2(12)が下位とし、U
/D l信号21を減速モード、U/D2信号22を加
速モードとし、カウンタ1(11)に’3”、カウンタ
2(12)に“0″をセットすればよい。
In addition, in order to rotate 90 degrees to the right as shown in Fig. 4(C), turn on the Sl signal 16, turn off the S2 signal, set the counter connection so that the counter 1 (11) is the upper one, the counter 2 (12) is the lower one, and the U
It is sufficient to set the /Dl signal 21 to deceleration mode and the U/D2 signal 22 to acceleration mode, and set counter 1 (11) to '3' and counter 2 (12) to '0'.

以上の設定を第5図(A)にまとめて示す。The above settings are summarized in FIG. 5(A).

以上の説明においてはメモリ1への書き込み時にデータ
を回転させて格納していたが、書き込み時には第4図(
A)に示す様にデータを回転させずに格納し、読み出し
時に、カウンタ結合及び加速、減速の制御を行ってもデ
ータが回転した状態で出力される。
In the above explanation, the data was rotated and stored when writing to memory 1, but when writing,
As shown in A), data is stored without being rotated, and even if counter coupling and acceleration/deceleration control are performed at the time of reading, the data is output in a rotated state.

読み出し時における制御を第5図CB)に示す。Control during reading is shown in FIG. 5 CB).

以上の説明ではメモリlを16語とし、アドレスビット
を4ビツトとしたが、カウンタのビット数を増加させる
ことにより、メモリの容量を増加させることができる。
In the above description, the memory l has 16 words and the address bits have 4 bits, but the capacity of the memory can be increased by increasing the number of bits of the counter.

またメモリ内の特定の領域のみ回転させる場合にも、カ
ウンタへの格納アドレスを領域端のアドレスに対応させ
て変えることにより行うことができることは明らかであ
る。
It is clear that even when only a specific area in the memory is to be rotated, this can be done by changing the storage address in the counter in correspondence with the address at the end of the area.

また、カウンタの分割比を変えることにより領域をNX
Mの如く自在に設定できる。
Also, by changing the division ratio of the counter, the area can be
It can be set freely like M.

し効果〕 以上説明した様に本発明によれば、記憶手段の記憶情報
を回転させるのに、アドレスを指定するアドレスカウン
タの分割と該アドレスカウンタの帰道/減速制御のみで
、複雑なアドレス制御をすることなく可能となるデータ
制御方式を提供できる。
[Effects] As explained above, according to the present invention, in order to rotate the stored information in the storage means, only the division of the address counter that specifies the address and the return/deceleration control of the address counter are required, and complicated address control is required. It is possible to provide a data control method that is possible without having to do anything.

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

第1図は従来の記憶装置のアドレス制御系のブロック図
、 第2図は本発明に係る一実施例記憶装置のアドレス制御
系のブロック図、 第3図はメモリのアドレス配置例を示す図、第4図(A
)〜(D)はメモリ記憶データの回転状態を示す図、 第5図(A)はメモリ書き込み時にデータを回転させる
場合のアドレスカウンタの制御を示す図、 第5図(B)はメモリ読み出し時にデータを回転させる
場合のアドレスカウンタの制御を示す図である。 図において1・・・メモリ、2・・・セレクタ、3・・
・書き込みアドレスカウンタ、4・・・読み出しアドレ
スカウンタ、5,15・・・制御部、11・・・カウン
タ1.12・・・カウンタ2.13・・・Aセレクタ、
14・・・Bセレクタである。 第2因 第3図 第4図(A) 第5図(A) 第5図(B)
FIG. 1 is a block diagram of an address control system of a conventional storage device, FIG. 2 is a block diagram of an address control system of a storage device according to an embodiment of the present invention, and FIG. 3 is a diagram showing an example of memory address arrangement. Figure 4 (A
) to (D) are diagrams showing the rotation state of memory storage data, Figure 5 (A) is a diagram showing address counter control when rotating data when writing to memory, and Figure 5 (B) is a diagram showing the rotation state of data stored in memory. FIG. 7 is a diagram illustrating control of an address counter when rotating data. In the figure, 1...memory, 2...selector, 3...
- Write address counter, 4... Read address counter, 5, 15... Control unit, 11... Counter 1.12... Counter 2.13... A selector,
14...B selector. 2nd cause Figure 3 Figure 4 (A) Figure 5 (A) Figure 5 (B)

Claims (1)

【特許請求の範囲】[Claims] 記憶手段の記憶情報を回転させて読み/書きするだめの
データ制御方式において、前記記憶手段の読み/書きア
ドレスを指定する加減速カウント可能な複数のアドレス
指定手段と、該複数のアドレス指定手段の接続及び加減
速カウントを制御して前記記憶手段の記憶情報を回転自
在に読み/書き可能とするアドレス制御手段とを備えた
ことを特徴とするデータ制御方式。
In a data control system for rotating and reading/writing stored information in a storage means, a plurality of address designation means capable of counting acceleration/deceleration for designating read/write addresses of the storage means; 1. A data control system comprising: address control means that controls connections and acceleration/deceleration counts to enable rotatable reading/writing of information stored in the storage means.
JP58188483A 1983-10-11 1983-10-11 Data control system Pending JPS6081657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58188483A JPS6081657A (en) 1983-10-11 1983-10-11 Data control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58188483A JPS6081657A (en) 1983-10-11 1983-10-11 Data control system

Publications (1)

Publication Number Publication Date
JPS6081657A true JPS6081657A (en) 1985-05-09

Family

ID=16224517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58188483A Pending JPS6081657A (en) 1983-10-11 1983-10-11 Data control system

Country Status (1)

Country Link
JP (1) JPS6081657A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS623571A (en) * 1985-06-29 1987-01-09 Mita Ind Co Ltd Image processing device
JPS62166453A (en) * 1986-01-17 1987-07-22 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Memory circuit
US5384645A (en) * 1991-10-15 1995-01-24 Fuji Xerox Co., Ltd. Image rotating apparatus
US5426733A (en) * 1992-07-27 1995-06-20 Fuji Xerox Co., Ltd. Image rotation apparatus capable of rotating image data of different numbers of pixel bits

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS623571A (en) * 1985-06-29 1987-01-09 Mita Ind Co Ltd Image processing device
JPS62166453A (en) * 1986-01-17 1987-07-22 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Memory circuit
US5384645A (en) * 1991-10-15 1995-01-24 Fuji Xerox Co., Ltd. Image rotating apparatus
US5426733A (en) * 1992-07-27 1995-06-20 Fuji Xerox Co., Ltd. Image rotation apparatus capable of rotating image data of different numbers of pixel bits

Similar Documents

Publication Publication Date Title
US4210959A (en) Controller for magnetic disc, recorder, or the like
US4644495A (en) Video memory system
US5293623A (en) Random access memory based buffer memory and associated method utilizing pipelined look-ahead reading
US4873667A (en) FIFO buffer controller
JPS6081657A (en) Data control system
EP0217479A2 (en) Information processing unit
US4763123A (en) Signal selecting circuit for simultaneously performing plural input-output operations
JPH0719191B2 (en) Memory device
US5500825A (en) Parallel data outputting storage circuit
KR100223626B1 (en) First-in and first-out memory circuit
SU1103221A1 (en) Code comparison device
JP2849804B2 (en) Memory access interface circuit and memory access method
JPS586970B2 (en) ROM address sequence control method
JPH01245350A (en) Wait control system
JPH04265038A (en) Memory length variable elastic store
JPH01121926A (en) Memory circuit
JPS5849960B2 (en) Information check method
JPS6055591A (en) Access method of memory unit
JPH0218638A (en) Data control system
JPH03233648A (en) Memory constituting system
JPS61177856A (en) Circuit for detecting change in digital signal
JP2001184855A (en) Memory controller
JPH04321993A (en) Storage control device
JPS6167177A (en) Rotating device of image data
JPS5845032B2 (en) Dynamitsuku Hiyouji Houshiki