[go: up one dir, main page]

JPS59218687A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPS59218687A
JPS59218687A JP9230383A JP9230383A JPS59218687A JP S59218687 A JPS59218687 A JP S59218687A JP 9230383 A JP9230383 A JP 9230383A JP 9230383 A JP9230383 A JP 9230383A JP S59218687 A JPS59218687 A JP S59218687A
Authority
JP
Japan
Prior art keywords
data
memory
circuit
read
input
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.)
Granted
Application number
JP9230383A
Other languages
Japanese (ja)
Other versions
JPS635834B2 (en
Inventor
Tsugio Itagaki
次雄 板垣
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP9230383A priority Critical patent/JPS59218687A/en
Publication of JPS59218687A publication Critical patent/JPS59218687A/en
Publication of JPS635834B2 publication Critical patent/JPS635834B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store

Abstract

PURPOSE:To simplify the circuit constitution by judging that no nonvolatile memory is connected when the read-out date of contents of a nonvolatile memory are all set at an H or an L level to replace the read-out data with the initial setting data and having a normal action in the mode excepting the above- mentioned mode. CONSTITUTION:The system reset is applied to a memory control circuit 1 when a power supply is turned on and the data is read out of a nonvolatile memory 2 and fetched to the circuit 1. A pull-up resistance 3 fixes the input of the circuit 1 at an H level excepting the read-out mode of the memory data. If the memory is read when no memory 2 is connected, all memory contents are set at the H level while the memory data is read out since the input of the circuit 1 is fixed at the H level by the resistance 3. A memory data deciding circuit 1d jas ''llllll'' as the reference data and always compares the input data with said reference data. If no coinsidence is obtained from this comparison, the input data is delivered as it is to a D/A converting circuit 4. If the coincidence is obtained, the input data is replaced with the initial set value (''010000'',etc.) and delivered to the circuit 4.

Description

【発明の詳細な説明】 〔発明の利用分贋〕 本発明は、不揮発性メモリを用いたメモリ制御装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Uses of the Invention] The present invention relates to a memory control device using nonvolatile memory.

〔発明の背景〕[Background of the invention]

テレビ受信機等において、不揮発性メモリを用い最終チ
ャンネルデータ、最終音量データ等をメモリに記憶する
ことによって操作性機能向上を計る方法が多く採用され
てきた。しかしながらローエンドモデル等は、このよう
なメモリを用いないで必要最小限の機能のみとする場合
)もある。このようにメモリの有無のみが異なるテレビ
受信機では大部分の回路を共通化するためメモリの有無
に応じた付加回路が必要となり高価になる欠点がある。
2. Description of the Related Art In television receivers and the like, many methods have been adopted to improve operability by storing final channel data, final volume data, etc. in a non-volatile memory. However, some low-end models do not use such memory and have only the minimum necessary functions. In such television receivers, which differ only in the presence or absence of memory, most of the circuits are shared, so additional circuits are required depending on the presence or absence of memory, which has the disadvantage of being expensive.

〔発明の目的〕              。[Object of the invention]

本発明の目的は、上記したような従来の欠点をなし、付
加回路が不要なメモリ制御装置を提供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a memory control device that overcomes the above-mentioned conventional drawbacks and does not require additional circuitry.

〔発明の概要〕[Summary of the invention]

本発明は、不揮発性メモリ内容を読み出す時、1゜その
読み出しデータがすべてHレベルまたはLレベルの時は
不揮発性メモリが接続されていないと判断しあらかじめ
定められた初期設定用データに置換え、上記以外は通常
の動作を行なうことにより自動的にメモリ有無を判断し
、回路、を簡素化するように構成したものである。
When reading the contents of a non-volatile memory, the present invention determines that the non-volatile memory is not connected when all of the read data is at H level or L level, and replaces it with predetermined initial setting data. Other than that, the circuit is configured to automatically determine the presence or absence of memory by performing normal operations, thereby simplifying the circuit.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参照して本発明を説明する。 The present invention will be described below with reference to the drawings.

図は一本発明による一実施例を示すプロ9り図である。The figure is a professional diagram showing an embodiment according to the present invention.

