DE19709230A1 - Microprocessor with second microprogram for chip card controller chip - Google Patents

Microprocessor with second microprogram for chip card controller chip

Info

Publication number
DE19709230A1
DE19709230A1 DE1997109230 DE19709230A DE19709230A1 DE 19709230 A1 DE19709230 A1 DE 19709230A1 DE 1997109230 DE1997109230 DE 1997109230 DE 19709230 A DE19709230 A DE 19709230A DE 19709230 A1 DE19709230 A1 DE 19709230A1
Authority
DE
Germany
Prior art keywords
microprocessor
instruction set
asi
chip
microprogram
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.)
Withdrawn
Application number
DE1997109230
Other languages
German (de)
Inventor
Holger Sedlak
Franz-Josef Bruecklmayr
Hans Adlkofer
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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Priority to DE1997109230 priority Critical patent/DE19709230A1/en
Publication of DE19709230A1 publication Critical patent/DE19709230A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline, look ahead
    • G06F9/3818Decoding for concurrent execution
    • G06F9/3822Parallel decoding, e.g. parallel decode units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • G06F9/30196Instruction operation extension or modification using decoder, e.g. decoder per instruction set, adaptable or programmable decoders

Abstract

The microprocessor has an processing unit (AE) and a process controller (AS) for processing instructions from an instruction set. At least one other process controller (AS],ASi) processes instructions from another instruction set. The further instruction set can be a standard instruction set. The process controller and/or the further process controller(s) are in the form of microprograms. There is a flag register (FR) into which a code word can be entered for the selection and activation of one of the process controllers.

Description

Die Erfindung bezieht sich auf einen Mikroprozessor mit einer Recheneinheit und einer Ablaufsteuerung zum Verarbeiten von Befehlen aus einem Befehlssatz.The invention relates to a microprocessor with a Computing unit and a sequence control for processing Commands from a command set.

Ein solcher Mikroprozessor ist aus dem Buch "Schaltungstech­ nik" von Tietze/Schenk, 9. Auflage, Seiten 624, 625, bekannt. Demnach besteht er im wesentlichen aus einer Ausführungsein­ heit, einer Ablaufsteuerung und einem Businterface, die über einen internen Bus miteinander verbunden sind. Das Businter­ face ist die Schnittstelle zwischen dem Mikroprozessor und dem Daten-, Kontroll- und Adreßbus des den Mikroprozessor be­ inhaltenden Mikrocomputers.Such a microprocessor is from the book "Schaltungech nik "by Tietze / Schenk, 9th edition, pages 624, 625. Accordingly, it essentially consists of an execution unit, a sequential control system and a bus interface an internal bus are connected. The businter face is the interface between the microprocessor and the data, control and address bus of the microprocessor containing microcomputers.

Die Ablaufsteuerung beinhaltet einen Programmzähler und einen Befehlsdecoder, und stellt ein Schaltwerk dar, dessen Wahr­ heitstafel bei neueren Mikroprozessoren in einem ROM abge­ speichert ist. Den Inhalt dieses ROMs bezeichnet man auch als Mikroprogramm oder Mikrocode.The sequence control includes a program counter and one Command decoder, and represents a rear derailleur, its true on newer microprocessors in a ROM stores. The content of this ROM is also called Micro program or micro code.

Jedem Mikroprozessor ist ein Befehlssatz zugeordnet, der durch den Mikrocode in einzelne Verarbeitungsschritte umge­ setzt wird. Es besteht heute das Problem, daß jeder Prozes­ sorhersteller einen eigenen Befehlssatz verwendet, so daß die Prozessoren unterschiedlicher Hersteller nicht Programm­ kompatibel sind.An instruction set is assigned to each microprocessor, the converted into individual processing steps by the microcode is set. The problem today is that everyone processes sor manufacturer uses its own instruction set, so that the Processors from different manufacturers not a program are compatible.

Die meisten Anwender haben jedoch ein Interesse, ein einmal geschriebenes Programm auf Mikroprozessoren unterschiedlicher Hersteller laufen lassen zu können. Dieses Interesse besteht besonders bei Mehrfach-Anwender-Chipkarten-Prozessorchips, wo Programme unterschiedlicher Anwender wie Verkehrsbetrieben, Banken, Versicherungen, etc. ablaufen sollen. Most users, however, have an interest once written program on microprocessors different To let manufacturers run. This interest exists especially with multi-user chip card processor chips, where Programs of different users like transport companies, Banks, insurance companies, etc. should expire.  

