JPS6284365A - Program developing device - Google Patents

Program developing device

Info

Publication number
JPS6284365A
JPS6284365A JP60224272A JP22427285A JPS6284365A JP S6284365 A JPS6284365 A JP S6284365A JP 60224272 A JP60224272 A JP 60224272A JP 22427285 A JP22427285 A JP 22427285A JP S6284365 A JPS6284365 A JP S6284365A
Authority
JP
Japan
Prior art keywords
pla
data
circuit
gate
microcomputer
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
JP60224272A
Other languages
Japanese (ja)
Other versions
JPH0736160B2 (en
Inventor
Nobuhiro Arai
信宏 荒井
Takeshi Takitani
瀧谷 猛
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 JP60224272A priority Critical patent/JPH0736160B2/en
Publication of JPS6284365A publication Critical patent/JPS6284365A/en
Publication of JPH0736160B2 publication Critical patent/JPH0736160B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To set optionally a function of a PLA through the changeover of internal wiring only at the development of a microcomputer (MCP) by controlling a gate provided at a cross point of input/output lines corresponding to the those of the PLA of the MCP incorporating the PLA. CONSTITUTION:In order to change a PLA data partially at the program development based on the predetermined PLA data in a memory 5, the location to be changed is commanded to a control circuit 4. The circuit 4forms a data to turn on/off a transmission gate 8 instructed and the data is to be written in a corresponding latch circuit 3 only and the operation by the change is to be confirmed. After the confirmation of operation, the PLA data is written in the memory 5 and it is used to form a mask at the manufacture of a MCP.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明はPLAを内蔵するマイクロコンピュータのプロ
グラム開発装置に関し、特に、プログラム開発装置に設
けられたPLAの配線の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a program development device for a microcomputer incorporating a PLA, and particularly relates to an improvement in the wiring of a PLA provided in the program development device.

(ロ)従来の技術 一般に、ワンチップマイクロコンピュータは、プログラ
ムを記憶するROM(リード・オンリー・メモリ)を内
蔵しており、ユーザー等が予め作成したプログラムがワ
ンチップマイクロコンピュータの製造時にマスクによっ
て書き込まれる。
(b) Conventional technology In general, one-chip microcomputers have a built-in ROM (read-only memory) for storing programs, and programs created by the user etc. are written in using a mask during manufacture of the one-chip microcomputer. It will be done.

そこで、ユーザー等はプログラムを作成する際にエバリ
ユエーションチップと呼ばれるマイクロコンピュータを
使用したプログラム開発装置を使用している。
Therefore, when creating a program, users use a program development device using a microcomputer called an evaluation chip.

ところで、ワンチップマイクロコンピュータには、ユー
ザーの要求に応じて自由にプログラムすることの可能な
PLA(プログラマブル・ロジック・アレイ)が内蔵さ
れたものがある。例えば、表示装置の駆動回路等を内蔵
したものにはデータを表示として現わすためのセグメク
トPLAが内蔵される。乙のPLAもプログラムの開発
時にユーザーが自由に設定できるようになっており、そ
のため、ワンチップマイクロコンピュータを製iする際
には、PLAのアドレスとそのアドレスに書き込むデー
タとが必要となる。
By the way, some one-chip microcomputers have a built-in PLA (programmable logic array) that can be freely programmed according to the user's requests. For example, a display device with a built-in driving circuit or the like has a built-in segment PLA for displaying data. B's PLA can also be freely set by the user during program development, so when manufacturing a one-chip microcomputer, the PLA address and the data to be written to that address are required.

従来、プログラム開発装置に於いて、PLAをプログラ
ムする際にはマイクロコンピュータに内蔵筋れるPLA
の代わりにPI、A用のE F ROMを使用し、該E
FROMに予め作成されたデータを書き込んでいた。こ
のことは、本願出願人が昭和55年2月15日に発行し
たマイコン資料シリーズ陽3’LM6499マニュアル
」の第31頁から第37頁に記載されている。
Conventionally, when programming a PLA in a program development device, a PLA built in a microcomputer is used.
Use the E F ROM for PI and A instead of
Data created in advance was written to FROM. This is described on pages 31 to 37 of ``Microcomputer Material Series Yang 3'LM6499 Manual'' published by the applicant on February 15, 1980.

(ハ)発明が解決しようとする問題点 ところが、従来の如<EPROMを使用してPLAを作
成した場合には、プログラム作成中にPLAの内容を一
部変更する際にも、すべての記憶を消去して書き変えな
ければならないので、不便であった。また、入力ライン
あるいは出力ラインの本数が多くなるとEPROMでは
対応できなくなる。一方、EFROMを使用せずに入力
ラインと出力ラインとの配線を一本一本行うことにより
PLAを作成する場合もあるが、この場合には、一部の
変更には一部を変えるだけで対応できるが、一本一本配
線する際の時間がかかり、配線ミスが発生する可能性が
ある。
(c) Problems to be solved by the invention However, when a PLA is created using an EPROM as in the past, even if some of the contents of the PLA are changed during program creation, all memories are lost. This was inconvenient because it had to be erased and rewritten. Furthermore, if the number of input lines or output lines increases, the EPROM cannot handle it. On the other hand, there are cases where a PLA is created by wiring input lines and output lines one by one without using EFROM, but in this case, some changes require only a partial change. This can be done, but it takes time to wire each wire one by one, and wiring errors may occur.

(ニ)問題点を解決するための手段 本発明は上述した点に鑑みて為されたものであり、マイ
クロフンピユータのPLAの入力ライン及び出力ライン
に相当する入力ライン及び出力ラインと、該入力ライン
と出力ラインの交点に各々設けられたゲートと、該各々
のゲートを個別に制御するデコーダ回路と、該デコーダ
回路に前記各々のゲートのオン及びオフを表現するデー
タを印加するラッチ回路とを有し、作成されたPLAの
配線データを前記ラッチ回路に印加することにより、マ
イクロコンピュータと同等のPLAが作成されるもので
ある。
(d) Means for solving the problems The present invention has been made in view of the above-mentioned points, and includes input lines and output lines corresponding to the input lines and output lines of the PLA of a microcomputer, and A gate provided at each intersection of a line and an output line, a decoder circuit that individually controls each gate, and a latch circuit that applies data representing on and off of each gate to the decoder circuit. By applying wiring data of the created PLA to the latch circuit, a PLA equivalent to a microcomputer is created.

(*)作用 上述の手段によれば、マイクロコンピュータのプログラ
ム作成時に設定されたPLAの設定データを記憶装置(
例えば、磁気ディスク、RAM。
(*) Effect: According to the above-mentioned means, the PLA setting data set at the time of creating the microcomputer program can be stored in the storage device (
For example, magnetic disk, RAM.

ROM等)に記憶しておき、該記憶装置から読み出した
設定データを所定の処理を行ってラッチ回路に印加し記
憶させる。すると、ラッチ回路の出力はデコーダ回路に
よって各々のゲートをオンあるいはオフする制御信号に
変換され、希望するゲートのオン及びオフが為され、設
定されたPLAが形成される。
The setting data read out from the storage device is subjected to predetermined processing and applied to a latch circuit for storage. Then, the output of the latch circuit is converted by the decoder circuit into a control signal for turning on or off each gate, and the desired gates are turned on or off to form the set PLA.

(へ)実施例 第1図は本発明の実施例を示すブロック図であり、(1
)はロジックアレイ部、(2)はデコーダ回路、(3)
はラッチ回路、(4)はコントロール回路、(5)はP
LAデータを記憶する記憶装置である。
(f) Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention.
) is the logic array section, (2) is the decoder circuit, (3)
is a latch circuit, (4) is a control circuit, and (5) is a P
This is a storage device that stores LA data.

ロジックアレイ部(1)は、一本の入力ライン(6〉と
1本の出力ライン(7)とが互いに直交して設けられ、
その交点には各々ゲート(8)が接続されている。該ゲ
ート(8)の各々のオン及びオフは、デコーダ回路(2
)からの出力で制御される。デコーダ回路(2)は出力
ライン(7)の一本に一個対応し、全部でn個設けられ
ている。また、各デコーダ(2)には入力ライン(6)
の本数mを現わす2進数のビット数に等しい個数のラン
チ回路(2)が設けられている。コントロール回路(4
)は例えばマイクロコンピュータで作成され、記憶装置
(5)に記憶されたPLAやその他ワンチップマイクロ
コンピュータの内部設定等を表わすPLAデータを読み
取り、演算処理してロジックアレイ部(1)のゲート(
8)のオン及びオフを表わすデータを作成し、順次ラッ
チ回路(3〉に記憶させるものである。
The logic array section (1) is provided with one input line (6) and one output line (7) orthogonal to each other,
A gate (8) is connected to each of the intersection points. Each gate (8) is turned on and off by a decoder circuit (2).
) is controlled by the output from One decoder circuit (2) corresponds to each output line (7), and there are n decoder circuits in total. Each decoder (2) also has an input line (6).
The number of launch circuits (2) equal to the number of bits of the binary number representing the number m of lines is provided. Control circuit (4
) is created by a microcomputer, for example, reads PLA data stored in the storage device (5) and other PLA data representing the internal settings of the one-chip microcomputer, performs arithmetic processing, and stores the gate (
8) is created and sequentially stored in the latch circuit (3>).

次に、第2図に入力ライン(6)が8本の場合の具体的
な回路を示す。ロジックアレイ部(1)は、8木の入力
ライン(6)と1本の出力ライン(7)との交点に各々
トランスミッションゲート(9)が接続され、一本の出
力ライン(7)に接続されたトランスミッションゲート
(9)の制御入力は、デコーダ回路(2)を構成するN
ANDゲート(10)の出力に各々接続される。このデ
コーダ回路(10)は、各々3個のランチ回路(3)の
Q及びQ出力を選択的に8個のNANDゲート(10)
に印加して成るものであり、3個のラッチ回路(3)に
記憶される2進データの内容に従って、8個のNAND
ゲート(10)のうちいずれか1個の出力だけを“0“
′とする。また、各デコーダク2)に対応する3個のラ
ッチ回路(3)の入力は、データ入力り、、D、、D、
に接続された信号線け1)に接続され、更に、クロック
人力φには各々ストローブ信号φ1、φ、・・・・・・
φ0が印加される。データ入力D1、D2、D、には、
コントロール回路(4)からクロック信号φ1、φ2・
・・・・・φ。と共に、ロジックアレイ(1)の出力ラ
イン(7)に接続されたトランスミッションゲート(9
)をオンさせる位置を示す3ビツトのデータが入力され
る。
Next, FIG. 2 shows a specific circuit when there are eight input lines (6). In the logic array section (1), transmission gates (9) are connected to the intersections of eight input lines (6) and one output line (7), respectively, and are connected to one output line (7). The control input of the transmission gate (9) is N, which constitutes the decoder circuit (2).
Each is connected to the output of an AND gate (10). This decoder circuit (10) selectively connects the Q and Q outputs of each of the three launch circuits (3) to eight NAND gates (10).
According to the contents of the binary data stored in the three latch circuits (3), eight NAND
The output of only one of the gates (10) is “0”
'. In addition, the inputs of the three latch circuits (3) corresponding to each decoder 2) are data inputs, ,D, ,D,
Furthermore, strobe signals φ1, φ, . . . are connected to the clock input signal φ, respectively.
φ0 is applied. For data inputs D1, D2, D,
Clock signals φ1, φ2・from the control circuit (4)
...φ. and a transmission gate (9) connected to the output line (7) of the logic array (1).
) is input, indicating the position where the switch is turned on.

