JPS6339071A - Bus control system and constitution of processing circuit - Google Patents

Bus control system and constitution of processing circuit

Info

Publication number
JPS6339071A
JPS6339071A JP18289386A JP18289386A JPS6339071A JP S6339071 A JPS6339071 A JP S6339071A JP 18289386 A JP18289386 A JP 18289386A JP 18289386 A JP18289386 A JP 18289386A JP S6339071 A JPS6339071 A JP S6339071A
Authority
JP
Japan
Prior art keywords
gate
internal
bus
processing circuit
zone
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
JP18289386A
Other languages
Japanese (ja)
Inventor
Hikari Yokoekawa
横江川 光
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP18289386A priority Critical patent/JPS6339071A/en
Publication of JPS6339071A publication Critical patent/JPS6339071A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7839Architectures of general purpose stored program computers comprising a single central processing unit with memory
    • G06F15/7842Architectures of general purpose stored program computers comprising a single central processing unit with memory on one IC chip (single chip microcontrollers)

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To prevent the contents of an internal memory from flowing to the outside by providing a gate to a processing circuit and cutting off the processing circuit from an external bus in an access mode of the internal memory. CONSTITUTION:An internal zone 100 is connected with an external zone 101 via a bus and a gate alpha is provided between an internal bus 2 and an external bus 17. The gate alpha is controlled by a CPU 1. Then both zones 100 and 101 are connected and disconnected with each other with ON/OFF of the gate alpha. When access is given to internal memories 5 and 6 in the zone 100, the gate alphais cut off to prevent the outflow of the memory contents to the outside.

Description

【発明の詳細な説明】 本発明はコンピュータ等回路のバス制御方式及び回路構
成に関するものである。従来の、内蔵メモリをもつワン
チップマイコン等では、当該メモリに対するチップ外か
らのアクセスや、メモリ内容がバスを経由してチップ外
に流出するのを防止できない。本発明では、内蔵メモリ
のチップ外、又はパッケージ外からのアクセスを不可能
とすることで、メモリ内容の外部流出を防止すると共に
、チップ内やパッケージ内の閉じた回路にて、メモリに
格納のプログラムの実行を可能とし、セキュリティ向上
を実現する。即ち本発明は、処理回路にゲートの、ゲー
トβを設け、ゲートβに接続したRAN、PROM、E
PROM、E2PROM等メモリがアクセスされる時に
は必ずゲートαに接続した内部バスが外部バスとしゃ断
状態にあるようにしたバス制御方式及び処理回路の構成
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a bus control system and circuit configuration for circuits such as computers. Conventional one-chip microcomputers with built-in memory cannot prevent the memory from being accessed from outside the chip or the memory contents from leaking out of the chip via the bus. In the present invention, by making it impossible to access the built-in memory from outside the chip or outside the package, it is possible to prevent the memory contents from leaking to the outside. Enables program execution and improves security. That is, the present invention provides a processing circuit with a gate β, and connects the RAN, PROM, E
The present invention relates to a bus control system and a processing circuit configuration in which an internal bus connected to a gate α is always cut off from an external bus when a memory such as a PROM or an E2PROM is accessed.

第1図は本発明の処理回路構成の例を示す。処理回路は
、内部ゾーン(100)と外部ゾーン(101)に分割
して構成し、内部ゾーン(100)には、CPU(1)
、内部バス(2)、ゲートα(3)、ゲートβ(4)、
内部ROM類(5)、内部RAM(6)、アドレスデコ
ーダ(8)、ANDゲート(11)、フリップフロップ
(12)、制御線(13)、(14)、(15)等が内
蔵される。
FIG. 1 shows an example of a processing circuit configuration of the present invention. The processing circuit is divided into an internal zone (100) and an external zone (101), and the internal zone (100) includes a CPU (1).
, internal bus (2), gate α (3), gate β (4),
Internal ROM (5), internal RAM (6), address decoder (8), AND gate (11), flip-flop (12), control lines (13), (14), (15), etc. are built-in.

(100)内は、内部バス配線、IC端子等が外界から
アクセスされぬよう、露出せぬよう構成する。
(100) is constructed so that internal bus wiring, IC terminals, etc. are not exposed so as not to be accessed from the outside world.

これには、回路全体のワンチップIC化や、ハードケー
スに封入等が適する。
For this purpose, converting the entire circuit into a single-chip IC or enclosing it in a hard case is suitable.

