JPH02292630A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPH02292630A
JPH02292630A JP1112839A JP11283989A JPH02292630A JP H02292630 A JPH02292630 A JP H02292630A JP 1112839 A JP1112839 A JP 1112839A JP 11283989 A JP11283989 A JP 11283989A JP H02292630 A JPH02292630 A JP H02292630A
Authority
JP
Japan
Prior art keywords
data
circuit
memory
conversion circuit
serial data
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
JP1112839A
Other languages
Japanese (ja)
Inventor
Shuji Nakagawa
中川 修司
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1112839A priority Critical patent/JPH02292630A/en
Publication of JPH02292630A publication Critical patent/JPH02292630A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the memory control time by disposing a signal generation circuit constituted of first-third conversion circuits which convert parallel data into serial data or serial data into parallel data and a counter circuit, etc. CONSTITUTION:The first conversion circuit 11 converts a command and an address with respect to EEROM 20 from parallel data into serial data Da, and supplies it to ROM 20 as input data Dc through an OR circuit 15. The second conversion circuit 12 converts data to be written into ROM 20 from parallel into serial data Db, and supplies it to ROM 20 as input data Dc through the circuit 15. The third conversion circuit 13 converts serial data Dd which is read from ROM 20 into parallel data and outputs it to a bus 30. The signal generation circuit 14 counts clocks by a counter circuit 140 and forms an enable signal, etc. Thus, the control load of an arithmetic processor, etc., using the memory can be reduced by allowing a memory control circuit 10 to convert serial data into paralled data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、直列データで書き込み・読み出しを行うメモ
リの制御回路に係わり、特に演算処理装置のメモリに対
する制御負荷を低減させたメモリ制御回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a memory control circuit that writes and reads serial data, and particularly relates to a memory control circuit that reduces the control load on the memory of an arithmetic processing unit. .

〔従来の技術〕[Conventional technology]

この種の直列データで書き込み・読み出しを行うメモリ
は、例えば直列データにより使用可能な電気的にデータ
消去可能な続出専用メモIJ(EEFROM)が挙げら
れる。かかるシリアル型のEEPROMは、マイクロプ
ロセッサ等の演算処理装置によって使用されている。こ
こで、マイクロプロセッサは、シリアル型メモリである
EEPROMを使用する場合、書き込む時には並列デー
タを直列データに変換する書込処理を実行し、読み出す
時には直列データを並列データに変換する続出処理を実
行している。
An example of this type of memory in which serial data is written and read is an electrically data-erasable read-only memory IJ (EEFROM) that can be used with serial data. Such serial type EEPROMs are used by arithmetic processing devices such as microprocessors. Here, when using an EEPROM, which is a serial type memory, the microprocessor executes a write process to convert parallel data to serial data when writing, and executes a series of processes to convert serial data to parallel data when reading. ing.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のEEPROMを使用する際に、マイクロ
プロセッサは、クロック信号とEEPR○Mに対するア
ドレスやデータと同期をとりながら、データを直列に変
換して書き込み、読み出したデータを並列に変換して使
用しているので、EEPROMを使用するために長時間
を要するという欠点がある。
When using the above-mentioned conventional EEPROM, the microprocessor synchronizes the clock signal with the address and data for the EEPR○M, converts and writes data serially, and converts the read data in parallel for use. Therefore, there is a drawback that it takes a long time to use the EEPROM.

本発明は、上述した欠点を解消するためになされたもの
で、メモリ制御時間を短縮化したシリアル型メモリの制
御回路を提供することを目的とする。
The present invention has been made in order to eliminate the above-mentioned drawbacks, and an object of the present invention is to provide a serial memory control circuit that shortens memory control time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のシリアル型メモリの制御回路は、直列データに
よりデータの入出力が行われるメモリに対してデータを
書き込み読み出しができる制御回路において、メモリに
対するコマンドとアドレスを並列データから直列データ
に変換してメモリに供給する第1の変換回路と、メモリ
に書き込むデータを並列データから直列データに変換し
てメモリに供給する第2の変換回路と、メモリから読み
出した直列データを並列データに変換して出力する第3
の変換回路と、クロツクを計数してイネーブル信号等を
形成する信号生成回路とを備えたことを特微とするもの
である。
The serial memory control circuit of the present invention converts commands and addresses for the memory from parallel data to serial data in a control circuit that can write and read data to and from a memory where data is input and output using serial data. A first conversion circuit that supplies data to the memory, a second conversion circuit that converts data to be written into the memory from parallel data to serial data and supplies it to the memory, and converts serial data read from the memory into parallel data and outputs it. 3rd to do
The present invention is characterized in that it includes a conversion circuit and a signal generation circuit that counts clocks and generates an enable signal and the like.

