JP2000228095A - Read-out circuit for non-volatile memory - Google Patents

Read-out circuit for non-volatile memory

Info

Publication number
JP2000228095A
JP2000228095A JP2748299A JP2748299A JP2000228095A JP 2000228095 A JP2000228095 A JP 2000228095A JP 2748299 A JP2748299 A JP 2748299A JP 2748299 A JP2748299 A JP 2748299A JP 2000228095 A JP2000228095 A JP 2000228095A
Authority
JP
Japan
Prior art keywords
flash memory
data
circuit
storage area
address
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
JP2748299A
Other languages
Japanese (ja)
Inventor
Kazuo Hodaka
和夫 保高
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2748299A priority Critical patent/JP2000228095A/en
Publication of JP2000228095A publication Critical patent/JP2000228095A/en
Pending legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

PROBLEM TO BE SOLVED: To make an one chip microcomputer having an on-screen display function compact and general purpose, and to make characters of the computer large and fine. SOLUTION: This circuit has constitution that program data or data to be operated for performing control operation such as various logical operation and the like are stored in a storage region A of a flash memory L1 and a storage region B of a flash memory R2, also, data for display are stored in a storage region A1 of the flash memory L1 and a storage region B1 of a flash memory R1. Thereby, a chip can be miniaturized by sharing a memory core. Also, the circuit has constitution in which data for display of four bytes are held en bloc in a latch circuit 9. Thereby, making the circuit general purpose, making characters large and fine can be performed as the number of dots of character font in the horizontal direction is increased.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、不揮発性メモリの
読み出し回路に関する。
The present invention relates to a read circuit of a nonvolatile memory.

【0002】[0002]

【従来の技術】CRT、液晶等の画面に対しオンスクリ
ーン表示を行う為の1チップマイクロコンピュータは、
キャラクタジェネレータROMを内蔵する必要がある。
キャラクタジェネレータROMは、CRT、液晶等の画
面上における表示ドットに対応するデータを記憶したも
のである。例えば、ドットを点灯させる場合は論理値
「1」を記憶し、ドットを消灯させる場合は論理値
「0」を記憶する。文字フォントが縦横m*nドットの
場合、キャラクタジェネレータROMは、各アドレスに
対し、前記文字フォント上で所定位置を点灯又は消灯さ
せて形成される文字と1対1に対応するm*nビットの
表示データを記憶する。
2. Description of the Related Art A one-chip microcomputer for performing on-screen display on a screen such as a CRT, a liquid crystal, etc.
It is necessary to incorporate a character generator ROM.
The character generator ROM stores data corresponding to display dots on a screen such as a CRT and a liquid crystal. For example, a logical value “1” is stored to turn on a dot, and a logical value “0” is stored to turn off a dot. If the character font is m * n dots in length and width, the character generator ROM stores m * n bits corresponding to characters formed by lighting or extinguishing a predetermined position on the character font for each address. The display data is stored.

【0003】また、1チップマイクロコンピュータはそ
れ自体の論理演算動作を制御する為の不揮発性のプログ
ラムROMも内蔵する必要がある。
Also, a one-chip microcomputer needs to incorporate a nonvolatile program ROM for controlling its own logical operation.

【0004】従って、この様なオンスクリーン表示に関
わる1チップマイクロコンピュータは、キャラクタジェ
ネレータROMとプログラムROMを同じチップ上に独
立した形で集積化していた。
Therefore, in a one-chip microcomputer related to such an on-screen display, a character generator ROM and a program ROM are integrated on the same chip independently.

【0005】[0005]

【発明が解決しようとする課題】しかし、キャラクタジ
ェネレータROMとプログラムROMを独立させる為、
制御回路の重複化更には配線数の増加に伴いチップ面積
が大型化する問題があった。
However, in order to make the character generator ROM and the program ROM independent,
There is a problem that the chip area is increased due to the duplication of the control circuit and the increase in the number of wirings.

【0006】[0006]

【課題を解決するための手段】本発明は、前記問題点を
解決する為に創作されたものであり、第1記憶領域に対
し各種論理演算を実行する為のプログラムデータ又は被
演算の対象となるデータを書き込み、第2記憶領域に対
し表示に関わるデータを書き込んだ不揮発性メモリと、
前記不揮発性メモリの第1記憶領域を1アドレス単位で
指定する第1アドレス回路と、前記不揮発性メモリの第
2記憶領域を予め定められた複数アドレス単位で同時指
定する第2アドレス回路と、マイクロコンピュータの動
作制御と表示制御のタイミングで、前記第1及び第2ア
ドレス回路を切り換える切換回路と、前記不揮発性メモ
リの第2記憶領域から同時読み出しされた前記表示に関
わるデータを一括保持する保持回路と、を備え、前記表
示に関わるデータのビット数は、表示フォントの一方向
を構成するドット数以上に設定されることを特徴とす
る。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned problem, and has been described as a program data or an object to be operated for executing various logical operations on a first storage area. A non-volatile memory in which data related to display is written in the second storage area;
A first address circuit for designating a first storage area of the nonvolatile memory in one address unit, a second address circuit for simultaneously designating a second storage area of the nonvolatile memory in a plurality of predetermined address units, A switching circuit for switching between the first and second address circuits at a timing of operation control and display control of a computer, and a holding circuit for collectively holding data relating to the display simultaneously read from a second storage area of the nonvolatile memory Wherein the number of bits of the data relating to the display is set to be equal to or larger than the number of dots constituting one direction of the display font.