内部バス(2)に、CPU(1)、ゲートβ(4)経由
にて内部ROM類(5)、ゲートβ(4)経由にて内部
RAM(6)、ゲートα(3)を接続する。さらにバッ
ファメモリや演算プロセサ(7)を接続する。
The internal bus (2) is connected to the CPU (1), an internal ROM (5) via gate β (4), an internal RAM (6) via gate β (4), and gate α (3). Furthermore, a buffer memory and an arithmetic processor (7) are connected.

内部バス(2)と外部バス(17)は、ゲートα(3)
の開閉にて断続と接続がなされる。内部RAM(6)や
内部ROM類(5)と、内部バス(2)との接続断続は
、ゲートβ(4)の開閉にて行う。ゲートα(3)とゲ
ートβ(4)の開閉は制御線(13)と(14)よりの
各ゲートへの制御入力により行い、βを閉、つまり接続
とするときに、αが開、つまり断続の状態にあるよう構
成する。図示例では、1基のフリップフロップ(12)
を用い、CPU(1)がコマンド実行によりゲート開閉
のための信号IORやIOWを発したとき、アドレスデ
コーダ(8)にて確認してセレクト信号(9)を送り、
ANDゲート(11)にて(10)と共同してフリップ
フロップ(12)をトリガし、出力QとQの極性を反転
させ、当該両出力を同時に、制御線(13)と(14)
を経由してαとβに入力する。これ以外にも、アドレス
デコーダやフリップフロップを2組用いて、ゲートαβ
開閉のタイミングを独立に行わせてもよい。いずれの場
合も、ゲートβが閉じている時には、ゲートαは必ず開
いた状態にあるように構成する。
Internal bus (2) and external bus (17) are connected to gate α (3)
Intermittent and connected connections are made by opening and closing. Connections between the internal RAM (6) and internal ROMs (5) and the internal bus (2) are made by opening and closing the gate β (4). Gate α (3) and gate β (4) are opened and closed by control inputs to each gate from control lines (13) and (14). When β is closed, that is, connected, α is open, that is, connected. Configure to be in an intermittent state. In the illustrated example, one flip-flop (12)
When the CPU (1) issues a signal IOR or IOW for gate opening/closing by executing a command, the address decoder (8) confirms this and sends a select signal (9).
The AND gate (11) in conjunction with (10) triggers the flip-flop (12), inverts the polarity of the outputs Q and Q, and simultaneously connects both outputs to the control lines (13) and (14).
input into α and β via . In addition to this, two sets of address decoders and flip-flops can be used to
The timing of opening and closing may be performed independently. In either case, the gate α is configured so that it is always open when the gate β is closed.

外部ゾーン(101)では、外部バス(17)にゲート
α(3)、外部ROM(18)、外部RAM(19)、
I/Oインタフェース(20)、デバイスインタフェー
ス(21)等を接続する。外部ゾーンでの配線、端子等
には、セキュリティ上の配慮を必要としない。一方、内
部ゾーン(100)についてはセキュリティ確保上、第
2図〔a〕に示すようにワンチップ内に格納するか、第
2図〔b〕の如く、ワンボード上に組んだのちハードケ
ース内に封入する。さらに、第2図〔c〕の如く、マル
チボード構成としたり、あるいは、外部よりドリルせん
孔による端子や配線の露出、封入固体の部分さい断除去
等による回路解説やROM摘出の防止のため、内蔵IC
の向きや位置、配線の角度と重量関係に工夫し、不正解
剖時に崩壊しやすくしうる。これらワンチップ 又はワンパッケージ化された内部ゾーン(100)は、
第2図〔d〕のように別ボードの外部ゾーン(101)
と組み合わせて使用する。
In the external zone (101), the external bus (17) is connected to the gate α (3), external ROM (18), external RAM (19),
Connect the I/O interface (20), device interface (21), etc. No security consideration is required for wiring, terminals, etc. in the external zone. On the other hand, to ensure security, the internal zone (100) is either stored in a single chip as shown in Figure 2 [a], or assembled on a single board and then placed in a hard case as shown in Figure 2 [b]. Enclose in. Furthermore, as shown in Fig. 2 (c), a multi-board configuration may be used, or a built-in device may be used to explain the circuit or prevent the ROM from being removed by exposing the terminals and wiring by drilling holes from the outside, or by partially cutting off the enclosed solid. IC
By adjusting the direction and position of the wire, the angle of the wires, and the weight relationship, it is possible to make the wire more likely to collapse during an unauthorized autopsy. These one-chip or one-packaged inner zones (100) are
External zone (101) of another board as shown in Figure 2 [d]
Use in combination with

