JPH02125656A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH02125656A
JPH02125656A JP63279796A JP27979688A JPH02125656A JP H02125656 A JPH02125656 A JP H02125656A JP 63279796 A JP63279796 A JP 63279796A JP 27979688 A JP27979688 A JP 27979688A JP H02125656 A JPH02125656 A JP H02125656A
Authority
JP
Japan
Prior art keywords
rom
output
data stored
data
integrated circuit
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
JP63279796A
Other languages
Japanese (ja)
Inventor
Harumi Isowaki
磯脇 晴美
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP63279796A priority Critical patent/JPH02125656A/en
Publication of JPH02125656A publication Critical patent/JPH02125656A/en
Pending legal-status Critical Current

Links

Landscapes

  • Semiconductor Memories (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Read Only Memory (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

PURPOSE:To prevent the data from leaking out by a method wherein the transfer gates transmitting the data stored in a ROM to outer terminals are controlled by signals and a pass word. CONSTITUTION:8 bit data stored in a ROM 11 are transmitted to an inner data bus 12 and transfer gates 13. When a correct pass word is inputted to an input terminal 17 in the case of a testing time, the logic circuit 16 outputs '1' coincident with '1' of the input T of an AND gate 15 so that '1' may be outputted to turn the transfer gates 13 ON allowing the data stored in the ROM 11 to be outputted to an outer terminals 14. Through these procedures, the said data can be prevented from leaking out.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はROMを内蔵する半導体集積回路(以下単に集
積回路で記す)に関し特にROMの内容を外部端子に出
力する場合の制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a semiconductor integrated circuit (hereinafter simply referred to as an integrated circuit) having a built-in ROM, and particularly to a control method when outputting the contents of the ROM to an external terminal.

〔従来の技術〕[Conventional technology]

従来ROMを内蔵する集積回路はテスト時にROMに記
憶されたデータが正しいか否かをチエツクするためにR
OMに記憶されたデータを直接外部に出力するような回
路構成となっていた。
Conventionally, integrated circuits with a built-in ROM use R to check whether the data stored in the ROM is correct during testing.
The circuit configuration was such that the data stored in the OM was directly output to the outside.

第2図は従来のROMを内蔵する集積回路におし・て8
ビツト出力のROM周辺部の論理回路図である。
Figure 2 shows a conventional integrated circuit with a built-in ROM.
FIG. 2 is a logic circuit diagram of a bit output ROM peripheral section.

第2図において通常使用時には信号Tが“0”なのでト
ランスファ・ゲート23がOFF状態となりROM21
に記憶されたデータは内部データ・バス22にのみ出力
され外部端子24には出力されない。
In FIG. 2, during normal use, the signal T is "0", so the transfer gate 23 is in the OFF state, and the ROM 21
The data stored in is output only to the internal data bus 22 and not to the external terminal 24.

テスト時には信号Tが“Inなのでトランスファゲート
23がON状態となりROM21に記憶されたデータは
内部データ・バス22と外部端子24に出力され、外部
に出力されたデータはROM21に記憶されたデータそ
のものなので単純にそのデータが正しいか否かのチエツ
クを行なっていた。
During testing, since the signal T is "In", the transfer gate 23 is in the ON state, and the data stored in the ROM 21 is output to the internal data bus 22 and the external terminal 24, and the data output to the outside is the same data stored in the ROM 21. It simply checked whether the data was correct or not.

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

上述した従来のROMを内蔵する集積回路はROMに記
憶されたデータが正しいか否かのチエツクを行なうため
にテスト時にROMに記憶されたデータそのものを外部
に出力する回路構成となっているのでROMに記憶され
たデータが容易に判読されデータが外部に漏れるという
欠点がある。
The conventional integrated circuit with a built-in ROM described above has a circuit configuration that outputs the data itself stored in the ROM to the outside during a test to check whether the data stored in the ROM is correct. The disadvantage is that the data stored in the device is easily readable and the data is leaked to the outside.

そこで本発明の目的はこの様な欠点を解決しROMに記
憶されたデータを外部から判読する事を不可能とする集
積回路を提供する事にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an integrated circuit which overcomes these drawbacks and makes it impossible to read data stored in a ROM from the outside.

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

本発明の集積回路はN (Nは2以上の整数)ビット出
力のROMと前記ROMの出力をN個の外部端子にそれ
ぞれ出力するトランスファ・ゲートからなる集積回路に
おいてテスト時にM(Mは1以上の整数)個の入力端子
にある特定の値(以下パスワードという)が入力された
場合にのみ前記トランスファ・ゲートがONする手段を
有している。
The integrated circuit of the present invention is an integrated circuit consisting of an N (N is an integer of 2 or more) bit output ROM and a transfer gate that outputs the output of the ROM to N external terminals. The transfer gate has means for turning on the transfer gate only when a specific value (hereinafter referred to as a password) is input to input terminals (integer number).

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

第1図は本発明の一実施例であり、8ビツト出方のRO
Mを内蔵する論理回路図である。
FIG. 1 shows an embodiment of the present invention, in which 8-bit output RO
It is a logic circuit diagram incorporating M.

ROMIIに記憶された8ビツト・データが内部データ
・バス12とトランスファ・ゲート13に伝達される。
The 8-bit data stored in ROM II is transmitted to internal data bus 12 and transfer gate 13.

トランスファ・ゲート13)!ANDゲート15によっ
て制御され、ANDゲートI5の出力が′l″の時ON
状態となり、外部端子14にデータを伝達する。AND
ゲー)15は信号Tと論理回路16が共に111 ++
の時に“1″を出力する。論理回路16は入力端子17
に正しいパスワードが入力された場合にのみ“I 11
を出力する。
Transfer Gate 13)! Controlled by AND gate 15, ON when AND gate I5 output is 'l'
state and transmits data to the external terminal 14. AND
Game) 15 has signal T and logic circuit 16 both 111 ++
Outputs “1” when . The logic circuit 16 has an input terminal 17
“I 11” is displayed only if the correct password is entered in
Output.