【0007】[0007]

【発明の実施の形態】本発明の詳細を図面に従って詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be described in detail with reference to the drawings.

【0008】図1は本発明の不揮発性メモリの読み出し
回路を示す回路図である。尚、図1回路は1チップマイ
クロコンピュータに内蔵されるものとする。
FIG. 1 is a circuit diagram showing a read circuit of a nonvolatile memory according to the present invention. The circuit shown in FIG. 1 is built in a one-chip microcomputer.

【0009】1チップマイクロコンピュータは不揮発性
の特性を有するプログラムメモリを内蔵し、プログラム
メモリには1チップマイクロコンピュータを各種論理演
算動作させる為のプログラムデータ、各種論理演算の対
象となるテーブルデータ等が記憶される。
The one-chip microcomputer has a built-in program memory having non-volatile characteristics. The program memory stores program data for causing the one-chip microcomputer to perform various logical operations, table data to be subjected to various logical operations, and the like. It is memorized.

【0010】図1において、フラッシュメモリL(1)
及びフラッシュメモリR(2)は、データを特定ブロッ
ク単位で電気消去でき且つデータを繰り返し書き込み及
び読み出しできる不揮発性の特性を有し、各々左側領域
(LEFT ARRAY)及び右側領域(RI GHT ARRAY)に均等
分割される。フラッシュメモリL(1)及びフラッシュ
メモリR(2)には1チップマイクロコンピュータを各
種論理演算動作させる為のプログラムデータ、各種論理
演算の対象となるテーブルデータが記憶される。フラッ
シュメモリL(1)及びフラッシュメモリR(2)は、
例えば全記憶容量が64Kバイト(バイトは1ワードを
8ビットとする単位)で構成され、2バイト単位を小ブ
ロック、64バイト単位を大ブロックとするものであ
る。フラッシュメモリL(1)及びフラッシュメモリR
(2)は、各々偶数番目の大ブロックEVENと奇数番
目の大ブロックODDとを交互に繰り返すものである
(0,2,4…が偶数番目、1,3,5…が奇数番
目)。更に、フラッシュメモリL(1)及びフラッシュ
メモリR(2)に対し、2バイト単位の小ブロックデー
タが交互に記憶される。例えば、フラッシュメモリL
(1)及びフラッシュメモリR(2)を構成する最初の
偶数番目の大ブロック内のアドレス値は各々『00H、
01H、04H、05H、……78H、79H、7C
H、7DH』『02H、03H、06H、07H、……
7AH、7BH、7EH、7FH』となる。また、フラ
ッシュメモリL(1)及びフラッシュメモリR(2)を
構成する最初の奇数番目の大ブロック内のアドレス値は
各々『80H、81H、84H、85H、……F8H、
F9H、FCH、FDH』『82H、83H、86H、
87H、……FAH、FBH、FEH、FFH』とな
る。但し、Hは16進数のヘキサデシマルを表す。尚、
フラッシュメモリL(1)の記憶領域A1にはCRT、
液晶画面等にドット単位の表示を行う為の表示データが
記憶され、記憶領域A2には1チップマイクロコンピュ
ータを動作制御する為のプログラムデータが記憶され
る。同様に、フラッシュメモリR(2)の記憶領域B1
にはCRT、液晶画面等にドット単位の表示を行う為の
表示データが記憶され、記憶領域B2には1チップマイ
クロコンピュータを動作制御する為のプログラムデータ
が記憶される。
In FIG. 1, a flash memory L (1)
And the flash memory R (2) have a nonvolatile property that data can be electrically erased in a specific block unit and data can be repeatedly written and read. Evenly divided. The flash memory L (1) and the flash memory R (2) store program data for causing the one-chip microcomputer to perform various logical operations, and table data to be subjected to various logical operations. The flash memory L (1) and the flash memory R (2)
For example, the total storage capacity is 64 Kbytes (byte is a unit of 8 bits per word), and a 2-byte unit is a small block and a 64-byte unit is a large block. Flash memory L (1) and flash memory R
(2) alternately repeats even-numbered large blocks EVEN and odd-numbered large blocks ODD (0, 2, 4... Are even-numbered, 1, 3, 5... Are odd-numbered). Further, small block data in units of 2 bytes is alternately stored in the flash memories L (1) and R (2). For example, the flash memory L
The address values in the first even-numbered large block constituting the flash memory R (2) are “00H,
01H, 04H, 05H, ... 78H, 79H, 7C
H, 7DH "," 02H, 03H, 06H, 07H, ...
7AH, 7BH, 7EH, 7FH ". The address values in the first odd-numbered large blocks constituting the flash memory L (1) and the flash memory R (2) are “80H, 81H, 84H, 85H,.
F9H, FCH, FDH "," 82H, 83H, 86H,
87H,..., FAH, FBH, FEH, FFH ”. Here, H represents hexadecimal hexadecimal. still,
The storage area A1 of the flash memory L (1) has a CRT,
Display data for displaying in units of dots is stored on a liquid crystal screen or the like, and program data for controlling the operation of the one-chip microcomputer is stored in the storage area A2. Similarly, the storage area B1 of the flash memory R (2)
Stores display data for performing display in dot units on a CRT, a liquid crystal screen, or the like, and program data for controlling the operation of the one-chip microcomputer is stored in the storage area B2.