例えば、コントロール回路(4)が記憶装置(5)から
読み出し処理した結果のデータが“101”であり、こ
のデータをクロック信号φ1のタイミングで1番目のラ
ッチ回路〈3)に記憶すると、デコーダ回路(2)の出
力は6番目のNANDゲート(10)の出力G6だけが
“0゛′となるため、出力G6が印加されたトランスミ
ッションゲート<9)がオンする。従って、入力ライン
(6)に印加される信号IN、が出力OUT、に出力き
れることになる。同様にクロック信号φ2、φ、・・・
・・・φ。によって、データがラッチ回路(3)の各々
に記憶されると、各出力ライン(7)のトランスミッシ
ョンゲート(9)のいずれかがオンとなって、入力信号
IN1〜INFのいずれかが出力OU”r、〜OUT、
に選択的に出力される。
For example, if the data read out from the storage device (5) by the control circuit (4) is "101" and this data is stored in the first latch circuit (3) at the timing of the clock signal φ1, the decoder circuit As for the output of (2), only the output G6 of the sixth NAND gate (10) becomes "0'', so the transmission gate <9) to which the output G6 is applied turns on. Therefore, the input line (6) The applied signal IN can be output to the output OUT.Similarly, the clock signals φ2, φ, . . .
...φ. When data is stored in each of the latch circuits (3), one of the transmission gates (9) of each output line (7) is turned on, and one of the input signals IN1 to INF is output to the output OU". r, ~OUT,
Selectively output.