Es besteht zwar die Möglichkeit, Programme für den einen Pro­ zessortyp durch einen Interpreter zu transformieren, so daß sie auch auf anderen Prozessortypen lauffähig sind, dies er­ fordert jedoch einen hohen Aufwand und würde, wenn der Inter­ preter auf dem Chip implementiert wäre, eine etwa 50-fache Programmlaufzeit bedingen. Dies wäre für die meisten Chipkar­ tenanwendungen inakzeptabel.There is the possibility of programs for the one pro transform the processor type by an interpreter so that they are also executable on other processor types, he said however requires a lot of effort and would, if the Inter preter would be implemented on the chip, about 50 times Condition program duration. This would be for most Chipkar applications unacceptable.

Die Aufgabe vorliegender Erfindung ist es also, einen Mikro­ prozessor anzugeben, auf dem unterschiedliche Befehlssätze in akzeptabler Zeit ablauffähig sind.The object of the present invention is therefore a micro processor to indicate on which different instruction sets in are executable at an acceptable time.

Die Aufgabe wird dadurch gelöst, daß ein gattungsgemäßer Mi­ kroprozessor zumindest eine weitere Ablaufsteuerung zum Ver­ arbeiten von Befehlen eines weiteren Befehlssatzes aufweist.The object is achieved in that a generic Mi kroprocessor at least one further sequence control for Ver work from commands of another set of commands.

Dies erfordert zwar zusätzliche Chipfläche, hat jedoch eine erhebliche Zeitersparnis verglichen mit der Verwendung eines Interpreters zur Folge. Es könnte somit für jeden üblichen und bekannten Befehlssatz eine weitere Ablaufsteuerung vorge­ sehen werden, so daß ein zu diesen Befehlssätzen kompatibler Mikroprozessor erhalten wird.Although this requires additional chip area, it has one considerable time savings compared to using a Interpreters result. It could therefore be common for everyone and known instruction set featured another sequencer be seen so that a compatible with these instruction sets Microprocessor is obtained.

Besonders vorteilhaft ist es, wenn eine Einigung auf einen Standardbefehlssatz erfolgt, so daß nur eine weitere Ablauf­ steuerung vorzusehen ist. Anwender könnten in diesem Fall ih­ re Programme mit diesem Standardbefehlssatz erstellen, wobei diese Programme auf allen Mikroprozessoren ablauffähig wären, die eine "Standard"-Ablaufsteuerung aufweisen. Eine Ablauf­ steuerung für die Hersteller-spezifischen Befehlssätze ist weiterhin sinnvoll, da der Mikroprozessor kompatibel zu frü­ her erstellten Programmen sein soll.It is particularly advantageous if an agreement on one Standard instruction set is done so that only one more sequence control must be provided. In this case, users could Create programs with this standard instruction set, where these programs would run on all microprocessors, which have a "standard" sequence control. An expiration control for the manufacturer-specific command sets still useful, because the microprocessor compatible too early programs created here.

Es ist vorteilhaft, wenn die Ablaufsteuerung(en) als Mikro­ programm ausgebildet ist/sind.It is advantageous if the sequence control (s) as a micro program is / are.

Die Erfindung soll nachfolgend anhand eines Ausführungsbei­ spiels mit Hilfe einer Figur näher erläutert werden. Dabei zeigtThe invention is described below with reference to an embodiment be explained in more detail with the help of a figure. Here shows

Fig. 1 ein Blockschaltbild eines erfindungsgemäßen Mikro­ prozessors. Fig. 1 is a block diagram of a microprocessor according to the invention.