【0011】ローデコーダL(3)は、フラッシュメモ
リL(1)の記憶領域A1、A2の一方における、64
バイト単位の何れか1個の大ブロックを選択するもので
ある。カラムデコーダL1(4)は、ローデコーダL
(3)で選択されフラッシュメモリL(1)の記憶領域
A1から読み出された64バイト単位の何れか1個の大
ブロックの内、2バイトを単位とした何れか1個の小ブ
ロックを選択するものである。センスアンプL(5)は
カラムデコーダL1(4)から選択出力される2バイト
データを電流増幅するものである。
[0011] The row decoder L (3) has a capacity of 64 in one of the storage areas A1 and A2 of the flash memory L (1).
One of the large blocks is selected in byte units. The column decoder L1 (4)
Select any one small block in units of 2 bytes from any one large block in units of 64 bytes selected in (3) and read from the storage area A1 of the flash memory L (1). Is what you do. The sense amplifier L (5) amplifies current of 2-byte data selectively output from the column decoder L1 (4).

【0012】ローデコーダR(6)は、フラッシュメモ
リR(2)の記憶領域B1、B2の一方における、64
バイト単位の何れか1個の大ブロックを選択するもので
ある。カラムデコーダR1(7)は、ローデコーダR
(6)で選択されフラッシュメモリR(2)の記憶領域
B1から読み出された64バイト単位の何れか1個の大
ブロックの内、2バイトを単位とした何れか1個の小ブ
ロックを選択するものである。センスアンプR(8)は
カラムデコーダR1(7)から選択出力される2バイト
データを電流増幅するものである。
The row decoder R (6) stores 64 bits in one of the storage areas B1 and B2 of the flash memory R (2).
One of the large blocks is selected in byte units. The column decoder R1 (7)
Select one small block in units of 2 bytes from any one large block in units of 64 bytes selected in (6) and read from the storage area B1 of the flash memory R (2). Is what you do. The sense amplifier R (8) amplifies current of 2-byte data selectively output from the column decoder R1 (7).

【0013】ラッチ回路(9)は、センスアンプL
(5)及びセンスアンプR(8)から出力される合計4
バイトデータをラッチするものである。表示制御回路
(10)は、ラッチ回路(9)にラッチされた点灯、消
灯を表す32ビットの表示データを基にCRT、液晶画
面等に文字表示を行うものである。
The latch circuit (9) includes a sense amplifier L
(5) and a total of 4 output from the sense amplifier R (8)
This latches byte data. The display control circuit (10) performs character display on a CRT, a liquid crystal screen, or the like based on 32-bit display data representing lighting and extinguishing, latched by the latch circuit (9).

【0014】カラムデコーダL2(14)は、ローデコ
ーダL(3)で選択されフラッシュメモリL(1)の記
憶領域A2から読み出された64バイト単位の何れか1
個の大ブロックの内の1バイトを選択するものである。
カラムデコーダR2(15)は、ローデコーダR(6)
で選択されフラッシュメモリR(2)の記憶領域B2か
ら読み出された64バイト単位の何れか1個の大ブロッ
クの内の1バイトを選択するものである。センスアンプ
(16)はカラムデコーダL2(14)又はカラムデコ
ーダR2(15)から相補的に選択出力される1バイト
単位のプログラムデータを電流増幅するものである。ラ
ッチ回路(17)はセンスアンプ(16)の電流増幅出
力をラッチする。ラッチ回路(17)の出力は1チップ
マイクロコンピュータの動作タイミングに同期してイン
ストラクションデコーダ(18)で解読される。1チッ
プマイクロコンピュータはこの時の解読結果に従って各
種論理演算動作等を実行する。
The column decoder L2 (14) selects one of the 64-byte units selected by the row decoder L (3) and read from the storage area A2 of the flash memory L (1).
One byte is selected from the large blocks.
The column decoder R2 (15) is a row decoder R (6)
And selects one byte from any one of the large blocks in units of 64 bytes read from the storage area B2 of the flash memory R (2). The sense amplifier (16) amplifies current of 1-byte unit program data which is selectively output complementarily from the column decoder L2 (14) or the column decoder R2 (15). The latch circuit (17) latches the current amplification output of the sense amplifier (16). The output of the latch circuit (17) is decoded by the instruction decoder (18) in synchronization with the operation timing of the one-chip microcomputer. The one-chip microcomputer executes various logical operation operations and the like according to the decoding result at this time.