本発明は、メモリ制御回路により、直列データ・並列デ
ータの変換を行っているので、このメモリを使用する演
算処理装置等の制御負荷を軽減ずることができる。
In the present invention, since the memory control circuit converts serial data to parallel data, it is possible to reduce the control load on an arithmetic processing device or the like that uses this memory.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明のメモリ制御回路の実施例を示す回路
図である。
FIG. 1 is a circuit diagram showing an embodiment of the memory control circuit of the present invention.

第1図に示すメモリ制御回路10は、直列データにより
データの入出力が行われるメモリであるEEPROM2
 0に対してデータを書き込み読み出しができるように
なっており、第1の変換回路1lと、第2の変換回路1
2と、第3の変換回路13と、信号生成回路14とから
構成されている。
The memory control circuit 10 shown in FIG.
Data can be written to and read from 0, and the first conversion circuit 1l and the second conversion circuit 1
2, a third conversion circuit 13, and a signal generation circuit 14.

また、メモリ制御回路10は、バス30からの人力情報
が第1の変換回路11と第2の変換回路12とに供給さ
れ、出力情報がバス30に供給できるように接続されて
いる。
Further, the memory control circuit 10 is connected so that human power information from the bus 30 can be supplied to the first conversion circuit 11 and the second conversion circuit 12, and output information can be supplied to the bus 30.

ここで、第1の変換回路11は、EEPROM20に対
するコマンドとアドレスを並列データから直列データD
aに変換し、人力データDcとしてEEPROM2 0
に論理和回路l5を介して供給できるようになっている
。第2の変換回路12は、EEPROM2 0に書き込
むデータを並列データから直列データDbに変換し、人
力データDcとしてEEPROM2 0に論理和回路l
5を介して供給できるようになっている。第3の変換回
路13は、EEPROM20から読み出した直列データ
Ddを並列データに変換してバス30に出力できるよう
になっている。信号生成回路l4は、カウンタ回路14
0と、クロツク発生回路l4lとからなり、カウンタ回
路140によりクロツクを計数してイネーブル信号EN
a,ENbENc等を形成できるようになっている。ま
た、クロック発生回路141のクロンク信号(CLK)
は、EEPROM2 0と、カウンタ回路140に直接
、第1の変換回路11には論理和回路16を介して、第
2の変換回路12には論理和回路17を介して、第3の
変換回路13には論理和回路l8を介してそれぞれ供給
できるようになっている。なお、ライトイ不一ブルWE
a,’vVEb,WEcが第1の変換回路l1,第2の
変換回路l2,信号生成回路14に供給されている。ま
た、第3の変換回路13には、信号○Eが供給されてい
る。さらに、第1の変換回路1lおよび第2の変換回路
l2は、パラレル・シリアル変換回路で構成すればよい
。また、第3の変換回路l3は、シリアル・パラレル変
換回路で構成すればよい。
Here, the first conversion circuit 11 converts the command and address for the EEPROM 20 from parallel data to serial data D.
Convert it to EEPROM20 as manual data Dc.
can be supplied through the OR circuit l5. The second conversion circuit 12 converts the data to be written into the EEPROM 20 from parallel data to serial data Db, and outputs the data to the EEPROM 20 as manual data Dc using an OR circuit l.
It can be supplied via 5. The third conversion circuit 13 is configured to convert the serial data Dd read from the EEPROM 20 into parallel data and output it to the bus 30. The signal generation circuit l4 is a counter circuit 14
0 and a clock generating circuit l4l, the counter circuit 140 counts the clocks and generates an enable signal EN.
a, ENbENc, etc. can be formed. In addition, the clock signal (CLK) of the clock generation circuit 141
is connected directly to the EEPROM 20 and the counter circuit 140, to the first conversion circuit 11 via the OR circuit 16, to the second conversion circuit 12 via the OR circuit 17, and to the third conversion circuit 13. can be supplied to each via the OR circuit l8. In addition, Light Ichiburu WE
a, 'vVEb, and WEc are supplied to the first conversion circuit l1, the second conversion circuit l2, and the signal generation circuit 14. Further, the third conversion circuit 13 is supplied with a signal ○E. Furthermore, the first conversion circuit 1l and the second conversion circuit l2 may be configured as parallel-to-serial conversion circuits. Further, the third conversion circuit l3 may be configured by a serial/parallel conversion circuit.

