JP2008052723A5 - - Google Patents

Download PDF

Info

Publication number
JP2008052723A5
JP2008052723A5 JP2007192942A JP2007192942A JP2008052723A5 JP 2008052723 A5 JP2008052723 A5 JP 2008052723A5 JP 2007192942 A JP2007192942 A JP 2007192942A JP 2007192942 A JP2007192942 A JP 2007192942A JP 2008052723 A5 JP2008052723 A5 JP 2008052723A5
Authority
JP
Japan
Prior art keywords
language program
execution code
machine language
circuit
arithmetic processing
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
JP2007192942A
Other languages
Japanese (ja)
Other versions
JP5049686B2 (en
JP2008052723A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2007192942A priority Critical patent/JP5049686B2/en
Priority claimed from JP2007192942A external-priority patent/JP5049686B2/en
Publication of JP2008052723A publication Critical patent/JP2008052723A/en
Publication of JP2008052723A5 publication Critical patent/JP2008052723A5/ja
Application granted granted Critical
Publication of JP5049686B2 publication Critical patent/JP5049686B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (7)

演算回路と制御回路とを具備する演算処理回路と、
ROMとRAMとを具備するメモリ回路と、を有し、
前記演算処理回路と前記メモリ回路は、アドレスバス及びデータバスを介して接続され、
前記ROMは、前記演算処理回路を用いて実行される機械語プログラムが格納されており、
前記RAMは、複数のバンクを有し、
前記機械語プログラムは、高級言語プログラムがトークン列に分解され、前記トークン列から構文木が作成され、前記構文木が中間語に変換され、前記中間語が実行コードに変換され、前記実行コードを分析した解析結果を用いて前記実行コードが変換されたものであり、
前記機械語プログラムを実行した際の処理データ、複数のスタックに分割され、
前記複数のスタックのうち前記機械語プログラム終了まで読みだされないスタックが省かれ、且つ、前記複数のスタックのうち書き込みが連続したスタックが、前記複数のバンクのいずれか一のバンクに書き込まれることを特徴とする半導体装置。
An arithmetic processing circuit comprising an arithmetic circuit and a control circuit;
A memory circuit including a ROM and a RAM;
The arithmetic processing circuit and the memory circuit are connected via an address bus and a data bus,
The ROM is a machine language program to be executed using the arithmetic processing circuit is stored,
The RAM has a plurality of banks,
In the machine language program, a high-level language program is decomposed into token strings, a syntax tree is created from the token strings, the syntax tree is converted into an intermediate language, the intermediate language is converted into an execution code, and the execution code is converted into an execution code. The execution code is converted using the analyzed analysis result,
The processing data when the machine language program is executed is divided into a plurality of stacks ,
Wherein the plurality of stacks which are not read out until the end the machine language program of the stack is dispensed, and the stack of writing has been continuously out of the plurality of stacks are written in any one of the banks of the plurality of banks Turkey And a semiconductor device.
演算回路と制御回路とを具備する演算処理回路と、An arithmetic processing circuit comprising an arithmetic circuit and a control circuit;
ROMとRAMとを具備するメモリ回路と、A memory circuit comprising a ROM and a RAM;
高級言語プラグラムを機械語プログラムに変換するプログラム変換手段と、を有し、And a program conversion means for converting a high-level language program into a machine language program,
前記演算処理回路と前記メモリ回路は、アドレスバス及びデータバスを介して接続され、The arithmetic processing circuit and the memory circuit are connected via an address bus and a data bus,
前記ROMには、前記演算処理回路を用いて実行される前記機械語プログラムが格納されており、The ROM stores the machine language program to be executed using the arithmetic processing circuit,
前記RAMは、複数のバンクを有し、The RAM has a plurality of banks,
前記プログラム変換手段は、前記高級言語プログラムをトークン列に分解する字句解析手段と、前記トークン列を分析して構文木を作成する構文解析手段と、前記構文木を中間語に変換する意味解析手段と、前記中間語を実行コードに変換するコード生成手段と、前記実行コードを分析して解析結果を作成するスタック解析手段と、前記解析結果を用いて前記実行コードを変換し、且つ変換した前記実行コードを前記機械語プログラムとして出力する最適化手段と、を有し、The program conversion means includes a lexical analysis means for decomposing the high-level language program into token strings, a syntax analysis means for analyzing the token strings to create a syntax tree, and a semantic analysis means for converting the syntax tree into an intermediate language. A code generation unit that converts the intermediate language into an execution code, a stack analysis unit that analyzes the execution code and creates an analysis result, and converts the execution code using the analysis result and converts the execution code Optimizing means for outputting an execution code as the machine language program,
前記最適化手段は、前記機械語プログラム終了まで読み出されないスタックを省き、且つ書き込みが連続した複数のスタックを前記複数のバンクのいずれか一のバンクに書き込むように、前記実行コードを変換することを特徴とする半導体装置。The optimization means converts the execution code so as to omit a stack that is not read until the end of the machine language program and to write a plurality of consecutively written stacks to any one of the plurality of banks. A semiconductor device characterized by the above.
請求項1又は請求項2において、In claim 1 or claim 2,
前記演算処理回路は、前記アドレスバスを介して前記メモリ回路にアドレスバス信号を出力し、且つ前記データバスを介してスタートアップルーチンをデータバス信号として前記ROMから読み出し、The arithmetic processing circuit outputs an address bus signal to the memory circuit via the address bus, and reads a startup routine from the ROM as a data bus signal via the data bus,
前記演算回路は、前記スタートアップルーチンを実行し、前記スタートアップルーチンに応じて前記処理データを格納するためのスタックポインタを設定することを特徴とする半導体装置。The semiconductor device according to claim 1, wherein the arithmetic circuit executes the startup routine and sets a stack pointer for storing the processing data in accordance with the startup routine.
請求項3において、In claim 3,
前記スタートアップルーチンは、前記機械語プログラムが実行される前に実行されることを特徴とする半導体装置。The semiconductor device according to claim 1, wherein the startup routine is executed before the machine language program is executed.
演算回路と制御回路とを具備する演算処理回路と、
ROMとRAMとを具備するメモリ回路と、を有し、
前記演算処理回路と前記メモリ回路は、アドレスバス及びデータバスを介して接続され、
前記ROMは、前記演算処理回路を用いて実行される機械語プログラムが格納されており、
前記RAMは、複数のバンクを有し、
前記機械語プログラムは、高級言語プログラムをトークン列に分解し、前記トークン列から構文木を作成し、前記構文木を中間語に変換し、前記中間語を実行コードに変換し、前記実行コードを分析した解析結果を用いて前記実行コードを変換したものであり、
前記機械語プログラムを実行した際の処理データ複数のスタックに分割
前記複数のスタックのうち前記機械語プログラム終了まで読みだされないスタック、且つ、前記複数のスタックのうち書き込みが連続したスタックを前記複数のバンクのいずれか一のバンクに書き込ことを特徴とする半導体装置の駆動方法。
An arithmetic processing circuit comprising an arithmetic circuit and a control circuit;
A memory circuit including a ROM and a RAM;
The arithmetic processing circuit and the memory circuit are connected via an address bus and a data bus,
The ROM stores a machine language program to be executed using the arithmetic processing circuit,
The RAM has a plurality of banks,
The machine language program decomposes the high-level language program into token sequences, creates a syntax tree from the token sequence, converts the syntax tree into an intermediate language, converts the intermediate language into an execution code, and converts the execution code into an execution code. The execution code is converted using the analyzed analysis result,
Processing data at the time of executing the machine language program into a plurality of stacks,
A stack that is not read out until the end of the machine language program of the plurality of stacks can save, and, to be non-write the continuous stack to any one of the bank of the plurality of banks writing of the plurality of stack A method for driving a semiconductor device.
請求項5において、In claim 5,
前記演算処理回路は、前記アドレスバスを介して前記メモリ回路にアドレスバス信号を出力し、且つ前記データバスを介してスタートアップルーチンをデータバス信号として前記ROMから読み出し、The arithmetic processing circuit outputs an address bus signal to the memory circuit via the address bus, and reads a startup routine from the ROM as a data bus signal via the data bus,
前記演算回路は、前記スタートアップルーチンを実行し、前記スタートアップルーチンに応じて前記処理データを格納するためのスタックポインタを設定することを特徴とする半導体装置の駆動方法。A method of driving a semiconductor device, wherein the arithmetic circuit executes the startup routine and sets a stack pointer for storing the processing data in accordance with the startup routine.
請求項6において、In claim 6,
前記スタートアップルーチンは、前記機械語プログラムが実行される前に実行されることを特徴とする半導体装置の駆動方法。The method of driving a semiconductor device, wherein the startup routine is executed before the machine language program is executed.
JP2007192942A 2006-07-26 2007-07-25 Semiconductor device and driving method thereof Expired - Fee Related JP5049686B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007192942A JP5049686B2 (en) 2006-07-26 2007-07-25 Semiconductor device and driving method thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006203438 2006-07-26
JP2006203438 2006-07-26
JP2007192942A JP5049686B2 (en) 2006-07-26 2007-07-25 Semiconductor device and driving method thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012162204A Division JP5301019B2 (en) 2006-07-26 2012-07-23 Program and semiconductor device

Publications (3)

Publication Number Publication Date
JP2008052723A JP2008052723A (en) 2008-03-06
JP2008052723A5 true JP2008052723A5 (en) 2010-09-02
JP5049686B2 JP5049686B2 (en) 2012-10-17

Family

ID=39236673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007192942A Expired - Fee Related JP5049686B2 (en) 2006-07-26 2007-07-25 Semiconductor device and driving method thereof

Country Status (1)

Country Link
JP (1) JP5049686B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6111458B2 (en) * 2013-03-28 2017-04-12 株式会社Joled Semiconductor device, display device and electronic apparatus

Similar Documents

Publication Publication Date Title
RU2005115968A (en) MECHANISM FOR PREPARING THE DATA OUTPUT OF A DATA-MANAGED COMMAND LINE
JP2012512489A5 (en)
CN104503793A (en) Method for running and graphically analyzing codes in code practicing software
TW200707178A (en) Reducing power by shutting down portions of a stacked register file
JP2010204979A5 (en) How to compile
JP2006085160A5 (en)
JP2009500699A5 (en)
US20120017143A1 (en) Electronic device and method for data management
Roundy Darcs: distributed version management in haskell
JP2008518355A5 (en)
CN102520760A (en) Processor for arbitrary waveform generating system
JP2008052723A5 (en)
CN103886095B (en) Cross-platform file destination multiplexing method
JP2008226010A5 (en)
CN102831004B (en) Method for optimizing compiling based on C*core processor and compiler
CN103019801B (en) A kind of compiler being applied to high speed digital I/O waveform engine
JP2008052356A (en) Source code automatic generation device
CN108021559B (en) Natural language understanding system and semantic analysis method
CN110262802B (en) Novel execution method for Sequence data of extractor
CN103761071B (en) A kind of PLC instruction encoding and identifying system
JP2013242781A (en) Desire sentence extraction device, method, and program
JP2005322110A (en) Program converting device and processor
JP2008102705A5 (en)
SANMARTIN Biogeography in a changing world
RU130420U1 (en) DEVICE FOR UNIFICATION OF FORMATS FOR SUBMISSION OF DEBUGGING INFORMATION