【0015】フラッシュメモリL(1)の記憶領域A1
及びフラッシュメモリR(2)の記憶領域B1を指定す
るアドレスデータはビデオRAM(VRAM)から発生
する。フラッシュメモリL(1)の記憶領域A2及びフ
ラッシュメモリR(2)の記憶領域B2を指定するアド
レスデータはプログラムカウンタ(PC)から発生す
る。
Storage area A1 of flash memory L (1)
The address data specifying the storage area B1 of the flash memory R (2) is generated from a video RAM (VRAM). Address data specifying the storage area A2 of the flash memory L (1) and the storage area B2 of the flash memory R (2) is generated from a program counter (PC).

【0016】アドレス選択回路(19)はビデオRAM
又はプログラムカウンタの何れか一方の値を切換信号C
/Oに応じて選択出力するものである。図2は1チップ
マイクロコンピュータの1マシンサイクルの一例を表す
図である。1マシンサイクルは6ステートS1〜S6か
ら成り、ステートS1、S4のみCPU動作を行う。即
ち、切換信号C/OはステートS1、S4のみハイレベ
ルの信号となる。従って、アドレス選択回路(19)
は、切換信号C/Oがハイレベルの時にプログラムカウ
ンタの値を選択出力し、切換信号C/Oがローレベルの
時にビデオRAMの値を選択出力する。
The address selection circuit (19) is a video RAM
Or the value of one of the program counters as the switching signal C
/ O is selected and output. FIG. 2 is a diagram illustrating an example of one machine cycle of a one-chip microcomputer. One machine cycle includes six states S1 to S6, and CPU operations are performed only in states S1 and S4. That is, the switching signal C / O is a high-level signal only in the states S1 and S4. Therefore, the address selection circuit (19)
Selects and outputs the value of the program counter when the switching signal C / O is at a high level, and selectively outputs the value of the video RAM when the switching signal C / O is at a low level.

【0017】アドレス選択回路(19)から選択出力さ
れたビデオRAMの17ビット値PAR16−0は、フ
ラッシュメモリL(1)の記憶領域A1及びフラッシュ
メモリR(2)の記憶領域B1をアドレス指定する為の
データである。ここで、フラッシュメモリL(1)及び
フラッシュメモリR(2)は2バイト単位でプログラム
データを交互に記憶する規則性を有する為、アドレスデ
ータの下位2ビット目PAR1はフラッシュメモリL
(1)又はフラッシュメモリR(2)の何れか一方を選
択する為のビットXADL0、XADR0となる。しか
し、本発明の実施の形態ではフラッシュメモリL(1)
の記憶領域A1及びフラッシュメモリR(2)の記憶領
域B1から2バイト単位の同時読み出しを行う構成であ
る為、使用することはない。
The 17-bit value PAR16-0 of the video RAM selectively output from the address selection circuit (19) addresses the storage area A1 of the flash memory L (1) and the storage area B1 of the flash memory R (2). This is the data for Here, since the flash memory L (1) and the flash memory R (2) have a regularity of storing program data alternately in units of 2 bytes, the lower second bit PAR1 of the address data is the flash memory L
Bits XADL0 and XADR0 for selecting either (1) or flash memory R (2). However, in the embodiment of the present invention, the flash memory L (1)
This is a configuration in which simultaneous reading is performed in units of 2 bytes from the storage area A1 and the storage area B1 of the flash memory R (2).

【0018】アドレスデータの下位7−3ビットPAR
6−2及び最下位ビットPAR0はフラッシュメモリL
(1)の記憶領域A1及びフラッシュメモリR(2)の
記憶領域B1を構成する大ブロック内の何れか1組の2
バイトデータを選択する為のビットYADL5−0、Y
ADR5−0として使用される。
Lower 7-3 bits PAR of address data
6-2 and the least significant bit PAR0 are the flash memory L
Any one set of 2 in a large block constituting the storage area A1 of (1) and the storage area B1 of the flash memory R (2)
Bits YADL5-0, Y for selecting byte data
Used as ADR5-0.