Ein erfindungsgemäßer Mikroprozessor weist in bekannter Weise eine Ausführungseinheit AE, eine Ablaufsteuerung AS und ein Businterface BI auf. Diese sind über einen internen Bus mit­ einander verbunden. Das Businterface BI stellt die Verbindung des Mikroprozessors mit dem Adress-, Kontroll- und Datenbus des den Mikroprozessor enthaltenden Mikrocomputers her. In erfindungsgemäßer Weise ist mit dem internen Bus zumindest eine weitere Ablaufsteuerung AS1, ASi verbunden.A microprocessor according to the invention points in a known manner an execution unit AE, a sequence control AS and a BI bus interface. These are connected via an internal bus connected to each other. The BI bus interface provides the connection of the microprocessor with the address, control and data bus of the microcomputer containing the microprocessor. In inventive way is at least with the internal bus another sequential control system AS1, ASi connected.

In der Figur ist eine Ablaufsteuerung ASi strichliert darge­ stellt, um anzudeuten, daß mehrere weitere Ablaufsteuerungen vorgesehen sein können. Eine Auswahl der jeweils gültigen Ab­ laufsteuerung AS bzw. AS1 bzw. ASi erfolgt durch ein Flagre­ gister FR, das mit den Ablaufsteuerungen AS, AS1, ASi verbun­ den ist.In the figure, a sequence control ASi is shown in dashed lines to indicate that several other sequencers can be provided. A selection of the applicable Ab run control AS or AS1 or ASi is carried out by a flag gister FR, which is connected to the sequential controls AS, AS1, ASi that is.

In das Flagregister FR kann ein Anwender eine Codezahl einge­ ben, die festlegt, welche der Ablaufsteuerungen AS, AS1, ASi aktiviert sein soll. Hierzu kann das Flagregister FR flüchtig ausgebildet sein, so daß die Codezahl bei jeder neuen Inbe­ triebnahme des Mikrocomputers neu eingegeben werden muß, es kann aber auch ein nichtflüchtiger Speicher, wie beispiels­ weise ein EEPROM, vorgesehen sein, so daß die Information nach dem Abschalten des Mikrocomputers erhalten bleibt. Durch die Verwendung eines EEPROMS ist dann eine spätere Änderung wieder möglich. Abhängig von der Anzahl der implementierten Ablaufsteuerungen weist das Flagregister FR eine unterschied­ liche Anzahl von Speicherzellen auf. Zur Decodierung der Codezahl kann ein (1 aus N)-Decodierer DC vorgesehen sein. A user can enter a code number in the flag register FR ben, which determines which of the sequential controls AS, AS1, ASi should be activated. For this purpose, the flag register FR can be volatile be trained so that the code number with each new Inbe Driving the microcomputer must be re-entered it can also be a non-volatile memory, such as as an EEPROM, be provided so that the information remains after switching off the microcomputer. By the use of an EEPROM is a later change possible again. Depending on the number of implemented Sequence controls have a difference in the flag register FR number of memory cells. For decoding the Code number one (1 out of N) decoder DC can be provided.  

Bei einem erfindungsgemäßen Mikroprozessor kann ein Anwender in vorteilhafter Weise unterschiedliche Befehlssätze, insbe­ sondere einen Standardbefehlssatz verwenden und durch Eingabe eines Codewortes eine im Mikroprozessor für diesen Befehls­ satz vorgesehene Ablaufsteuerung aktivieren. Dadurch wird die Programmerstellung unabhängig von der Wahl eines bestimmten Mikroprozessortyps.With a microprocessor according to the invention, a user can advantageously different instruction sets, esp special use a standard command set and by typing of a code word in the microprocessor for this command Activate the sequence control provided. This will make the Program creation regardless of the choice of a particular one Microprocessor type.

Claims (4)