機密のプログラム実行時には、先ずI/Oコマンド等を
与えてCPU(1)にIOR又はIOW信号を出力させ
、アドレスデコーダ(8)がアクノレッヂしてフリップ
フロップをトリガし、制御線(13)をLとしてゲート
α(3)を開き、内部バス(2)を外部バス(17)か
らしゃ断する。一方、制御線(14)をHとしてゲート
β(4)を閉じ、内部メモリ(5)(6)と内部バス(
2)を接続し、かくて閉じた内部ゾーン(100)が実
現される。このあと、内部メモリの内容がバッファメモ
リ(7)に存する状態のままでαを接続して内部バスと
外部バスを導通させることのないように、実行手順を構
成する。
When executing a confidential program, first give an I/O command etc. to make the CPU (1) output an IOR or IOW signal, and the address decoder (8) acknowledges and triggers a flip-flop, causing the control line (13) to go low. The gate α (3) is opened to disconnect the internal bus (2) from the external bus (17). On the other hand, the control line (14) is set to H, gate β (4) is closed, and the internal memory (5) (6) and internal bus (
2), thus realizing a closed internal zone (100). After this, the execution procedure is configured so that α is not connected to connect the internal bus and the external bus while the contents of the internal memory remain in the buffer memory (7).

これは例えば、α接続指示のI/Oコマンドの実行時に
、バッファメモリをリセットする等にて実現できる。
This can be achieved, for example, by resetting the buffer memory when executing an I/O command instructing α connection.

ゲートの、βには3ステートゲート等を用いる。A 3-state gate or the like is used for the gate β.

尚、α接続指示コマンド実行時にリセットされないバッ
ファメモリ(24)を別に設け、処理結果等を入れるこ
とで、内部ゾーンと外部ゾーン間の情報伝達を可能とで
きる。又、チップオンボード方式素子(23)の採用も
可能である。
Note that by providing a separate buffer memory (24) that is not reset when the α connection instruction command is executed and storing processing results, etc., it is possible to transmit information between the internal zone and the external zone. It is also possible to employ a chip-on-board type element (23).

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

第1図は、本発明の回路構成の例を、第2図は本発明の
内部ゾーンの構成の例を、内部ゾーン及び外部ゾーンの
組み合わせ例を示す。
FIG. 1 shows an example of the circuit configuration of the present invention, and FIG. 2 shows an example of the configuration of the inner zone of the present invention, and an example of a combination of the inner zone and the outer zone.

Claims (1)

【特許請求の範囲】[Claims] 本文中に示したゲートの、ゲートβを設け、βに接続し
たメモリがアクセスされる時には必ずαに接続した内部
バスが外部バスとしゃ断状態にあるようにしたバス制御
方式及び処理回路の構成。
A bus control system and a processing circuit configuration in which a gate β is provided among the gates shown in the text, and the internal bus connected to α is always cut off from the external bus when the memory connected to β is accessed.
JP18289386A 1986-08-04 1986-08-04 Bus control system and constitution of processing circuit Pending JPS6339071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18289386A JPS6339071A (en) 1986-08-04 1986-08-04 Bus control system and constitution of processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18289386A JPS6339071A (en) 1986-08-04 1986-08-04 Bus control system and constitution of processing circuit

Publications (1)

Publication Number Publication Date
JPS6339071A true JPS6339071A (en) 1988-02-19

Family

ID=16126235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18289386A Pending JPS6339071A (en) 1986-08-04 1986-08-04 Bus control system and constitution of processing circuit

Country Status (1)

Country Link
JP (1) JPS6339071A (en)

Similar Documents

Publication Publication Date Title
JPS6411981B2 (en)
JPS6339071A (en) Bus control system and constitution of processing circuit
JPH0934748A (en) Microcomputer for emulation
JPH06324906A (en) Single chip microcomputer
JPH08137823A (en) One-chip microcomputer for exclusive use of emulator
JPH0454522Y2 (en)
JP3074978B2 (en) Emulation device
JPH06103106A (en) Program debug device
JPS6145353A (en) One chip microcomputer
US20100064143A1 (en) System lsi
JPS5926415Y2 (en) Digital interface circuit
JPH0442329A (en) Data processor
JPS63311447A (en) Microprocessor for debug
JPH03271834A (en) Semiconductor integrated circuit
JPS6137084Y2 (en)
JPH03232050A (en) Multi-cpu circuit
JPS5897200A (en) Information processor
JPS6043766A (en) Microcomputer system
JPH05135188A (en) Microcomputer
JPH02153448A (en) Semiconductor integrated circuit device
JPH06150022A (en) Memory chip selection control circuit
JPS6373452A (en) Integrated circuit
JPS61127227A (en) Logical module
JPS5972552A (en) Data transfer system
JPH07121429A (en) Dual port memory circuit