【0019】アドレスデータの下位8ビット目PAR7
は、更に下位ビットのPAR7−3及びPAR0が記憶
領域A1、B1の大ブロック内を選択する為のビットで
ある為、記憶領域A1、B1内の偶数番目又は奇数番目
の大ブロックを選択する為のビットYADL6、YAD
R6として使用される。即ち、YADL6=0、YAD
R6=0の時は記憶領域A1、B1内の偶数番目の大ブ
ロックの選択動作を実行し、一方、YADL6=1、Y
ADR6=1の時は記憶領域A1、B1内の奇数番目の
大ブロックの選択動作を実行する。
Lower 8 bits of address data PAR7
Is used to select even-numbered or odd-numbered large blocks in the storage areas A1 and B1 because the lower bits PAR7-3 and PAR0 are bits for selecting the inside of the large blocks in the storage areas A1 and B1. Bits YADL6, YAD
Used as R6. That is, YADL6 = 0, YAD
When R6 = 0, the selection operation of the even-numbered large block in the storage areas A1 and B1 is executed, while YADL6 = 1 and Y
When ADR6 = 1, the operation of selecting an odd-numbered large block in the storage areas A1 and B1 is executed.

【0020】アドレスデータの上位9ビットPAR16
−8は記憶領域A1、B1を構成する何れか1個の大ブ
ロックを選択する為のビットXADL9−1、XADR
9−1として使用される。
Upper 9 bits of address data PAR16
-8 is a bit XADL9-1, XADR for selecting any one large block constituting the storage areas A1 and B1.
Used as 9-1.

【0021】アドレス回路ADSINC(11)は、1
7ビットのアドレスデータPAR16−0が供給され、
その内の上位9ビットPAR16−8をXADL9−1
として、その内の下位8ビットPAR7−0をFAL7
−0として出力する。アドレス回路ADSINC(1
1)を通った上位9ビットXADL9−1はローデコー
ダL(3)に供給される。また、アドレスデータの上位
9ビットPAR16−8はXADR9−1としてローデ
コーダR(6)に直接供給される。
The address circuit ADSINC (11)
7-bit address data PAR16-0 is supplied,
The upper 9 bits PAR16-8 are XADL9-1.
And the lower 8 bits PAR7-0 of the PAR7-0
Output as −0. Address circuit ADSINC (1
The upper 9 bits XADL9-1 passed through 1) are supplied to the row decoder L (3). The upper 9 bits PAR16-8 of the address data are directly supplied to the row decoder R (6) as XADR9-1.

【0022】アドレス回路CROSS(12)は、アド
レス回路ADSINC(11)を通った下位8ビットF
AL7−0が供給される。アドレス回路CROSS(1
2)は、下位2ビット目FAL1がフラッシュメモリL
(1)及びフラッシュメモリR(2)を識別する為のビ
ットである故、FAL1の出力を禁止し、最上位ビット
FAL7がフラッシュメモリL(1)及びフラッシュメ
モリR(2)の偶数番目及び奇数番目の大ブロックを識
別する為のビットである故、FAL7をYADL6とし
て出力する。YADL6はローデコーダL(3)に供給
される。ローデコーダL(3)はXADL9−1、YA
DL6の合計10ビットを解読してフラッシュメモリL
(1)の記憶領域A1の大ブロック選択を行う。即ち、
ローデコーダL(3)は、XADL9−1、YADL6
の値に応じて1024個の大ブロックを選択可能とな
る。また、アドレス回路CROSS(12)は、FAL
6−2、FAL0をYADL5−0として出力する。Y
ADL5−0はカラムデコーダL1(4)に供給され
る。カラムデコーダL1(4)は、ローデコーダL
(3)で選択された大ブロックの中から、YADL5−
0の値に応じた2バイトデータを選択する。
The address circuit CROSS (12) outputs the lower 8 bits F passed through the address circuit ADSINC (11).
AL7-0 is supplied. Address circuit CROSS (1
2) indicates that the lower second bit FAL1 is the flash memory L
Since this is a bit for identifying (1) and the flash memory R (2), the output of the FAL1 is prohibited, and the most significant bit FAL7 is set to the even and odd numbers of the flash memory L (1) and the flash memory R (2). FAL7 is output as YADL6 because it is a bit for identifying the second large block. YADL6 is supplied to the row decoder L (3). Row decoder L (3) is XADL9-1, YA
Decodes a total of 10 bits of DL6 to flash memory L
(1) Large block selection of the storage area A1 is performed. That is,
The row decoder L (3) is composed of XADL9-1, YADL6
1024 large blocks can be selected according to the value of. Further, the address circuit CROSS (12)
6-2, FAL0 is output as YADL5-0. Y
ADL5-0 is supplied to the column decoder L1 (4). The column decoder L1 (4)
From among the large blocks selected in (3), YADL5-
The 2-byte data corresponding to the value of 0 is selected.