このように構成された実施例の作用を説明する。The operation of the embodiment configured in this way will be explained.

第2図は、同実施例によりEEPROM2 0にデータ
を書き込む場合のタイミング図である。
FIG. 2 is a timing chart when data is written to the EEPROM 20 according to the same embodiment.

第2図に示すようにクロノク発生回路141からクロソ
ク信号(CLK)が出力されている。こコテ、イネーブ
ル信号ENa (ENB)が” o ”になり(クロツ
ク信号T。の立ち下がり以降)、同時に(To)、カウ
ンタ回路140のイネーブル信号ENbが“0”になる
と、第1の変換回路11の入力端子DIにコマンド( 
C O M )とアドレス(A。””’A3 )が与え
られる。これにより、EEFROM20の人力端子DI
Nには、論理和回路15を介して第2図に示すようにア
ドレス信号等の直列データDcが与えられる( T o
 ”’− T s)。ついで、カウンタ回路140から
のイネーフル信号ENcが“0”になるので、第2の変
換回路l2の入力端子DIにデータ(Do =Di )
が与えられる(T6 〜”r,.)。これにより、EE
PROM20には、論理和回路15を介して第2図に示
すように書込データとしての人力データDcが与えられ
る。これが、EEPROM20に書き込まれることにな
る。
As shown in FIG. 2, a clock pulse signal (CLK) is output from the clock generator circuit 141. Here, when the enable signal ENa (ENB) becomes "o" (after the fall of the clock signal T) and at the same time (To), the enable signal ENb of the counter circuit 140 becomes "0", the first conversion circuit Command (
C OM ) and address (A.'''''A3) are given. As a result, the manual terminal DI of EEFROM20
As shown in FIG. 2, serial data Dc such as an address signal is applied to N via an OR circuit 15 (T o
"'- T s). Then, since the enable signal ENc from the counter circuit 140 becomes "0", data (Do = Di) is input to the input terminal DI of the second conversion circuit l2.
is given (T6 ~”r,.). This gives EE
The PROM 20 is supplied with manual data Dc as write data via the OR circuit 15 as shown in FIG. This will be written into the EEPROM 20.

第3図は、同実施例によりEEPROM20からデータ
を読み出す場合のタイミング図である。
FIG. 3 is a timing diagram when data is read from the EEPROM 20 according to the same embodiment.

第3図に示すようにクロツク発生回路141からクロッ
ク信号(CLK)が出力されている。ここで、イネーブ
ル信号ENa (ENB)が“0”になり(クロック信
号T。の立ち下がり以降〜T3)、同時に(To)、カ
ウンタ回路140のイネーブル信号ENbが“0”にな
ると、第1の変換回路11の人力端子DIに信号が与え
られる。
As shown in FIG. 3, a clock signal (CLK) is output from a clock generation circuit 141. Here, the enable signal ENa (ENB) becomes "0" (from the fall of the clock signal T. to T3), and at the same time (To), when the enable signal ENb of the counter circuit 140 becomes "0", the first A signal is applied to the human power terminal DI of the conversion circuit 11.

これにより、E E P R O M2 0の入力端子
DIHには、論理和回路15を介して第3図に示すよう
にアドレス信号としての直列データDaが与えられる(
To ”Ts )。ついで、カウンタ回路140かろの
イネーブル信号ENcが“0”になるので、EEFRO
M20の出力端子DOUTからデータ(DO 〜Dt)
が直列データDdとして読み出される(T6〜T13)
。これにより、第3の変換回路l3は、第2図のDIN
から出力されたデータ(Do−D7)を直列から並列に
変換し、第3の変換回路13の出力端子D○からバス3
0に出力する。
As a result, the input terminal DIH of the EEPROM20 is given serial data Da as an address signal via the OR circuit 15 as shown in FIG.
To "Ts). Then, the enable signal ENc from the counter circuit 140 becomes "0", so EEFRO
Data from output terminal DOUT of M20 (DO ~ Dt)
is read out as serial data Dd (T6 to T13)
. As a result, the third conversion circuit l3 converts the DIN of FIG.
The data (Do-D7) output from
Output to 0.

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

以上説明したように本発明は、メモリ制御回路により、
直列データ・並列データの変換を行っているので、この
メモリを使用する演算処理装置等の制御負荷を軽減する
ことができるという効果がある。
As explained above, in the present invention, the memory control circuit
Since serial data/parallel data is converted, there is an effect that the control load on the arithmetic processing unit, etc. that uses this memory can be reduced.

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

第1図は本発明の実施例を示す回路図、第2図よ同実施
例によりメモリにデータを書き込む場合のタイミング図
、第3図は同実施例によりメモリからデータを読み出す
場合のタイミング図である。 0・・・・・・メモリ制御回路、 l・・・・・・第1の変換回路、 2・・・・・・第2の変換回路、 3・・・・・・第3の変換回路、 4・・・・・・信号生成回路。 20・・・・・・EEPROM (メモリ),?)2図
Fig. 1 is a circuit diagram showing an embodiment of the present invention, Fig. 2 is a timing diagram when data is written to the memory according to the same embodiment, and Fig. 3 is a timing diagram when data is read from the memory according to the same embodiment. be. 0...Memory control circuit, l...First conversion circuit, 2...Second conversion circuit, 3...Third conversion circuit, 4...Signal generation circuit. 20...EEPROM (memory),? )2 figure

Claims (1)

【特許請求の範囲】 直列データによりデータの入出力が行われるメモリに対
してデータを書き込み読み出しができる制御回路におい
て、 前記メモリに対するコマンドとアドレスを並列データか
ら直列データに変換して前記メモリに供給する第1の変
換回路と、 前記メモリに書き込むデータを並列データから直列デー
タに変換して前記メモリに供給する第2の変換回路と、 前記メモリから読み出した直列データを並列データに変
換して出力する第3の変換回路と、クロックを計数して
イネーブル信号等を形成する信号生成回路 とを具備することを特徴とするメモリ制御回路。
[Scope of Claims] A control circuit capable of writing and reading data to and from a memory in which data is input and output using serial data, the control circuit converting commands and addresses for the memory from parallel data to serial data and supplying the converted data to the memory. a first conversion circuit that converts data to be written into the memory from parallel data to serial data and supplies the converted data to the memory; and a second conversion circuit that converts the serial data read from the memory into parallel data and outputs the converted data. 1. A memory control circuit comprising: a third conversion circuit that counts clocks and generates an enable signal and the like;
JP1112839A 1989-05-06 1989-05-06 Memory control circuit Pending JPH02292630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1112839A JPH02292630A (en) 1989-05-06 1989-05-06 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1112839A JPH02292630A (en) 1989-05-06 1989-05-06 Memory control circuit

Publications (1)

Publication Number Publication Date
JPH02292630A true JPH02292630A (en) 1990-12-04

Family

ID=14596823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1112839A Pending JPH02292630A (en) 1989-05-06 1989-05-06 Memory control circuit

Country Status (1)

Country Link
JP (1) JPH02292630A (en)

Similar Documents

Publication Publication Date Title
JPH02292630A (en) Memory control circuit
JPH02210685A (en) Dram controller
EP1058189A3 (en) Microcomputer with debugging system
JP2000347890A (en) Method and device for generating test pattern of semiconductor device
JPS612085A (en) Analog lsi tester
JP2984808B2 (en) Internal initialization circuit for large-scale integrated circuits
JPH05275932A (en) Optional waveform generator
JPH0381180B2 (en)
JP3046706B2 (en) Square wave generator with arbitrary period and pattern
JPS6246304A (en) Programmable controller
JPH0714932Y2 (en) IC test equipment
JPH04336346A (en) Memory access system
JPH0363808A (en) Time data reader
JP3082545B2 (en) Speed conversion circuit
JPH04171564A (en) Serial bus control device
JPH01243164A (en) Single chip microcomputer incorporated with eprom
JPH05205038A (en) Data converter
JPH01234948A (en) Ram clear circuit for memory bank
JPH01287767A (en) Control circuit for ram
JPS62145593A (en) Semiconductor memory device
JPS61220042A (en) Memory access control system
JPS61264454A (en) Rom area extending circuit
JPH0973771A (en) Data memory
JPS61190389A (en) Character display unit
JPH0440546A (en) Address converting circuit and programmable controller system