以下に通常使用時の回路動作について述べる。The circuit operation during normal use will be described below.

通常使用時には信号Tが“0”なので論理回路16の出
力に関係なくANDゲート15の出力はビとなりトラン
スファゲート13はOFF状態となりROMIIに記憶
されたデータは従来通り内部データ・バス12にのみ出
力され外部端子14には出力されない。
During normal use, since the signal T is "0", the output of the AND gate 15 becomes B, regardless of the output of the logic circuit 16, and the transfer gate 13 is turned off, so that the data stored in ROM II is output only to the internal data bus 12 as before. and is not output to the external terminal 14.

次にテスト時の回路動作について述べる。入力端子17
に正しいパスワードが入力された場合は論理回路16の
出力が“1″となりANDゲート15の入力が共に“i
 nなので“1″が出力され、トランスファ・ゲート1
3はON状態となりROM11に記憶されたデータは内
部データ・バス12と外部端子14に出力される。入力
端子17に間違ったパスワードが入力される又はパスワ
ードが入力されなかった場合は、論理回路16の出力が
“0パとなり、ANDゲート15の出力は“0”となり
、トランスファ・ゲート13はOFF状態となりROM
IIに記憶されたデータは内部データ・バス12にのみ
出力され外部端子14には出力されない。従ってテスト
時でも入力端子17に正しいパスワードが入力されない
限りROMIIに記憶されたデータは外部に出力されず
、外部からの判読を不可能にしデータが外部に漏れる事
を防ぐ事が出来る。
Next, we will discuss the circuit operation during testing. Input terminal 17
If the correct password is input, the output of the logic circuit 16 becomes "1" and the inputs of the AND gate 15 become "i"
n, so "1" is output, and transfer gate 1
3 is in the ON state, and the data stored in the ROM 11 is output to the internal data bus 12 and the external terminal 14. If a wrong password or no password is input to the input terminal 17, the output of the logic circuit 16 becomes "0", the output of the AND gate 15 becomes "0", and the transfer gate 13 is turned off. Next door ROM
The data stored in II is output only to internal data bus 12 and not to external terminal 14. Therefore, even during testing, the data stored in the ROMII will not be outputted to the outside unless a correct password is input to the input terminal 17, making it impossible to read the data from the outside and preventing the data from leaking to the outside.

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