【0023】アドレス回路CROSS(13)は、アド
レスデータの下位8ビットPAR7−0がFAR7−0
として直接供給される。アドレス回路CROSS(1
3)は、下位2ビット目FAR1がフラッシュメモリL
(1)及びフラッシュメモリR(2)を識別する為のビ
ットである故、FAR1の出力を禁止し、最上位ビット
FAR7がフラッシュメモリL(1)及びフラッシュメ
モリR(2)の偶数番目及び奇数番目の大ブロックを識
別する為のビットである故、FAR7をYADR6とし
て出力する。YADR6はローデコーダR(6)に供給
される。ローデコーダR(6)はXADR9−1、YA
DR6の合計10ビットを解読してフラッシュメモリR
(2)の記憶領域B1の大ブロック選択を行う。即ち、
ローデコーダR(3)は、XADR9−1、YADR6
の値に応じて1024個の大ブロックを選択可能とな
る。また、アドレス回路CROSS(13)は、FAR
6−2、FAR0をYADR5−0として出力する。Y
ADR5−0はカラムデコーダR1(7)に供給され
る。カラムデコーダR1(7)は、ローデコーダR
(6)で選択された大ブロックの中から、YADR5−
0の値に応じた2バイトデータを選択する。
In the address circuit CROSS (13), the lower 8 bits PAR7-0 of the address data are stored in the FAR7-0.
Supplied directly as. Address circuit CROSS (1
3) indicates that the lower second bit FAR1 is the flash memory L
Since these bits are for identifying (1) and the flash memory R (2), the output of FAR1 is prohibited, and the most significant bit FAR7 is set to the even-numbered and odd-numbered bits of the flash memory L (1) and the flash memory R (2). FAR7 is output as YADR6 because it is a bit for identifying the second large block. YADR6 is supplied to the row decoder R (6). Row decoder R (6) is XADR9-1, YA
Decodes a total of 10 bits of DR6 to flash memory R
The large block selection of the storage area B1 in (2) is performed. That is,
The row decoder R (3) is XADR9-1, YADR6
1024 large blocks can be selected according to the value of. Further, the address circuit CROSS (13)
6-2, Output FAR0 as YADR5-0. Y
ADR5-0 is supplied to the column decoder R1 (7). The column decoder R1 (7)
From among the large blocks selected in (6), YADR5-
The 2-byte data corresponding to the value of 0 is selected.

【0024】アドレス回路ADSINC(11)は、ア
ドレスデータPAR16−0がフラッシュメモリR
(2)の記憶領域B1を構成する大ブロックの中の最後
の2バイトを選択する値であるかどうかを検出する。記
憶領域A1、B1の同じ偶数番目又は同じ奇数番目の大
ブロックの中から2バイトデータを読み出す場合は問題
ないが、フラッシュメモリR(2)の記憶領域B1にお
ける偶数番目(又は奇数番目)の大ブロックの最後の2
バイトデータと、フラッシュメモリL(1)の記憶領域
A1における上記偶数番目の直後の奇数番目(又は上記
奇数番目の直後の偶数番目)の大ブロックの最初の2バ
イトデータを読み出す場合は、XADL9−1、XAD
R9−1が同じ値では実行できない。そこで、アドレス
回路ADSINC(11)は、フラッシュメモリL
(1)の記憶領域A2又はフラッシュメモリR(2)の
記憶領域B2からのデータ読み出し動作に従い、アドレ
スデータPAR16−0が発生すると、この時点のアド
レスデータPAR16−0がフラッシュメモリR(2)
の記憶領域B1における選択ブロックの最後の2バイト
を指定する値であるかどうかを検出し、該当する場合
は、フラッシュメモリL(1)における記憶領域A1の
ブロック選択を行う為のビットXADL9−1を+1イ
ンクリメントし、偶数又は奇数ブロックを識別する為の
ビットYADL6となるFAL7を反転させる。これよ
り、例えば、フラッシュメモリR(2)の記憶領域B1
における奇数ブロックの最後の2バイト『FEH、FF
H』の内容が読み出される時、フラッシュメモリL
(1)の記憶領域A1における上記奇数ブロック直後の
偶数ブロックの最初の2バイト『100H、101H』
の内容が読み出される。即ち、ラッチ回路(9)は記憶
領域A1及びB1の連続した4バイトの表示データをラ
ッチし、表示制御回路(10)はこの表示データを基に
CRT、液晶画面等の表示指定位置にドット表示させ
る。本発明の実施の形態によれば、ラッチ回路(9)が
4バイトの表示データを一括保持する為、文字フォント
の横方向が最大32ドットの文字まで対応でき、汎用
化、文字の大型化、文字の精細化等を可能とする作用効
果を奏する。
The address circuit ADSINC (11) stores the address data PAR16-0 in the flash memory R
It is detected whether the value is a value for selecting the last two bytes in the large block constituting the storage area B1 of (2). There is no problem in reading two-byte data from the same even-numbered or the same odd-numbered large block in the storage areas A1 and B1, but there is no problem. Last two of the block
To read the byte data and the first 2-byte data of the odd-numbered large block immediately following the even-numbered (or even-numbered immediately following the odd-numbered) large block in the storage area A1 of the flash memory L (1), use XADL9- 1, XAD
R9-1 cannot be executed with the same value. Therefore, the address circuit ADSINC (11) sets the flash memory L
When the address data PAR16-0 is generated according to the data read operation from the storage area A2 of (1) or the storage area B2 of the flash memory R (2), the address data PAR16-0 at this time is stored in the flash memory R (2).
Of the selected block in the storage area B1 of the flash memory L (1), and if so, a bit XADL9-1 for selecting a block of the storage area A1 in the flash memory L (1). Is incremented by +1 to invert FAL7, which is a bit YADL6 for identifying an even or odd block. Thus, for example, the storage area B1 of the flash memory R (2)
Last two bytes of the odd-numbered block "FEH, FF
H "is read out, the flash memory L
First two bytes "100H, 101H" of the even block immediately after the odd block in the storage area A1 of (1).
Is read out. That is, the latch circuit (9) latches continuous 4-byte display data in the storage areas A1 and B1, and the display control circuit (10) displays a dot at a display designated position on a CRT, a liquid crystal screen, or the like based on the display data. Let it. According to the embodiment of the present invention, since the latch circuit (9) collectively holds 4-byte display data, the horizontal direction of the character font can correspond to a character of up to 32 dots. It has the effect of enabling the definition of characters and the like.

