JPH0118430B2 - - Google Patents

Info

Publication number
JPH0118430B2
JPH0118430B2 JP58138260A JP13826083A JPH0118430B2 JP H0118430 B2 JPH0118430 B2 JP H0118430B2 JP 58138260 A JP58138260 A JP 58138260A JP 13826083 A JP13826083 A JP 13826083A JP H0118430 B2 JPH0118430 B2 JP H0118430B2
Authority
JP
Japan
Prior art keywords
memory
data
bit
signal
bits
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP58138260A
Other languages
Japanese (ja)
Other versions
JPS6029786A (en
Inventor
Kenkichi Kubo
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 JP58138260A priority Critical patent/JPS6029786A/en
Publication of JPS6029786A publication Critical patent/JPS6029786A/en
Publication of JPH0118430B2 publication Critical patent/JPH0118430B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Digital Computer Display Output (AREA)
  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

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

(a) 発明の技術分野 本発明はデイスプレイ用画像メモリへのアクセ
スを制御するメモリ制御方式に関する。 (b) 従来技術と問題点 ビツトマツプデイスプレイ装置はイメージデー
タが格納された表示メモリのメモリ位置(アドレ
ス)と、そのアドレスに格納されたイメージデー
タによる表示位置とは1対1に対応する。単色表
示の場合、表示メモリ内の或メモリ位置の信号が
「1」のとき、画面上の該メモリ位置に対応する
位置が輝点として表示される。表示メモリ(イメ
ージメモリ)が、例えば(256×256)ビツトで構
成されている場合、表示モリへのアクセスはバイ
ト(8ビツト)単位で行われる。殊に表示メモリ
が複数のメモリチツプで構成されるときに、この
ようなアクセスが行われる。しかし、このような
アクセス方法は方向性を有することになり、例え
ば水平方向へは1回のアクセスで8ビツト分アク
セスできるから効率がよいが、垂直方向への8ビ
ツト分のアクセスの際には、水平方向のアクセス
を8回行なう必要があり、アクセス回数が多くな
る欠点を生ずる。これを第1図によつて説明す
る。第1図は(256×256)ビツトの表示メモリを
有し、アクセスはバイト(8ビツト)単位で行わ
れ、図示の例ではアクセス単位B0,B1…B31の順
で水平方向にアクセスしたのち、次に第2行のア
クセス単位B32から水平方向にアクセスしてデー
タの読出しを行う方式を採用している。このアク
セス方式ではアクセス単位B1のように8ビツト
の全部が信号「1」のとき、すなわち横罫線表示
のときには、この8ビツトの信号「1」を読出す
のにアクセス単位B1指定の1回のアクセスで済
み、アクセス効率がよい。これに対し縦罫線表示
の場合、例えば図示の如くアクセス単位B0
B32,B128,B256,B512,B1K,B2Kの左端の各ビ
ツトアドレスに、信号「1」が書込まれていた場
合、この8個の信号を読出すためには、メモリへ
のアクセスをアクセス単位B0,B32,B64…B2K
でをインクリメントしながら8回繰返さねばなら
ない欠点があつた。 (c) 発明の目的 本発明は上記の欠点を解決するためになされた
もので、表示メモリへのアクセス効率を向上する
メモリ制御方式の提供を目的とする。 (d) 発明の構成 D0〜Do-1なるnビツトのデータバスを有する
処理装置と、J0〜Jo-1なるnビツトのメモリバス
を有し、縦横の行列に配置されるメモリ素子で構
築すると共に前記メモリバスを行または列毎に循
環的に切替えて各メモリ素子に接続した記憶部
と、該処理装置から出力した上記記憶部のアドレ
ス指定信号X,Y内のそれぞれの下位ビツト部分
からなるビツトデータX′,Y′が入力されると共
にこのビツトデータX′,Y′のそれぞれのビツト
数を前記nを指定可能なビツト数で構成し、この
入力されたビツトデータX′,Y′に応じた切替制
御データSHを出力する切替制御部と、を備え、
該D0〜Do-1のデータバスと該J0〜Jo-1のメモリバ
スとの接続を、前記切替制御データSHに基づい
て循環的に切替え接続したことを特徴とするメモ
リ制御方式である。 (c) 発明の実施例 以下、本発明を図面によつて説明するが、説明
の都合上プロセツサ2からのデータバス数は8ビ
ツトに統一して行なう。第2図はメモリアクセス
の問題点を説明するブロツク図であり、第3図は
この問題点を解決する本発明の原理的な説明ブロ
ツク図である。第2図aに示す如く、表示用のメ
モリ1とプロセサ2とは0,1,2,…,6,7
で現わす8本のデータバス3によつて結ばれてい
る。なおメモリ1はm行、n列のブロツクに分け
られ、1つのブロツクは8×8ビツトの枡目から
なり、アクセスは水平または垂直方向への8ビツ
ト単位で行なわれるものとする。このようなメモ
リ1の場合、8本のデータバス3(D0,D1,…,
D7)は第2図bに示すように8×8ビツトの各
行毎に列(水平)方向へD0,D1,…,D7の順で
結合されている。なお、8m+0〜8m+7はブロ
ツク内行アドレス、8n+0〜8n+7はブロツク
内の列アドレスである。この結合はメモリ内にお
いても同様である。このように結合されたメモリ
1に対して、プロセサ2から垂直方向の1「列」
分に8ビツト単位でアクセスすると、メモリ1の
同一「列」上の各アドレスにはデータバス3の同
一のビツトが割当てられている(例えば行アドレ
ス8m+0〜8m+7の「列」アドレス8n+0に
は、データバス3のビツトD0が割当てられてい
る)ので、アクセスする「列」を例えば第0ビツ
ト「列」とすると、第0ビツト「列」の8ビツト
全部にはデータバスのD0から供給される同一の
信号が現れてしまう。そこで、第0ビツト「列」
の第1行目〜第8行目の各々に対してデータバス
のD0乃至D7によつて供給される信号を夫々表示
するためには、メモリ1の水平方向へ8ビツト単
位でアクセスを8回行ない、その都度バスD0
供給する信号をD1,D2,…D7が供給していた信
号と入れ換えながら行アドレスをインクリメント
する手間暇を掛けざるを得ない。そこで本発明
は、第3図aに示す如く、メモリ1とプロセサ2
との間にメモリ制御部4を設け、メモリ1の水平
方向にアクセスする場合には、データバス3側か
らみてメモリ1は第3図bに示すように水平方向
にデータバス3の各ビツトを順に結合となさし
め、これに対しメモリ1の垂直方向にアクセスす
る場合には、メモリ1は第3図cに示すように垂
直方向にデータバス3の各ビツトを順に結合とな
さしめれば、メモリ1に対する水平/垂直両方向
のアクセス効率が向上する。これは第3図aにお
けるメモリ制御部4がデータバス3とメモリバス
6の接続切替を行なう事で実現できる。この切替
方法を説明するのが第4図であり、図中のアルフ
アベツト「A」〜「H」はデータバス3のD0
D1,…,D7を切替えて接続されるメモリバス6
対応のビツトを示している。第4図で明らかなよ
うにブロツク内アドレスの第1行(横方向,8m
+0)の各項は「A′」〜「H」であり、次の第
2行の8m+1の各項は「B」〜「A」というよ
うに、(8m+0)行から(8m+7)行までアル
フアベツトが1つシフトされた形となつている。
これはメモリバスが行毎に1つずつシフトされて
接続されることを示すものであるが、詳細は後述
する。第3図aに示したメモリ1内の接続を第4
図に示す接続にしておくことにより、水平/垂
直、何れの方向にアクセスするときにも、メモリ
バスのビツト割当がダブルことがない。第3図a
におけるメモリ制御部4によるアクセス制御を、
第5図によつて説明する。 第5図におけるメモリ1とシフト制御部5と
は、メモリバス6によつて結ばれ、シフト制御部
5とプロセサ2とは、データバス3によつて結ば
れている。シフト制御部5は第6図に示す如くセ
レクタS1〜S8で構成され、その出力端子A〜Hは
メモモリバス6に結ばれている。そして各セレク
タS1〜S8には、第5図における加算回路7からの
シフト信号SHが供給される。またセレクタS1
各入力端子I0〜I7には図示のようにデータバス
D0,D7,D6,D5,D4,D3,D2,D1が接続され、
またセレクタS2の入力端子I0〜I7にデータバス
D1,D0,D7,D6,D5,D4,D3,D2というよう
に1つズレた形で接続される。従つてセレクタS8
の入力端子I0〜I7には、データバスD7,D6,D5
D4,D3,D2,D1,D0が結ばれている。このよう
なセレクタS1〜S7にシフト信号SHが供給され、
その値が「0」のとき、セレクタS1の出力端子A
はデータバスD0に接続され、セレクタS2の出力
端子BはデータバスD1に接続される。以下、セ
レクタS8まで同様の選択接続が行われ、セレクタ
S8においては、出力端子HはデータバスD7に接
続される。シフト信号SHの値が「0」から「7」
までに変化したとき、セレクタS1〜S8の各出力端
子A〜HとデータバスD0〜D7とは次表に示す対
応で選択接続される。
(a) Technical Field of the Invention The present invention relates to a memory control method for controlling access to a display image memory. (b) Prior Art and Problems In a bitmap display device, there is a one-to-one correspondence between a memory location (address) of a display memory where image data is stored and a display position according to the image data stored at that address. In the case of monochrome display, when the signal at a certain memory location in the display memory is "1", the position corresponding to the memory location on the screen is displayed as a bright spot. If the display memory (image memory) is composed of (256×256) bits, for example, access to the display memory is performed in units of bytes (8 bits). Such access takes place in particular when the display memory is composed of a plurality of memory chips. However, such an access method has directionality; for example, it is efficient because 8 bits can be accessed in one access in the horizontal direction, but it is efficient when accessing 8 bits in the vertical direction. , it is necessary to perform horizontal access eight times, resulting in a disadvantage that the number of accesses increases. This will be explained with reference to FIG. Figure 1 has a display memory of (256 x 256) bits, and access is performed in byte (8 bit) units, and in the illustrated example, access is performed horizontally in the order of access units B 0 , B 1 ...B 31 . After that, a method is adopted in which data is read by accessing in the horizontal direction from the access unit B 32 in the second row. In this access method, when all 8 bits are signal ``1'' as in access unit B 1 , that is, when displaying horizontal ruled lines, the 1 specified in access unit B 1 is required to read out the 8 bit signal ``1''. Access efficiency is high as only one access is required. On the other hand, in the case of vertical ruled line display, for example, as shown in the figure, the access unit B 0 ,
If a signal "1" is written to each leftmost bit address of B 32 , B 128 , B 256 , B 512 , B 1K , and B 2K , in order to read these eight signals, the memory There was a drawback that the access to the access unit B 0 , B 32 , B 64 . . . B had to be repeated eight times while incrementing up to 2K . (c) Purpose of the Invention The present invention has been made to solve the above-mentioned drawbacks, and aims to provide a memory control method that improves the efficiency of accessing display memory. (d) Structure of the invention A processing device having an n-bit data bus D 0 to D o-1 , and an n-bit memory bus J 0 to J o-1 , and the memory is arranged in rows and columns. A memory section configured with elements and connected to each memory element by cyclically switching the memory bus for each row or column, and lower-order signals in the addressing signals X and Y of the memory section output from the processing device. Bit data X', Y' consisting of bit parts are input, and the number of bits of each of these bit data , a switching control unit that outputs switching control data SH according to Y',
A memory control method characterized in that connections between the D 0 to D o-1 data buses and the J 0 to J o-1 memory buses are cyclically switched and connected based on the switching control data SH. It is. (c) Embodiments of the Invention The present invention will be explained below with reference to the drawings, but for convenience of explanation, the number of data buses from the processor 2 will be unified to 8 bits. FIG. 2 is a block diagram explaining the problem of memory access, and FIG. 3 is a block diagram explaining the principle of the present invention to solve this problem. As shown in FIG. 2a, the display memory 1 and processor 2 are 0, 1, 2, ..., 6, 7.
They are connected by eight data buses 3 represented by . It is assumed that the memory 1 is divided into blocks of m rows and n columns, each block consisting of a square of 8.times.8 bits, and access is performed in units of 8 bits in the horizontal or vertical direction. In the case of such a memory 1, eight data buses 3 (D 0 , D 1 ,...,
D 7 ) are combined in the column (horizontal) direction in the order of D 0 , D 1 , . . . , D 7 for each row of 8×8 bits, as shown in FIG. 2b. Note that 8m+0 to 8m+7 are row addresses within the block, and 8n+0 to 8n+7 are column addresses within the block. This connection is similar within memory. For memory 1 combined in this way, one "column" in the vertical direction from processor 2
When accessing in 8-bit units per minute, each address on the same "column" of memory 1 is assigned the same bit of data bus 3 (for example, "column" address 8n+0 of row addresses 8m+0 to 8m+7 has Bit D 0 of data bus 3 is assigned), so if the ``column'' to be accessed is, for example, the 0th bit ``column'', all 8 bits of the 0th bit ``column'' are supplied from D 0 of the data bus. The same signal will appear. Therefore, the 0th bit "column"
In order to display the signals supplied by D 0 to D 7 of the data bus for each of the first to eighth rows of This is done eight times, and each time it takes time and effort to increment the row address while replacing the signal supplied by bus D 0 with the signal supplied by D 1 , D 2 , . . . D 7 . Therefore, the present invention provides a memory 1 and a processor 2 as shown in FIG. 3a.
When the memory controller 4 is provided between the memory controller 4 and the memory 1 is accessed horizontally, the memory 1 controls each bit of the data bus 3 horizontally as shown in FIG. 3b when viewed from the data bus 3 side. In contrast, when accessing the memory 1 in the vertical direction, each bit of the data bus 3 in the memory 1 is sequentially coupled in the vertical direction as shown in FIG. 3c. The efficiency of accessing the memory 1 in both horizontal and vertical directions is improved. This can be realized by the memory control unit 4 shown in FIG. 3A switching the connection between the data bus 3 and the memory bus 6. This switching method is explained in FIG.
Memory bus 6 connected by switching D 1 ,..., D 7
The corresponding bits are shown. As shown in Figure 4, the first line of the address within the block (horizontal direction, 8m
+0) are "A'" to "H", and each term of 8m+1 in the next second row is "B" to "A", and so on from row (8m+0) to row (8m+7). is shifted by one position.
This indicates that the memory bus is shifted and connected one by one for each row, and the details will be described later. The connections in the memory 1 shown in FIG.
By making the connections shown in the figure, bit allocation to the memory bus will not be doubled when accessing in either the horizontal or vertical directions. Figure 3a
The access control by the memory control unit 4 in
This will be explained with reference to FIG. The memory 1 and shift control section 5 in FIG. 5 are connected by a memory bus 6, and the shift control section 5 and processor 2 are connected by a data bus 3. The shift control section 5 is composed of selectors S 1 to S 8 as shown in FIG. 6, and the output terminals A to H thereof are connected to the memory bus 6. A shift signal SH from the adder circuit 7 in FIG. 5 is supplied to each of the selectors S 1 to S 8 . In addition, each input terminal I 0 to I 7 of selector S 1 is connected to a data bus as shown in the figure.
D 0 , D 7 , D 6 , D 5 , D 4 , D 3 , D 2 , D 1 are connected,
In addition, the data bus is connected to the input terminals I 0 to I 7 of selector S 2 .
D 1 , D 0 , D 7 , D 6 , D 5 , D 4 , D 3 , D 2 are connected in a manner that they are shifted by one position. Therefore selector S 8
The input terminals I 0 to I 7 of the data buses D 7 , D 6 , D 5 ,
D 4 , D 3 , D 2 , D 1 , and D 0 are connected. A shift signal SH is supplied to such selectors S 1 to S 7 ,
When the value is "0", output terminal A of selector S1
is connected to the data bus D0 , and the output terminal B of the selector S2 is connected to the data bus D1 . Below, similar selection connections are made up to selector S8 , and selector
At S8 , the output terminal H is connected to the data bus D7 . The value of shift signal SH is "0" to "7"
When the output terminals A to H of the selectors S 1 to S 8 and the data buses D 0 to D 7 are selectively connected in the correspondence shown in the following table.

【表】 シフト信号SHは加算回路7から出力されるが、
これはプロセサ2から発せられるメモリ1のビツ
ト位置を示す横軸座標データX0〜X7の下位3ビ
ツトX0,X1及びX2と、同じくメモリ1のビツト
位置を示す縦軸座標データY0〜Y7の下位3ビツ
トY0〜Y1及びY2のそれぞれを加算することより
得られる。 第5図におけるメモリ部1の記憶容量は(256
×256)ビツト、すなわち65,536ビツトである
が、これを(1ビツト×1024語)のメモリチツプ
64個で構成せしめる。このメモリチツプ(64個)
は、第7図に示した如く(8×8)のマトリクス
状に配設し、この各メモリチツプには、第6図に
示す各セレクタS1〜S8の出力端子A〜Hからの信
号が、第4図に示すような左上から右下へ掛かる
対角項に対称な接続関係で供給される。なおメモ
リチツプ(64個)に対しては、第7図に示すよう
にチツプ番号(「0」〜「63」)を付ける。このメ
モリチツプ(64個)は、第5図のチツプ選択回路
9及び選択バス10によつて選択される。またア
ドレスデコーダ11からのアドレス信号Q及びタ
イミング発生回路12からの読出/書込信号R/
Wは、64個のメモリチツプに共通に供給される。
アドレスデコーダ11は、メモリチツプ(1ビツ
ト×1024語)の中から1語を選択する回路であ
る。このアドレスデコーダ11は、プロセサ2か
らの横軸座標データX3〜X7及び縦軸座標データ
Y3〜Y7の値について、Y3〜Y7を上位5ビツトと
し、横軸座標データX3〜X7を下位5ビツトとす
る10ビツトによつて、各メモリチツプの1024語中
の1語を選択するアドレス信号Qを出力する。な
おこのアドレスデコーダ11がメモリチツプに内
蔵されている場合には、上記の横軸座標データ
X3〜X7及び縦軸座標データY3〜Y7はメモリに対
するアドレス信号端子に供給される。 第5図におけるタイミング発生回路12は、プ
ロセサ2からの指令(読出/書込信号R/W)に
より作動し、タイミング信号Tを出力する。また
方向レジスタ13はプロセサ2からの方向指定信
号Pを記憶するレジスタであり、方向指定信号P
は、メモリ1の横軸方向又は縦軸方向の選択を指
定する信号である。 第5図におけるチツプ選択回路9は、64個のメ
モリチツプを個別に指定するチツプセレクト信号
CS0〜CS63を発生する回路であるが、これは第8
図に示すように、固定記憶部(64ビツト×128語)
14及びゲート回路15で構成される。固定記憶部
14には、第5図におけるプロセサ2からの横軸
座標データX0〜X2,縦軸座標データY0〜Y2及び
方向指定信号Pが入力され、ゲート回路15はタ
イミング信号Tによりその出力(チツプセレクト
信号CS0〜CS63)の制御が行われる。固定記憶部
14の内容は次の通りである。 〔X0〜X2の値をm、Y0〜Y2の値をnとする。 但し、O≦m≦7,O≦n≦7〕 また、その動作は次の通りである。 (1) 方向信号Pが水平(「0」)のとき 縦軸座標データY0〜Y2によつて定まる(8n
+i)のチツプセレクト信号CSに対応するメ
モリ位置に信号「1」を記憶させる(但し、i
=0〜7)。例えば縦軸座標データのY0〜Y2
値が「3」(すなわちn=3)のとき、第7図
に示したメモリチツプ番号「24」〜「31」に対
応するメモリ(ビツト)位置を、信号「1」と
する。 (2) 方向信号Pが垂直(「1」)のとき 横軸座標データX0〜X2の値によつて定まる
8i+mのCS信号に対応するメモリ位置に信号
「1」を記憶させる(但し、i=0〜7)。例え
ば横軸座標データX0〜X2の値が「6」のとき、
第7図に示したメモリチツプ番号「6」,「14」,
「22」,「30」,「38」,「46」,「54」及び「62」に
対応する3メモリ(ビツト)位置に、信号
「1」を記憶させる。 以上は第5図における各回路の詳細な説明であ
つたが、次に第5図の回動作を説明する。メモリ
1のビツトアドレスで横軸の値がビツトアドレス
「6」及び縦軸座標の値がビツトアドレス「8」
のモリ位置(メモリ1の第7列第9行目のビツト
位置)から垂直方向へ8ビツト分の書込みの場合
を例とする。横軸座標データX0〜X2による値が
「6」、またX3〜X7による値は「0」、一方縦軸座
標データY0〜Y2による値は「0」、またY3〜Y7
による値は「1」であり、方向信号Pの値は
「1」である(すなわち垂直)。加算回路7により
(X0〜X2)+(Y0〜Y2)の加算が行われ、シフト
信号SHの値は「6」となる。従つてシフト制御
部5において6ビツト分のシフトが行われ、例え
ば第6図に示したセレクタS1において、その出力
端子AにはデータバスD2、またセレクタS2の出
力端子BにはデータバスD3というように接続が
行われる。一方、アドレスデコーダ11による出
力Qは、X3〜X7(00000)の5ビツトを下位ビツ
トに、Y3〜Y7(00001)を上位ビツトとする10ビ
ツトパターン(0000100000)に構成し、この2進
数パターンは10進数表現で“32”となるから、
“33”番目のブロツク即ちメモリ1上の8×8=
64ビツトを1ブロツクとして区画したときの第2
行第1列目に該当するブロツクが選択される。ま
た、チツプ選択回路9には方向指定信号Pとして
「垂直」が与えられ、又横軸座標データX0〜X2
よる値は「6」且つ縦軸座標データY0〜Y2によ
る値は「0」なので、メモリ1のチツプ番号
「6」が指定されることになり、この位置から垂
直方向の「14」,「22」,「30」,「38」,「46」,「
54」
及び「62」なるメモリチツプが選択される。そし
て上記チツプ番号「6」乃至「62」に対応するメ
モリバスの「G」,「H」,「A」,〜「F」にはデ
ータバスD0,D1,…,D7がその順で接続されて
いるから、読出/書込信号R/Wによりデータの
書込動作が指定され、タイミング信号TがONと
なると同時に上記番号のメモリチツプへの書込み
が一度のタイミングで行われる。 第9図はメモリチツプにおけるメモリバス6
(A,B,C…,H)の接続状態を示している。
チツプセレクト端子には第5図に図示のチツプ選
択回路9からの選択信号が入力され、第5図に図
示のアドレスデコーダ11からのアドレス信号Q
およびタイミング発生回路12からの「R/W」
信号はすべてのメモリチツプに対し同じ信号が入
力される。 (f) 発明の効果 以上のように本発明は、画像データが格納され
た表示メモリにおいて、該画像データの読出/書
込時において、そのアクセスを縦または横いずれ
の方向に行なつても、アクセスされるメモリのア
ドレス位置に対応してデータバスの接続が行われ
るので、表示メモリへのアクセス効率を向上しう
る利点を有する。
[Table] The shift signal SH is output from the adder circuit 7,
These are the lower 3 bits X 0 , X 1 and X 2 of the horizontal axis coordinate data X 0 to X 7 indicating the bit position of memory 1 issued from processor 2, and the vertical axis coordinate data Y which also indicates the bit position of memory 1. It is obtained by adding the lower three bits Y0 to Y1 and Y2 of 0 to Y7 . The storage capacity of the memory unit 1 in FIG. 5 is (256
x 256) bits, that is, 65,536 bits, which can be converted into a memory chip of (1 bit x 1024 words).
It consists of 64 pieces. This memory chip (64 pieces)
are arranged in an (8×8) matrix as shown in FIG. 7, and each memory chip receives signals from output terminals A to H of each selector S 1 to S 8 shown in FIG. , are supplied in a symmetrical connection relationship to the diagonal terms extending from the upper left to the lower right as shown in FIG. Note that the memory chips (64 pieces) are assigned chip numbers ("0" to "63") as shown in FIG. These memory chips (64 pieces) are selected by the chip selection circuit 9 and selection bus 10 shown in FIG. In addition, the address signal Q from the address decoder 11 and the read/write signal R/from the timing generation circuit 12
W is commonly supplied to 64 memory chips.
The address decoder 11 is a circuit that selects one word from a memory chip (1 bit x 1024 words). This address decoder 11 receives horizontal axis coordinate data X3 to X7 and vertical axis coordinate data from the processor 2.
Regarding the values of Y 3 to Y 7 , one word out of 1024 words of each memory chip is determined by 10 bits, with Y 3 to Y 7 as the upper 5 bits and horizontal axis coordinate data X 3 to X 7 as the lower 5 bits. It outputs an address signal Q for selecting. Note that if this address decoder 11 is built into a memory chip, the above horizontal axis coordinate data
X 3 to X 7 and vertical axis coordinate data Y 3 to Y 7 are supplied to address signal terminals for the memory. The timing generation circuit 12 shown in FIG. 5 is activated by a command (read/write signal R/W) from the processor 2 and outputs a timing signal T. Further, the direction register 13 is a register that stores the direction designation signal P from the processor 2, and the direction designation signal P
is a signal specifying selection of the horizontal axis direction or the vertical axis direction of the memory 1. The chip selection circuit 9 in FIG.
This is a circuit that generates CS 0 to CS 63 , but this is the 8th
As shown in the figure, fixed storage (64 bits x 128 words)
14 and a gate circuit 15. The fixed storage unit 14 receives the horizontal axis coordinate data X 0 -X 2 , the vertical axis coordinate data Y 0 -Y 2 and the direction designation signal P from the processor 2 in FIG. 5, and the gate circuit 15 receives the timing signal T. The outputs (chip select signals CS0 to CS63 ) are controlled by. The contents of the fixed storage section 14 are as follows. [The value of X 0 to X 2 is m, and the value of Y 0 to Y 2 is n. However, O≦m≦7, O≦n≦7] The operation is as follows. (1) When direction signal P is horizontal (“0”) Determined by vertical axis coordinate data Y 0 to Y 2 (8n
+i) A signal “1” is stored in the memory location corresponding to the chip select signal CS (however, i
=0 to 7). For example, when the value of Y0 to Y2 of the vertical axis coordinate data is "3" (that is, n=3), the memory (bit) locations corresponding to memory chip numbers "24" to "31" shown in FIG. , the signal is "1". (2) When direction signal P is vertical (“1”) Determined by the value of horizontal axis coordinate data X 0 to X 2
A signal "1" is stored in the memory location corresponding to the CS signal of 8i+m (however, i=0 to 7). For example, when the value of the horizontal axis coordinate data X 0 to X 2 is "6",
Memory chip numbers “6”, “14”, and
A signal "1" is stored in three memory (bit) locations corresponding to "22", "30", "38", "46", "54" and "62". The above is a detailed explanation of each circuit in FIG. 5. Next, the operation of FIG. 5 will be explained. In the bit address of memory 1, the value on the horizontal axis is bit address "6" and the value on the vertical axis is bit address "8".
Let us take as an example the case of writing 8 bits in the vertical direction from the memory location (bit position of the 7th column, 9th row of memory 1). The value according to the horizontal axis coordinate data X 0 - X 2 is "6", the value according to X 3 - X 7 is "0", while the value according to the vertical axis coordinate data Y 0 - Y 2 is "0", and the value according to Y 3 - Y7
The value of the direction signal P is "1", and the value of the direction signal P is "1" (ie, vertical). The addition circuit 7 performs addition of (X 0 -X 2 )+(Y 0 -Y 2 ), and the value of the shift signal SH becomes "6". Therefore , a shift of 6 bits is performed in the shift control section 5. For example, in the selector S1 shown in FIG. The connection is made on bus D 3 and so on. On the other hand, the output Q from the address decoder 11 is configured into a 10-bit pattern (0000100000) with 5 bits of X 3 to X 7 (00000) as the lower bits and Y 3 to Y 7 (00001) as the upper bits. Since the binary number pattern is “32” in decimal notation,
“33rd” block, i.e. 8×8 on memory 1 =
2nd block when 64 bits are divided into 1 block
The block corresponding to the first row and column is selected. Further, "vertical" is given to the chip selection circuit 9 as the direction designation signal P, and the value according to the horizontal axis coordinate data X 0 to X 2 is "6" and the value according to the vertical axis coordinate data Y 0 to Y 2 is "0'', the chip number ``6'' in memory 1 is specified, and from this position vertically ``14'', ``22'', ``30'', ``38'', ``46'', ``
54"
and memory chip "62" is selected. Data buses D 0 , D 1 , ..., D 7 are connected to memory buses "G", "H", "A", to "F" corresponding to the above chip numbers "6" to "62" in that order. Since the data write operation is specified by the read/write signal R/W, and the timing signal T turns ON, writing to the memory chip of the above number is performed at one timing. Figure 9 shows the memory bus 6 in the memory chip.
The connection state of (A, B, C..., H) is shown.
A selection signal from the chip selection circuit 9 shown in FIG. 5 is input to the chip select terminal, and an address signal Q from the address decoder 11 shown in FIG.
and “R/W” from the timing generation circuit 12
The same signal is input to all memory chips. (f) Effects of the Invention As described above, the present invention provides a display memory in which image data is stored, regardless of whether the image data is accessed in the vertical or horizontal direction when reading/writing the image data. Since the data bus is connected in accordance with the address position of the memory to be accessed, it has the advantage of improving the efficiency of access to the display memory.

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

第1図は表示メモリの構成図、第2図はメモリ
アクセスを説明するブロツク図、第3図は本発明
の原理を説明するブロツク図、第4図は表示メモ
リの接続構成図、第5図は本発明の一実施例を説
明するブロツク図、第6図は第5図におけるシフ
ト制御部5の詳細なブロツク図、第7図は第5図
におけるメモリ1のメモリチツプの番地割当てを
示すブロツク図、第8図は第5図におけるチツプ
選択回路9の詳細なブロツク図、第9図はメモリ
チツプ間の接続を示すブロツク図であり、図中に
用いた符号は次の通りである。 1は表示メモリ、2はプロセツサ、3はデータ
バス、4はメモリ制御部、5はシフト制御部、6
はメモリバス、7は加算回路、8はアドレスバ
ス、9はチツプ選択回路、10は選択バス、11
はアドレスデコーダ、12はタイミング発生回
路、13は方向レジスタ、A,B,C,D,E,
F,G,Hはセレクタの出力端子、B0,B1
B31,B32,B64,B128,B256,B512,B1K,B2K
アクセス単位、CS0,CS63はチツプセレクト信
号、D0,D1,D2,D3,D4,D5,D6,D7はデー
タバス、I0,I1,I2,I3,I4,I5,I6,I7はセレク
タの入力端子、Pは方向指定信号、Qはアドレス
信号、R/Wは読出/書込信号、SHはシフト信
号、Tはタイミング信号、X0,X2,X3,X7は横
軸座標データ、Y0,Y2,Y3,Y7は縦軸座標デー
タを示す。
Figure 1 is a block diagram of the display memory, Figure 2 is a block diagram explaining memory access, Figure 3 is a block diagram explaining the principle of the present invention, Figure 4 is a connection diagram of the display memory, and Figure 5 is a block diagram explaining the principle of the present invention. 6 is a detailed block diagram of the shift control section 5 in FIG. 5, and FIG. 7 is a block diagram showing the address assignment of the memory chip of the memory 1 in FIG. 5. , FIG. 8 is a detailed block diagram of the chip selection circuit 9 in FIG. 5, and FIG. 9 is a block diagram showing connections between memory chips. The symbols used in the figures are as follows. 1 is a display memory, 2 is a processor, 3 is a data bus, 4 is a memory control section, 5 is a shift control section, 6
is a memory bus, 7 is an adder circuit, 8 is an address bus, 9 is a chip selection circuit, 10 is a selection bus, 11
is an address decoder, 12 is a timing generation circuit, 13 is a direction register, A, B, C, D, E,
F, G, H are selector output terminals, B 0 , B 1 ,
B 31 , B 32 , B 64 , B 128 , B 256 , B 512 , B 1K , B 2K are access units, CS 0 , CS 63 are chip select signals, D 0 , D 1 , D 2 , D 3 , D 4 , D 5 , D 6 , D 7 are data buses, I 0 , I 1 , I 2 , I 3 , I 4 , I 5 , I 6 , I 7 are selector input terminals, P is a direction designation signal, Q is an address signal, R/W is a read/write signal, SH is a shift signal, T is a timing signal, X 0 , X 2 , X 3 , X 7 are horizontal axis coordinate data, Y 0 , Y 2 , Y 3 , Y 7 indicates vertical axis coordinate data.

Claims (1)

【特許請求の範囲】 1 D0〜Do-1なるnビツトのデータバスを有す
る処理装置と、 J0〜Jo-1なるnビツトのメモリバスを有し、縦
横の行列に配置されるメモリ素子で構築すると共
に前記メモリバスを行または列毎に循環的に切替
えて各メモリ素子に接続した記憶部と、 該処理装置から出力した上記記憶部のアドレス
指定信号X,Y内のそれぞれの下位ビツト部分か
らなるビツトデータX′,Y′が入力されると共に
このビツトデータX′,Y′のそれぞれのビツト数
を前記nを指定可能なビツト数で構成し、この入
力されたビツトデータX′,Y′に応じた切替制御
データSHを出力する切替制御部と、 を備え、 前記D0〜Do-1のデータバスと前記J0〜Jo-1のメ
モリバスとの接続を、前記切替制御データSHに
基づいて循環的に切替え接続したことを特徴とす
るメモリ制御方式。
[Claims] 1 A processing device having an n-bit data bus D 0 to D o-1 and an n-bit memory bus J 0 to J o-1 arranged in vertical and horizontal rows and columns. A storage unit constructed of memory elements and connected to each memory element by cyclically switching the memory bus for each row or column, and each of address designating signals X and Y of the storage unit output from the processing device Bit data X' and Y' consisting of the lower bit parts are input, and the number of bits of each of these bit data ′ , Y′ , and a switching control unit that outputs switching control data SH according to the data signals SH ; A memory control method characterized in that the connection is cyclically switched based on the switching control data SH.
JP58138260A 1983-07-28 1983-07-28 Memory control system Granted JPS6029786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58138260A JPS6029786A (en) 1983-07-28 1983-07-28 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58138260A JPS6029786A (en) 1983-07-28 1983-07-28 Memory control system

Publications (2)

Publication Number Publication Date
JPS6029786A JPS6029786A (en) 1985-02-15
JPH0118430B2 true JPH0118430B2 (en) 1989-04-05

Family

ID=15217779

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58138260A Granted JPS6029786A (en) 1983-07-28 1983-07-28 Memory control system

Country Status (1)

Country Link
JP (1) JPS6029786A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62249283A (en) * 1986-04-23 1987-10-30 Casio Comput Co Ltd dynamic memory drive circuit

Also Published As

Publication number Publication date
JPS6029786A (en) 1985-02-15

Similar Documents

Publication Publication Date Title
US5924111A (en) Method and system for interleaving data in multiple memory bank partitions
EP0492939B1 (en) Method and apparatus for arranging access of VRAM to provide accelerated writing of vertical lines to an output display
JPH0420489B2 (en)
US5461680A (en) Method and apparatus for converting image data between bit-plane and multi-bit pixel data formats
JPH0375873B2 (en)
US4845640A (en) High-speed dual mode graphics memory
JP3271151B2 (en) Digital video data storage
US4737780A (en) Display control circuit for reading display data from a video RAM constituted by a dynamic RAM, thereby refreshing memory cells of the video RAM
JPS61186991A (en) Memory system
JPH0118430B2 (en)
JPH06167958A (en) Memory device
JP3078048B2 (en) Memory module
JPH04237099A (en) Screen display element
US6275243B1 (en) Method and apparatus for accelerating the transfer of graphical images
JP3741464B2 (en) DRAM access method
JP3833366B2 (en) Image data storage device
JP2708841B2 (en) Writing method of bitmap memory
JP2846357B2 (en) Font memory device
JPH05113928A (en) Image memory device
JPH0544680B2 (en)
JPS5981689A (en) Display
JP2833902B2 (en) Display attribute control circuit of bitmap display device
JPH05113768A (en) Frame memory circuit
JPH043874B2 (en)
JPH03116194A (en) Display controller