1は、メモリの読み出し、書込みをコ行ない読み出した
データの判定および1.) / A変換回路4へのデー
タの出力を行なうメモリ制御回路、2は、メモリ制御回
路1のデータと常に一致するようにデータを記憶し、電
源オン時にメモリデータを読み出し、電源オフ直前の状
態1.、にするためにデータを記憶し、メモリ出力以外
はハイインピーダンスの出力を持つ不揮発性メモリ、3
ば、メモリ制御回路10入力と不揮発性2の出力との間
に接続され、メモリデータの読み出し期間以外または、
不揮発性メモリが接1.。
1 reads and writes the memory, determines the read data, and 1. ) / A memory control circuit 2 that outputs data to the A conversion circuit 4 stores data so that it always matches the data of the memory control circuit 1, reads the memory data when the power is turned on, and stores the data in the state immediately before the power is turned off. 1. , a non-volatile memory that stores data and has high impedance outputs except for memory outputs, 3.
For example, it is connected between the input of the memory control circuit 10 and the output of the non-volatile 2, and is used during periods other than the memory data read period, or
1. Non-volatile memory is connected. .

続されていない場合メモリ制御回路の入力をI]レベル
に固定するためのプルアップ抵抗、4は、メモリ制御回
路1からのデータによりデジタル1百号をアナログ信号
に変換するためのI)/A変換回路、5は、メモリ市制
御回路1および不揮発性メモリ2に屑イ源を供給するた
めの電源回路である。なお、プルアップ抵抗3は1個の
み図示しているが、全データ線に対して各1個設けられ
るものである。
4 is a pull-up resistor for fixing the input of the memory control circuit to the I) level if it is not connected to the I)/A pull-up resistor for converting the digital 100 into an analog signal using data from the memory control circuit The conversion circuit 5 is a power supply circuit for supplying a waste source to the memory control circuit 1 and the nonvolatile memory 2. Although only one pull-up resistor 3 is shown in the figure, one pull-up resistor 3 is provided for each data line.

次に回路の動作を説明する。Next, the operation of the circuit will be explained.

最初、電源スィッチをオンすると、電源回路5に電源が
供給され、メモリ制御回路1および不揮発性メモリ2に
電源が供給される。電源供給によりメモリ制御回路1に
システムリセットが働き不揮発性メモリ2からデータを
読み出し1.。
Initially, when the power switch is turned on, power is supplied to the power supply circuit 5, and then to the memory control circuit 1 and the nonvolatile memory 2. When power is supplied, a system reset is activated in the memory control circuit 1, and data is read from the nonvolatile memory 2.1. .

メモリ制御回路1にデータが取り込まれ、そのデータを
D/A変換回路4に入力しD/Aコントロール出力端子
より電子コントロール用等の直流電圧を出力する。この
時プルアップ抵抗3はメモリデータの読み出し期間以外
はメモリ読、。
Data is taken into the memory control circuit 1, and the data is input to the D/A conversion circuit 4, which outputs a DC voltage for electronic control etc. from the D/A control output terminal. At this time, the pull-up resistor 3 performs memory reading except during the memory data reading period.

夜回路10入力4)Jレベルに固定するためのものであ
り、メモリ制御回路10入力がコントロールキーの入力
を兼ねている場合は、キー人力のプルアップ抵抗として
使用可能である。
Night circuit 10 input 4) This is for fixing to the J level, and if the memory control circuit 10 input also serves as a control key input, it can be used as a pull-up resistor for the key input.

次に、不揮発性メモリ2が接続されていない場合を考え
る。前述したと同様にメモリ読み出し動作を行なった時
、メモリ制御回路1の入力がプルアップ抵抗によりHレ
ベルに固定されているためメモリデータの読み出し期間
中は全メモリ内容がHレベルになる。すなわち、メモリ
データ出力回路1aにより取り込まれ、メモリデータ判
定向111dに供給されるデータは例えハ1′1111
11”というような6ビツト全部がHレベルのものであ
る。メモリデータ判定回路1dは参照データとして11
1111”をもっており、入力]。
Next, consider a case where the nonvolatile memory 2 is not connected. When a memory read operation is performed in the same manner as described above, since the input of the memory control circuit 1 is fixed at H level by the pull-up resistor, all memory contents are at H level during the memory data read period. That is, the data taken in by the memory data output circuit 1a and supplied to the memory data determination direction 111d is, for example, 1'1111.
11'', all 6 bits are at H level.The memory data determination circuit 1d uses 11'' as reference data.
1111”, input].