【0025】アドレス選択回路(19)から選択出力さ
れたプログラムカウンタの17ビット値PC16−0
は、フラッシュメモリL(1)の記憶領域A2及びフラ
ッシュメモリR(2)の記憶領域B2をアドレス指定す
る為のデータである。PC16−6はローデコーダL
(3)及びローデコーダ(6)に供給され、PC5−0
はカラムデコーダL2(14)及びカラムデコーダR2
(15)に供給される。
The 17-bit value PC16-0 of the program counter selectively output from the address selection circuit (19)
Is data for addressing the storage area A2 of the flash memory L (1) and the storage area B2 of the flash memory R (2). PC16-6 is a row decoder L
(3) and the row decoder (6).
Are the column decoder L2 (14) and the column decoder R2
(15).

【0026】センスアンプL(5)、センスアンプR
(8)、アドレス回路ADSINC(11)、アドレス
回路CROSS(12)、アドレス回路CROSS(1
3)は切換信号C/Oがローレベルの時に動作し、セン
スアンプ(16)は切換信号C/Oがハイレベルの時に
動作する。
Sense amplifier L (5), sense amplifier R
(8), address circuit ADSINC (11), address circuit CROSS (12), address circuit CROSS (1
3) operates when the switching signal C / O is at a low level, and the sense amplifier (16) operates when the switching signal C / O is at a high level.

【0027】尚、本発明の実施の形態では、フラッシュ
メモリL(1)及びフラッシュメモリR(2)は2バイ
ト単位のデータを交互に記憶するが、一般的に2のべき
乗バイト単位のデータを交互に記憶する構成とすること
ができる。
In the embodiment of the present invention, the flash memory L (1) and the flash memory R (2) store data in units of 2 bytes alternately, but generally store data in units of power of 2 bytes. A configuration in which the data is stored alternately can be adopted.

【0028】[0028]

【発明の効果】本発明によれば、不揮発性メモリの第1
記憶領域にプログラムデータ又は被演算対象データを記
憶させ且つ第2記憶領域に表示用データを記憶させる構
成とした。これより、メモリコアを共用することにより
チップの小型化を可能とできる。また、保持回路に複数
アドレスの表示用データを一括保持させる構成とした。
これより、文字フォントの横方向ドット数の増大に伴
い、汎用化、文字の大型化、文字の精細化を可能とでき
る。また、キャラクタジェネレータROMとプログラム
ROMを1つのメモリ空間に存在させる為、メモリ空間
を任意に分割でき汎用性が向上する。といった利点が得
られる。
According to the present invention, the first nonvolatile memory can be used.
The storage area stores program data or data to be operated on, and the second storage area stores display data. Thus, the size of the chip can be reduced by sharing the memory core. Further, the configuration is such that the holding circuit collectively holds display data of a plurality of addresses.
Thus, as the number of dots in the horizontal direction of the character font increases, generalization, enlargement of characters, and refinement of characters can be achieved. Further, since the character generator ROM and the program ROM are provided in one memory space, the memory space can be arbitrarily divided, and versatility is improved. Such advantages can be obtained.

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

【図1】本発明の不揮発性メモリの読み出し回路を示す
ブロック図である。
FIG. 1 is a block diagram showing a read circuit of a nonvolatile memory of the present invention.

【図2】1チップマイクロコンピュータの1マシンサイ
クルの一例を示す図である。
FIG. 2 is a diagram showing an example of one machine cycle of a one-chip microcomputer.

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