ところで、記憶装置(5)に予め定められたPLAデー
タに基づいてプログラム開発装置を動作させ℃いる場合
、何らかの理由によってPLAデータの一部を変換した
いときには、コントロール回路(4)に変更場所を指示
すると、コントロール回路(4)はその指示されたトラ
ンスミッションゲート(9)をオンあるいはオフするだ
めのデータをイ乍成し、その対応するラッチ回路(3)
にだけデータを書き込むようにすることが可能となり、
変更による動作を確認することができる。そして、動作
を確認した後、改めて記憶装置(5)にPLAデータを
書き込みマイクロコンピュータの製造時のマスク作成に
使用する。
By the way, when the program development device is operated based on PLA data predetermined in the storage device (5), if for some reason you want to convert a part of the PLA data, you can instruct the control circuit (4) where to change the data. Then, the control circuit (4) generates data for turning on or off the specified transmission gate (9), and the corresponding latch circuit (3)
It is now possible to write data only to
You can check the behavior of the changes. After confirming the operation, the PLA data is written into the storage device (5) again and used for creating a mask when manufacturing a microcomputer.

(ト)発明の効果 上述の如く本発明によれば、マイクロコンピュータのP
LAに相当するプログラム開発装置のPLAを作成する
際の配線ミスが無くなり、容易にPLAを作成すること
ができる。更に、一部分の変更も容易となり、プログラ
ム開発及びPLA開発が短期間で行えるので、マイクロ
コンピュータの受注から生産出荷までが短縮される利点
を有している。
(g) Effects of the invention As described above, according to the present invention, the microcomputer P
Wiring errors when creating a PLA of a program development device corresponding to an LA are eliminated, and the PLA can be created easily. Furthermore, it is easy to make partial changes, and program development and PLA development can be carried out in a short period of time, which has the advantage of shortening the period from receiving an order to producing and shipping a microcomputer.

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