データを常にこの参照データと比較して、不一致ならば
入力データをそのままD/A変換回路4に対して出力し
、一致しているならば、入力データを初期設定値(例え
ば010000”)に置換してD/A変換回路4に対1
−て出力する。なお、1.16はI) / A変換回路
4、メモリデータ判別回路1dを介して得られた書き込
みデータをメモリ2に薔ぎ込むメモリデータ出力回路、
1cはメモリに対して書き込みモード、読み出しモード
のいずれかのモードを指定するメモリ読み出し/書き込
み制御回路である。
The data is constantly compared with this reference data, and if they do not match, the input data is output as is to the D/A conversion circuit 4, and if they match, the input data is replaced with the initial setting value (for example, 010000"). and D/A conversion circuit 4 to 1
− Output. Note that 1.16 is a memory data output circuit that inputs the write data obtained through the I/A conversion circuit 4 and the memory data discrimination circuit 1d into the memory 2;
1c is a memory read/write control circuit that specifies either a write mode or a read mode for the memory.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によればメモリ有無の外部切
換回路を必要とせず切換が可能となる。
As described above, according to the present invention, switching is possible without requiring an external switching circuit with or without memory.

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

図は、本発明によるメモリ制御回路の一実施例を示す回
路図である。 1:メモリ制御回路 2:不揮発性メモリ           1゜3:プ
ロマツプ抵抗 4 : D/A変換回路 5:電源回路 6:電源スイッチ
FIG. 1 is a circuit diagram showing an embodiment of a memory control circuit according to the present invention. 1: Memory control circuit 2: Nonvolatile memory 1゜3: Promap resistor 4: D/A conversion circuit 5: Power supply circuit 6: Power switch

Claims (1)

【特許請求の範囲】[Claims] メモリから読み出されたデータが供給される入力端子と
、入力端子に接続されたブルアヅブ−またはプルダウン
抵抗と、この抵抗によって定められる値と等しいデータ
を参照データとして記憶する木1記憶部と、特定値を記
憶する牙2記憶部と、入力端子におけるデータを参照デ
ータと比較して一致、不一致を判別する判別手段1゜と
、一致の場合矛2記憶部からの特定値を出力し、不一致
の場合入力端子におけるデータをそのまま出力する出力
手段とからなることな特徴するメモリ制御装置。
an input terminal to which data read from the memory is supplied, a pull-down resistor connected to the input terminal, a tree 1 storage unit that stores data equal to a value determined by the resistor as reference data; There is a 2nd storage unit that stores values, a determining unit 1 that compares the data at the input terminal with reference data to determine whether they match or do not match, and outputs a specific value from the 2nd storage unit in the case of a match, and determines if there is a mismatch. A memory control device characterized in that it comprises an output means for outputting data at an input terminal as is.
JP9230383A 1983-05-27 1983-05-27 Memory controller Granted JPS59218687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9230383A JPS59218687A (en) 1983-05-27 1983-05-27 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9230383A JPS59218687A (en) 1983-05-27 1983-05-27 Memory controller

Publications (2)

Publication Number Publication Date
JPS59218687A true JPS59218687A (en) 1984-12-08
JPS635834B2 JPS635834B2 (en) 1988-02-05

Family

ID=14050638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9230383A Granted JPS59218687A (en) 1983-05-27 1983-05-27 Memory controller

Country Status (1)

Country Link
JP (1) JPS59218687A (en)

Also Published As

Publication number Publication date
JPS635834B2 (en) 1988-02-05

Similar Documents

Publication Publication Date Title
JP2930773B2 (en) Programmable logic device, circuit blocks used in the device, and method for determining whether an input to the device is used in a logic function
JP2553753B2 (en) AD converter
JPH0197016A (en) Semiconductor integrated circuit device
EP0532790B1 (en) One-chip microcomputer
JPS59218687A (en) Memory controller
US5018099A (en) Comparison circuit
KR920003271B1 (en) Memory write prevention circuit by microcomputer control
KR100228562B1 (en) Remote controller
KR960009050Y1 (en) Circuit for selecting floppy disk driver of computer
KR910001308Y1 (en) Automatic switching circuit of battery in case of no signal
JPH076102A (en) Memory control device and device using the same
JPH08147262A (en) Microprocessor
JPH0731284Y2 (en) Input circuit of programmable controller
SU802959A1 (en) Information sorting device
JP2760027B2 (en) I / O device
JPS6130294B2 (en)
JPH05291957A (en) One-chip comparator with comparison reference changeover switch
JPH06165074A (en) Sound volume controller and television receiver provided with the same
JPH08247789A (en) Encoder signal output method
JPH02181249A (en) Peripheral controller
JPH05120879A (en) Semiconductor memory device
JPH04306021A (en) Two-wire system transmitter
JPH0675866A (en) Memory control circuit
JPH04246753A (en) Automatic substrate address setting device of control system
JPH04158280A (en) Semiconductor integrated circuit