(1) フラッシュメモリL (2) フラッシュメモリR (3) ローデコーダL (4) カラムデコーダL1 (6) ローデコーダR (7) カラムデコーダR1 (9) ラッチ回路 (10) 表示制御回路 (11) アドレス回路ADSINC (12)(13) アドレス回路CROSS (14) カラムデコーダL2 (15) カラムデコーダR2 (17) ラッチ回路 (1) Flash memory L (2) Flash memory R (3) Row decoder L (4) Column decoder L1 (6) Row decoder R (7) Column decoder R1 (9) Latch circuit (10) Display control circuit (11) Address circuit ADSINC (12) (13) Address circuit CROSS (14) Column decoder L2 (15) Column decoder R2 (17) Latch circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 第1記憶領域に対し各種論理演算を実行
する為のプログラムデータ又は被演算の対象となるデー
タを書き込み、第2記憶領域に対し表示に関わるデータ
を書き込んだ不揮発性メモリと、 前記不揮発性メモリの第1記憶領域を1アドレス単位で
指定する第1アドレス回路と、 前記不揮発性メモリの第2記憶領域を予め定められた複
数アドレス単位で同時指定する第2アドレス回路と、 マイクロコンピュータの動作制御と表示制御のタイミン
グで、前記第1及び第2アドレス回路を切り換える切換
回路と、 前記不揮発性メモリの第2記憶領域から同時読み出しさ
れた前記表示に関わるデータを一括保持する保持回路
と、を備え、 前記表示に関わるデータのビット数は、表示フォントの
一方向を構成するドット数以上に設定されることを特徴
とする不揮発性メモリの読み出し回路。
A non-volatile memory in which program data for performing various logical operations or data to be operated is written in a first storage area, and data relating to display is written in a second storage area; A first address circuit that specifies a first storage area of the nonvolatile memory in units of one address, a second address circuit that simultaneously specifies a second storage area of the nonvolatile memory in units of a plurality of predetermined addresses, A switching circuit for switching between the first and second address circuits at a timing of operation control and display control of a computer; and a holding circuit for collectively holding data relating to the display simultaneously read from a second storage area of the nonvolatile memory. The number of bits of data related to the display is set to be equal to or more than the number of dots constituting one direction of a display font. Readout circuit of the nonvolatile memory, wherein the door.
JP2748299A 1999-02-04 1999-02-04 Read-out circuit for non-volatile memory Pending JP2000228095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2748299A JP2000228095A (en) 1999-02-04 1999-02-04 Read-out circuit for non-volatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2748299A JP2000228095A (en) 1999-02-04 1999-02-04 Read-out circuit for non-volatile memory

Publications (1)

Publication Number Publication Date
JP2000228095A true JP2000228095A (en) 2000-08-15

Family

ID=12222361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2748299A Pending JP2000228095A (en) 1999-02-04 1999-02-04 Read-out circuit for non-volatile memory

Country Status (1)

Country Link
JP (1) JP2000228095A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008229240A (en) * 2007-03-23 2008-10-02 Daikoku Denki Co Ltd Display controller for game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008229240A (en) * 2007-03-23 2008-10-02 Daikoku Denki Co Ltd Display controller for game machine

Similar Documents

Publication Publication Date Title
US7227777B2 (en) Mode selection in a flash memory device
JP2010165165A (en) Memory device and memory access method
KR100516301B1 (en) Apparatus of dividing bank of a flash memory
JP7244263B2 (en) memory device
JP2008052782A (en) Semiconductor memory device and its refresh control method
JP2007004961A (en) Accessing method to multilevel cell flash memory and device
US8677100B2 (en) Serial memory interface for extended address space
JPH0845269A (en) Semiconductor memory
KR20020086542A (en) Memory device with support for unaligned access
JP5020489B2 (en) Semiconductor memory device capable of changing the number of banks to be refreshed at the time of refreshing and its operating method
KR100706226B1 (en) Non-volatile semiconductor memory with x8/x16 operation mode using address control
JPH05250867A (en) Random access memory
JP2005116167A (en) Memory system and method for setting operation mode by address signal
US20190073300A1 (en) Nested wrap-around memory access
JP2000228095A (en) Read-out circuit for non-volatile memory
JP2002222084A (en) Semiconductor storage device, sector address conversion circuit, address conversion method, and method for using semiconductor storage device
JP2761335B2 (en) Screen display device
JP3961806B2 (en) Nonvolatile semiconductor memory device
JP2003151269A (en) Semiconductor memory device and its control method
JP2000228099A (en) Read-out circuit for non-volatile memory
JPH11250660A (en) Memory device and its addressing method
JP2000228091A (en) Read-out circuit for non-volatile memory
US8423705B2 (en) Semiconductor device and method for controlling thereof
JP2003007065A (en) Data storage circuit and data processor
CN100334614C (en) Screen display