1. Mikroprozessor mit einer Ausführungseinheit (AE) und ei­ ner Ablaufsteuerung (AS) zum Verarbeiten von Befehlen aus ei­ nem Befehlssatz, dadurch gekennzeichnet, daß der Mikroprozessor zumindest eine weitere Ablaufsteuerung (AS1, ASi) zum Verarbeiten von Befehlen eines weiteren Be­ fehlssatzes aufweist.1. Microprocessor with an execution unit (AE) and egg ner sequential control system (AS) for processing commands from a command set, characterized in that the microprocessor has at least one further sequential control system (AS1, ASi) for processing commands of a further command set. 2. Mikroprozessor nach Anspruch 1, dadurch gekennzeichnet, daß der weitere Befehlssatz ein Standardbefehlssatz ist.2. Microprocessor according to claim 1, characterized in that the other instruction set is a standard instruction set. 3. Mikroprozessor nach Anspruch 1 oder 2, dadurch gekennzeichnet, daß die Ablaufsteuerung (AS) und/oder die weitere(n) Ablaufsteue­ rung(en) (AS1, ASi) als Mikroprogramm ausgebildet ist/sind.3. Microprocessor according to claim 1 or 2, characterized in that the sequence control (AS) and / or the further sequence control (s) tion (s) (AS1, ASi) is / are designed as a microprogram. 4. Mikroprozessor nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, daß ein Flagregister (FR) vorgesehen ist, in das ein Codewort eingebbar ist, durch das eine der Ablaufsteuerungen (AS, AS1, ASi) auswählbar und aktivierbar ist.4. Microprocessor according to one of the preceding claims, characterized in that a flag register (FR) is provided in which a code word can be entered through which one of the sequential controls (AS, AS1, ASi) can be selected and activated.
DE1997109230 1997-03-06 1997-03-06 Microprocessor with second microprogram for chip card controller chip Withdrawn DE19709230A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE1997109230 DE19709230A1 (en) 1997-03-06 1997-03-06 Microprocessor with second microprogram for chip card controller chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE1997109230 DE19709230A1 (en) 1997-03-06 1997-03-06 Microprocessor with second microprogram for chip card controller chip

Publications (1)

Publication Number Publication Date
DE19709230A1 true DE19709230A1 (en) 1998-10-01

Family

ID=7822477

Family Applications (1)

Application Number Title Priority Date Filing Date
DE1997109230 Withdrawn DE19709230A1 (en) 1997-03-06 1997-03-06 Microprocessor with second microprogram for chip card controller chip

Country Status (1)

Country Link
DE (1) DE19709230A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0747808A2 (en) * 1995-06-07 1996-12-11 International Business Machines Corporation Processor capable of supporting two distinct instruction set architectures

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0747808A2 (en) * 1995-06-07 1996-12-11 International Business Machines Corporation Processor capable of supporting two distinct instruction set architectures

Similar Documents

Publication Publication Date Title
EP0687363B1 (en) Process for testing electronic controllers
DE3914265C2 (en)
DE1774296A1 (en) Control unit for electronic digital computer
EP0500973A1 (en) Bootstrap routine in an EEPROM
EP0450116B1 (en) Automation apparatus with single-step test
DE19964003A1 (en) Circuit arrangement and method for generating and reading out replacement data
DE2714681A1 (en) MICROPROGRAMMED LSI MICROPROCESSOR
DE19709230A1 (en) Microprocessor with second microprogram for chip card controller chip
EP1407348A2 (en) Method for controlling a central processing unit for an addressing relating to a memory and a controller
DE19580638B4 (en) A computer system and method for controlling a peripheral device in a computer system
DE10196017B4 (en) Firmware on-site programming interface and method of programming
DE2856768C2 (en) Priority vector interrupt device
EP0991995B1 (en) Interrupt method in a computer system with interrupt control
EP0824726A1 (en) Process for operating a numerical control with critical-time and non-critical-time processes in a real time system
DE2715750C3 (en) Test circuit for a microcomputer
EP0108418B1 (en) Device for the microprogrammed control of information transfer, and method for its operation
DE102008051073A1 (en) Apparatus and method for remanipulating instructions
DE19609184A1 (en) Smart card
DE3133742C2 (en) Central unit of a micro-programmed digital multi-bit computer system
DE202004009434U1 (en) Computer system for cloning a process operating system including all applications programs and applications data has a working memory, a non-volatile memory and other hardware as required
EP1244035B1 (en) Method for operating a measuring device
DE4120058A1 (en) CENTRAL UNIT
DE10064339A1 (en) Integrated control circuit arrangement in e.g. antilock braking system for vehicles, has user storage region partially divided into system read only memory and flash read only memory
DE10328238A1 (en) Chip card initialization and personalization method in which chip card data is loaded using a common PC and read-write units that contain stored data blocks in which a part of the data to be loaded is stored
WO2016112885A1 (en) Electronic device, and methods for the production and use thereof

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
8130 Withdrawal