以上説明したように本発明はROMに記憶されたデータ
を外部端子へ伝達するトランスファ・ゲートを信号Tと
パスワードとで制御する事によりテスト時でも正しいパ
スワードが入力されない限りROMに記憶されたデータ
が外部へ出力されないため、このデータを外部から判読
する事を不可能としデータが外部へ漏れる事を防止しR
OMに記憶されたデータを保護する効果がある。
As explained above, the present invention controls the transfer gate that transmits the data stored in the ROM to the external terminal using the signal T and the password. Since it is not output to the outside, it is impossible to read this data from the outside and prevents the data from leaking to the outside.
This has the effect of protecting data stored in OM.

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

第1図は本発明の一実施例である8ビツト出力のROM
を有する集積回路の論理回路図である。 第2図は従来の8ビツト出力のROM周辺部の1例の論
理回路図である。 11.21・・・・・・ROM、12.22・・自・・
内部データ・バス、13.23・・・・・・トランスフ
ァ・ゲート、14.24・・・・・・外部端子、15・
・・・・・ANDゲート、16・・・・・・論理回路、
17・・印・パスワード用の入力端子。 代理人 弁理士  内 原   音
Figure 1 shows an 8-bit output ROM that is an embodiment of the present invention.
FIG. FIG. 2 is a logic circuit diagram of an example of a peripheral portion of a conventional 8-bit output ROM. 11.21...ROM, 12.22...Self...
Internal data bus, 13.23...Transfer gate, 14.24...External terminal, 15.
...AND gate, 16 ... logic circuit,
17... Input terminal for password. Agent Patent Attorney Oto Uchihara

Claims (1)

【特許請求の範囲】[Claims] N(Nは2以上の整数)ビート出力のROMと前記RO
Mの出力をN個の外部端子にそれぞれ出力するトランス
ファ・ゲートからなる半導体集積回路において、テスト
時にM(Mは1以上の整数)個の入力端子に、ある特定
の値(以下パスワードという)が入力された場合にのみ
前記トランスファゲートがONしてROMの内容を前記
N個の外部端子から出力するようにした事を特徴とする
半導体集積回路。
N (N is an integer of 2 or more) beat output ROM and the RO
In a semiconductor integrated circuit consisting of a transfer gate that outputs M outputs to N external terminals, a certain value (hereinafter referred to as a password) is input to M (M is an integer greater than or equal to 1) input terminals during testing. A semiconductor integrated circuit characterized in that the transfer gate is turned on only when an input is received, and the contents of the ROM are output from the N external terminals.
JP63279796A 1988-11-04 1988-11-04 Semiconductor integrated circuit Pending JPH02125656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63279796A JPH02125656A (en) 1988-11-04 1988-11-04 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63279796A JPH02125656A (en) 1988-11-04 1988-11-04 Semiconductor integrated circuit

Publications (1)

Publication Number Publication Date
JPH02125656A true JPH02125656A (en) 1990-05-14

Family

ID=17616033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63279796A Pending JPH02125656A (en) 1988-11-04 1988-11-04 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JPH02125656A (en)

Similar Documents

Publication Publication Date Title
AU603926B2 (en) Microcomputer with internal ram security during external program mode
US4580246A (en) Write protection circuit and method for a control register
EP0377455B1 (en) Test mode switching system for LSI
US4891809A (en) Cache memory having self-error checking and sequential verification circuits
US4628448A (en) Operation mode setting apparatus on a single chip microprocessor
JPH0342732A (en) Semiconductor integrated circuit
US5767694A (en) Information processing apparatus with a mode setting circuit
JPH02125656A (en) Semiconductor integrated circuit
US4802089A (en) Status flag handling in a digital data processing system
US5944845A (en) Circuit and method to prevent inadvertent test mode entry
US5153921A (en) Microcomputer
JP3296184B2 (en) Semiconductor integrated circuit
JPS62146021A (en) Cmos encoding circuit
US6288956B1 (en) Semiconductor device having test function
JPS6313200A (en) Integrated circuit
JPH04168700A (en) Integrated circuit device
JPS6347831A (en) Microcomputer
JPH0567733A (en) Semiconductor device
JP2669287B2 (en) Semiconductor self-test equipment
JPS62168232A (en) Microprogram controller
JPS62242423A (en) Test circuit for decoder
JPH01185736A (en) Microcomputer developing device
JPH01237995A (en) Semiconductor memory
JPH03257557A (en) Microcomputer
JPH04296936A (en) Test mode setting circuit for microcomputer