第1図は本発明の実施例を示すブロック図、第2図は第
1図に示されたブロックの具体的回路を示す回路図であ
る。 主な図番の説明 (1)・・・ロジックアレイ部、 (2)・・・デコー
ダ回路、(3)・・・ラッチ回路、(4)・・・コント
ロール回路、 (5)・・・記憶装置、 (6)・・・
入力ライン、(7)・・・出力ライン、(8)・・・ゲ
ート。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a circuit diagram showing a specific circuit of the block shown in FIG. Explanation of main drawing numbers (1)...Logic array section, (2)...Decoder circuit, (3)...Latch circuit, (4)...Control circuit, (5)...Memory device, (6)...
Input line, (7)...output line, (8)...gate.

Claims (1)

【特許請求の範囲】[Claims] 1、プログラムを記憶するROM(リード・オンリー・
メモリ)とデータから所定のデータを作成するPLA(
プログラマブル・ロジック・アレイ)をワンチップ上に
有するマイクロコンピュータのプログラム開発装置に於
いて、前記PLAの入力ライン及び出力ラインに相当す
る入力ライン及び出力ラインと、該入力ラインと出力ラ
インの交点に各々設けられたゲートと、該各々のゲート
を別個に制御するデコーダ回路と、該デコーダ回路に前
記各々のゲートのオン及びオフを表現するデータを印加
するラッチ回路とを有し、作成された前記PLAの配線
データを前記ラッチ回路に印加することにより前記マイ
クロコンピュータと同等のPLAが作成されることを特
徴とするプログラム開発装置。
1. ROM that stores programs (read-only)
PLA (memory) and PLA (memory) that creates predetermined data from data.
In a microcomputer program development device having a programmable logic array (programmable logic array) on one chip, an input line and an output line corresponding to the input line and output line of the PLA, and an intersecting point of the input line and the output line, respectively. The PLA created has a gate provided, a decoder circuit that separately controls each gate, and a latch circuit that applies data representing on and off of each gate to the decoder circuit. 1. A program development device, wherein a PLA equivalent to the microcomputer is created by applying wiring data of the above to the latch circuit.
JP60224272A 1985-10-08 1985-10-08 Program development equipment Expired - Lifetime JPH0736160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60224272A JPH0736160B2 (en) 1985-10-08 1985-10-08 Program development equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60224272A JPH0736160B2 (en) 1985-10-08 1985-10-08 Program development equipment

Publications (2)

Publication Number Publication Date
JPS6284365A true JPS6284365A (en) 1987-04-17
JPH0736160B2 JPH0736160B2 (en) 1995-04-19

Family

ID=16811169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60224272A Expired - Lifetime JPH0736160B2 (en) 1985-10-08 1985-10-08 Program development equipment

Country Status (1)

Country Link
JP (1) JPH0736160B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03192390A (en) * 1989-12-22 1991-08-22 Sanyo Electric Co Ltd Microcomputer for liquid crystal display

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5687746U (en) * 1979-12-11 1981-07-14
JPS57129537A (en) * 1981-02-05 1982-08-11 Toshiba Corp Programmable array circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5687746U (en) * 1979-12-11 1981-07-14
JPS57129537A (en) * 1981-02-05 1982-08-11 Toshiba Corp Programmable array circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03192390A (en) * 1989-12-22 1991-08-22 Sanyo Electric Co Ltd Microcomputer for liquid crystal display

Also Published As

Publication number Publication date
JPH0736160B2 (en) 1995-04-19

Similar Documents

Publication Publication Date Title
JPH0926883A (en) Method for turning-on of usage state of integrated circuit
US4525776A (en) Arithmetic logic unit arranged for manipulating bits
JPS6284365A (en) Program developing device
US4694419A (en) Programmable controller with direct to plant addressing
JPS58146089A (en) Decoder
JPH0221015B2 (en)
EP0714060B1 (en) One chip microcomputer with built-in non-volatile memory
JP2000112755A (en) Microcomputer
JPH027476B2 (en)
JPH0721794B2 (en) Evaluation device
JP2731618B2 (en) emulator
JPH04199228A (en) Semiconductor integrated circuit device
JPH0239812B2 (en)
JP2669958B2 (en) Microcomputer
JPH01263819A (en) Integrated circuit
JPS6217782B2 (en)
JPS6246493A (en) Semiconductor integrated circuit device
JPS5952348A (en) Microprogram controller
JPH0344897A (en) Semiconductor non-volatile memory device
JPH0459636B2 (en)
JPH08147259A (en) One-chip microcomputer
JPS63278169A (en) One chip microcomputer
JPS5975305A (en) Programable controller
JPH04373088A (en) Microcomputer for evaluation
JPS6180428A (en) Data processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term