JPH0251738A - Automatic translation method from digital circuit data to logic simulation description language - Google Patents

Automatic translation method from digital circuit data to logic simulation description language

Info

Publication number
JPH0251738A
JPH0251738A JP63203628A JP20362888A JPH0251738A JP H0251738 A JPH0251738 A JP H0251738A JP 63203628 A JP63203628 A JP 63203628A JP 20362888 A JP20362888 A JP 20362888A JP H0251738 A JPH0251738 A JP H0251738A
Authority
JP
Japan
Prior art keywords
logical
circuit data
command table
digital circuit
editing command
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
JP63203628A
Other languages
Japanese (ja)
Other versions
JP3033091B2 (en
Inventor
Kenzo Okawa
大川 健三
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP20362888A priority Critical patent/JP3033091B2/en
Publication of JPH0251738A publication Critical patent/JPH0251738A/en
Application granted granted Critical
Publication of JP3033091B2 publication Critical patent/JP3033091B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To improve the working efficiency of the logical simulation and to simplify a translation program by preparing a function to translate each logical function into a logical simulation describing language while interpreting an editing command table. CONSTITUTION:An editing command table is produced for all logical functions to be used to a digital circuit and stored in an editing command table file 202. Then one of logical functions of the digital circuit is read out of a circuit data file 201. Then it is checked whether the circuit data is through or not. In case the circuit data is not through and is still read, the editing command table corresponding to the read logical function is read out of the file 202. Then the read circuit data is translated into a logical simulation describing language based on the editing command table. The result of translation is stored in a logical simulation describing language file 203 as the basic information on the logical simulation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディジタル回路データから論理シミュレーショ
ンモデル記述言語への翻訳方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method of translating digital circuit data into a logic simulation model description language.

〔従来の技術〕[Conventional technology]

従来は、ディジタル回路データから論理シミュレーショ
ン記述言語への翻訳は、ディジタル回路の論・理機能を
ブラックボックスとして接続関係だけを抜き出して特定
の言語形式に翻訳していた。
Conventionally, when translating digital circuit data into a logic simulation description language, the logic and functions of the digital circuit were treated as a black box, and only the connection relationships were extracted and translated into a specific language format.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の方法では、翻訳された記述を見ても、ど
の様な論理が組まれているか判り難く、論理シミュレー
ションの作業能率が悪いという欠点がある。
The conventional method described above has the drawback that it is difficult to understand what kind of logic is included even when looking at the translated description, and the efficiency of logic simulation is poor.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の自動翻訳システムは、個々の論理機能を論理シ
ミュレーション記述言語で表現するために必要な、中間
変数を使える編集コマンドテーブルと、このテーブルを
解釈しながら論理シミュレーション記述言語に翻訳する
機能を有している。
The automatic translation system of the present invention has an editing command table that can use intermediate variables, which is necessary to express individual logical functions in a logical simulation description language, and a function that interprets this table and translates it into a logical simulation description language. are doing.

また、論理機能は回路図データ、編集コマンドテーブル
の追加や置換が外から自由に変更できる横道を持たせて
いる。
In addition, the logic function has a side path that allows additions and replacements of circuit diagram data and editing command tables to be freely changed from the outside.

〔実施例〕〔Example〕

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

第1図は本発明の自動翻訳方法の一実施例を示す処理フ
ロー図である。201の編集コマンドテーブルと202
の回路データ及び203の論理シミュレーション記述言
語はファイルにして保存している。この処理フローを機
能として具体的に実現するプログラムはFORTRAN
等のコンパイラで書かれている。
FIG. 1 is a process flow diagram showing an embodiment of the automatic translation method of the present invention. Edit command table of 201 and 202
The circuit data 203 and the logic simulation description language 203 are saved as files. The program that specifically implements this processing flow as a function is FORTRAN.
It is written with a compiler such as

第2図はこのプログラムを通常のコンピュータ上に実現
した時の自動翻訳システム構成を示すブロック図である
。第1図の3つのファイル20]、202,203は磁
気ディスク4上に保存されている。回路データは例えば
パソコン上に実現さhたCAE (コンピュータ・エイ
デツド・エンジニアリング)ワークステーションで作成
される4、[8コマンドテーブルはキーボード2からホ
ストコンピュータ3へ入力して得られる。キーボード2
の役割としてはその池に、翻訳プログラムの入力や、実
行指示をホストコンピュータ3に与える等が有る。なお
、プログラムはホストコンピュータ3のメインメモリ上
にロードされて動作する。
FIG. 2 is a block diagram showing the configuration of an automatic translation system when this program is implemented on an ordinary computer. The three files 20], 202, and 203 shown in FIG. 1 are stored on the magnetic disk 4. The circuit data is created, for example, on a CAE (Computer Aided Engineering) workstation implemented on a personal computer, and the command table is obtained by inputting it into the host computer 3 from the keyboard 2. keyboard 2
Its role is to input translation programs and give execution instructions to the host computer 3. Note that the program is loaded onto the main memory of the host computer 3 and operates.

次に第1図を参照して本発明の動作について説明する。Next, the operation of the present invention will be explained with reference to FIG.

先づ、ステップ101において、ディジタル回路に使用
することが予定されている全べての論理機能について編
集コマンドテーブル(後述する)を作り、編集コマンド
テーブルファイル202へ格納する。なお、この編集コ
マンドテーブルファイル202は、予じめ作成しておく
ことが望ましい。次にステップ102において、回路デ
ータファイル201(回路データについては後述する)
より、ディジタル回路の論理機能の内の一つを読み込む
。ステップ103において、回路データの内、未処理の
データが有るか無いか、すなわち、回路データが終りで
あるか否かをチエツクする。回路データが終りでなく読
み込まれていればステップ104において、読み込んだ
論理機能に対応する編集コマンドテーブルをファイル2
02より読み込む。次に、ステップ105において、読
み込まれた回路データを編集コマンドテーブルに従って
論理シミュレーション記述言語(後述する)に翻訳し、
結果を論理シミュレーション記述言語ファイル203へ
格納し、論理シミュレーションの基礎情報とする。
First, in step 101, an edit command table (described later) is created for all logical functions scheduled to be used in the digital circuit, and is stored in the edit command table file 202. Note that it is desirable to create this editing command table file 202 in advance. Next, in step 102, a circuit data file 201 (circuit data will be described later)
reads one of the logic functions of the digital circuit. In step 103, it is checked whether there is any unprocessed data among the circuit data, that is, whether the circuit data is finished. If the circuit data is not finished but has been read, in step 104, the editing command table corresponding to the read logic function is saved to file 2.
Read from 02. Next, in step 105, the read circuit data is translated into a logic simulation description language (described later) according to the editing command table,
The results are stored in the logic simulation description language file 203 and used as basic information for the logic simulation.

第3図は第1図のパソコン1のCAEワークステーショ
ンで入力して得られるディジタル回路の一例を示す回路
図面である。10はデコーダ、11はライン名A#への
入力データで信号名は「PRBO(0〜2)」、で3ビ
ツトのサイズを持っている。12はライン名EIへの制
御線で、信号名はrAOO6[YJ 、13はライン名
Y#からの出力データで5信号名はrDEco (0−
7)Jす・イズは8ビ・ソトである。ホストコンピュー
タ3上では第4図に示す形式で磁気ディスクファイル4
にディジタル回路データファイルとして持っている。こ
の例はデコーダ10に対応する部分(データ上のA行、
B行で示される)だけを示している。A行の42;24
およびB行の3E;25・・・は回路図面上の座標値を
示しており、A005は部品番号を、′″DEC#“は
論理機能名を示し、B行の°’ A O”〜“Y7”は
論理機能固有のライン名、″″PRBO(0)”〜”D
 ECO(7) ”は論理機能の間で同じ電位に有る事
を示す信号名である。Lは論理機能への入力信号、Sは
出力信号を示している。この回路データは予め、論理機
能毎にまとめられている。
FIG. 3 is a circuit diagram showing an example of a digital circuit obtained by inputting data into the CAE workstation of the personal computer 1 shown in FIG. 10 is a decoder, 11 is input data to line name A#, the signal name is "PRBO (0-2)", and it has a size of 3 bits. 12 is the control line to line name EI, the signal name is rAOO6[YJ, 13 is the output data from line name Y#, and 5 is the signal name rDEco (0-
7) J's is 8bi soto. The magnetic disk file 4 is stored on the host computer 3 in the format shown in FIG.
have it as a digital circuit data file. In this example, the part corresponding to the decoder 10 (row A on the data,
(shown in line B) are shown. A row 42; 24
and 3E;25... in line B indicate the coordinate values on the circuit drawing, A005 indicates the part number, ``DEC#'' indicates the logical function name, and °' A O'' to `` in line B Y7" is a line name unique to the logical function, ""PRBO(0)" to "D"
"ECO(7)" is a signal name indicating that the same potential exists between logic functions.L indicates an input signal to the logic function, and S indicates an output signal.This circuit data is predefined for each logic function. It is summarized in

第5図は、ディジタル回路データを論理シミュレーショ
ン記述言語へ翻訳するための編集コマンドテーブルのフ
ォーマットの一例を示す図である。
FIG. 5 is a diagram showing an example of the format of an editing command table for translating digital circuit data into a logic simulation description language.

第6図は、第5図のフォーマ・ソト内へ入力される記号
の例と、その意味を示した図である。第5図に示すフォ
ーマットの各欄内には第6図に示すようにテーブルとし
て必要な論理機能名、ファンクションタイプ、中間変数
の定義が餌付で表わされているかを示す行数、編集コマ
ンドを格納する行数、その他、各行へ必要な定義文が入
力され、テーブルとして機能するよう構成される。
FIG. 6 is a diagram showing examples of symbols input into the forma-soto of FIG. 5 and their meanings. In each column of the format shown in Figure 5, as shown in Figure 6, the name of the logical function required as a table, the function type, the number of lines indicating whether the definition of intermediate variables is represented as bait, and the editing command. The number of rows to store and other necessary definition statements are entered for each row, and it is configured to function as a table.

第7図は第4図に示すデコーダ部分の回路図データを論
理シミュレーション記述言語へ翻訳するためのデコーダ
部分の編集コマンドテーブルの例を示す図である。論理
機能名として5CODE欄へrDEc#」が、ファンク
ションタイプとしてF T Y P E欄へrsMAc
Jが、中間言語の定義行数としてRNO1欄へ(この例
では定義内容がないので)「O」が、編集コマンドを格
納する行数としてRNO2欄へ「4」行が入力される。
FIG. 7 is a diagram showing an example of an editing command table for the decoder section for translating the circuit diagram data of the decoder section shown in FIG. 4 into a logic simulation description language. "rDEc#" is entered in the 5CODE column as the logical function name, and rsMAc is entered in the FTYPE column as the function type.
J is entered in the RNO1 column as the number of definition lines of the intermediate language (since there is no definition content in this example), and "0" is entered in the RNO2 column as the number of lines in which the editing command is stored.

次の行以後には、1行目のRNO2の欄で「4」行が入
力されているので4行にわたって編集コマンドが格納さ
れている。すなわち、2行目には改行マークとして「1
」が示され、その右側にカラム位置として「2」が、テ
キスト1としてrTERMINALJが、続いてカラム
位置としてr6jが、LPINとして論理機能固有のラ
イン名(この例ではデコーダの出力)「Y#」が、さら
にテキストとしての内容が格納される。次の行以後に具
体的なコマンドが入力格納される。’A#Jと「Y#」
は第4図のrAo〜A2JとrYo〜Y7Jを表わして
いる。rEIJは、第4図の「E■」と同じものである
From the next line onward, the edit command is stored over four lines since line "4" is entered in the RNO2 column of the first line. In other words, on the second line there is a line break mark of “1
” is shown, and to the right is “2” as the column position, rTERMINALJ as the text 1, followed by r6j as the column position, and the logical function-specific line name (in this example, the output of the decoder) as the LPIN “Y#”. However, the content as text is also stored. The specific command is input and stored after the next line. 'A#J and 'Y#'
represent rAo to A2J and rYo to Y7J in FIG. rEIJ is the same as "E■" in FIG.

第8図は論理シミュレーション記述言語へ翻訳した例を
示した図であり、第4図のディジタル回路データを第7
図の編集コマンドテーブルに従がって翻訳した結果を示
している。なお、ここで使用している言語はビヘイビア
・ディスクリブジョン(Behavior  Dtsc
ription)型の内の一つである。
Figure 8 is a diagram showing an example of translating the digital circuit data in Figure 4 into a logic simulation description language.
This shows the results of translation according to the editing command table in the figure. The language used here is Behavior Disclosure (Behavior Dtsc).
ription) type.

第9図は翻訳する第2の例としてシーケンスコントロー
ラの一例”を示す回路図であり、第10図に示す編集コ
マンドテーブルに従って、このシーケンスコントローラ
を翻訳すると第11図に示すような翻訳結果が得られる
。中間変数になる#REG、#SP、#RAM、#TN
Cは各々、ユニークな信号名5OIL、5O12,5O
1B、5014に置換えられている。なお説明を簡単に
するため論理機能固有のライン名と信号名を同じにしで
ある。
FIG. 9 is a circuit diagram showing an example of a sequence controller as a second example of translation. When this sequence controller is translated according to the editing command table shown in FIG. 10, the translation result shown in FIG. 11 is obtained. Intermediate variables #REG, #SP, #RAM, #TN
C each has a unique signal name 5OIL, 5O12, 5O
1B, 5014. In order to simplify the explanation, the line names and signal names specific to the logical functions are the same.

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

以上説明したように本発明は、個々の論理機能を論理シ
ミュレーション記述言語で表現できるので、論理シミュ
レーションの作業能率が良い。また、編集コマンドテー
ブルを使っているために、○翻訳プログラムが簡単にな
るので実行速度が早い。
As explained above, in the present invention, each logical function can be expressed in a logical simulation description language, so that the efficiency of logical simulation is improved. Also, since the editing command table is used, the translation program becomes simpler and the execution speed is faster.

○中間変数を使えるので複数段のメモリを内部に持つ論
理機能も判り易く簡単に翻訳できる。
○ Intermediate variables can be used, so logical functions that have multiple levels of internal memory can be easily understood and translated.

0論理機能の追加・置換えが自由に出来るので保守・運
用が楽。
0 logic functions can be added and replaced freely, making maintenance and operation easy.

等、その効果は多大である。The effects are enormous.

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

第1図は本発明の一実施例を示す処理フロー図、第2図
は本発明を実施するシステムブロック図、第3図は本発
明で翻訳する第1のディジタル回路の例を示す回路図、
第4図は第3図のデコーダ部分の回路データを示す図、
第5図は編集コマンドテーブルのフォーマットを示す図
、第6図は第5図のフォーマット内へ入力される記号の
例と、その意味を示した図、第7図は第4図に示す回路
図データを翻訳するための編集コマンドテーブルの例を
示す図、第8図は第4図に示すデータの翻訳結果を示す
図、第9図は本発明で翻訳する第2のディジタル回路の
例を示す回路図、第10図は第9図の回路図に対応する
編集コマンドテーブルの例を示す図、第11図は翻訳結
果を示す図である。 lはパソコン、2はキーボード、3はホストコンピュー
タ、4・・・磁気ディスクファイル、101〜105は
処理ステップ、201〜203はファイルをそれぞれ示
す。
FIG. 1 is a processing flow diagram showing an embodiment of the present invention, FIG. 2 is a system block diagram implementing the present invention, and FIG. 3 is a circuit diagram showing an example of a first digital circuit translated by the present invention.
Fig. 4 is a diagram showing circuit data of the decoder part of Fig. 3;
Figure 5 is a diagram showing the format of the editing command table, Figure 6 is a diagram showing examples of symbols input into the format of Figure 5 and their meanings, and Figure 7 is the circuit diagram shown in Figure 4. A diagram showing an example of an editing command table for translating data, FIG. 8 is a diagram showing the translation result of the data shown in FIG. 4, and FIG. 9 is a diagram showing an example of the second digital circuit translated by the present invention. FIG. 10 is a diagram showing an example of an editing command table corresponding to the circuit diagram of FIG. 9, and FIG. 11 is a diagram showing a translation result. 1 is a personal computer, 2 is a keyboard, 3 is a host computer, 4... magnetic disk files, 101 to 105 are processing steps, and 201 to 203 are files, respectively.

Claims (1)

【特許請求の範囲】[Claims] ディジタル回路の図形データから論理接続情報を抜き出
し、前記論理接続情報に含まれる論理機能名を鍵語にし
て個々の図形の意味を予じめ設定した編集コマンドテー
ブルに従がって論理シミュレーション記述言語に自動翻
訳することを特徴とするディジタル回路データから論理
シミュレーション記述言語への自動翻訳方法。
Logic simulation description language is created by extracting logical connection information from the graphic data of a digital circuit and using the logical function name included in the logical connection information as a key word according to an editing command table in which the meaning of each figure is set in advance. A method for automatically translating digital circuit data into a logic simulation description language.
JP20362888A 1988-08-15 1988-08-15 Automatic translation method from digital circuit data to logic simulation description language Expired - Lifetime JP3033091B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20362888A JP3033091B2 (en) 1988-08-15 1988-08-15 Automatic translation method from digital circuit data to logic simulation description language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20362888A JP3033091B2 (en) 1988-08-15 1988-08-15 Automatic translation method from digital circuit data to logic simulation description language

Publications (2)

Publication Number Publication Date
JPH0251738A true JPH0251738A (en) 1990-02-21
JP3033091B2 JP3033091B2 (en) 2000-04-17

Family

ID=16477189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20362888A Expired - Lifetime JP3033091B2 (en) 1988-08-15 1988-08-15 Automatic translation method from digital circuit data to logic simulation description language

Country Status (1)

Country Link
JP (1) JP3033091B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07306879A (en) * 1994-05-11 1995-11-21 Nec Corp Netlist / hardware description converter
JP2013077104A (en) * 2011-09-30 2013-04-25 Hitachi Ltd Logic conversion device, logic conversion method and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4770588B2 (en) 2006-05-24 2011-09-14 ソニー株式会社 Skeleton generation apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07306879A (en) * 1994-05-11 1995-11-21 Nec Corp Netlist / hardware description converter
JP2013077104A (en) * 2011-09-30 2013-04-25 Hitachi Ltd Logic conversion device, logic conversion method and program

Also Published As

Publication number Publication date
JP3033091B2 (en) 2000-04-17

Similar Documents

Publication Publication Date Title
US9779193B1 (en) Methods, systems, and computer program product for implementing electronic design layouts with symbolic representations
CN112149399A (en) Table information extraction method, device, equipment and medium based on RPA and AI
Repenning et al. Programming by example: programming by analogous examples
CN102708161A (en) Modeling method of data logic model utilizing public conceptual sets
JPWO2004025463A1 (en) Requirement definition method, software development method, requirement word change method and new specification method
US5987239A (en) Computer system and method for building a hardware description language representation of control logic for a complex digital system
JP2007087215A (en) Data structure, computer program, method and system used for hardware model conversion processing
CN101661277B (en) Part processing method and device used for numerical control machine
JP3033091B2 (en) Automatic translation method from digital circuit data to logic simulation description language
CN115719073A (en) Method, device and medium for translating multilingual resources
CN114281324A (en) Page generation method and device, computer equipment and storage medium
CN112132926A (en) Flowchart graphic element style designer based on scalable vector graphics and its design method
JP2551935B2 (en) Graphical language processing method
Koskimies et al. Modelling of space‐efficient one‐pass translation using attribute grammars
Bedau et al. Proof Designer: A Programmable Prover's Workbench
CN109558627B (en) Method for automatically generating cross-functional partition signal list by software
JPH025132A (en) Automatic document forming system
TW552557B (en) Automatic program generating system and the method thereof
CN107341021A (en) The software network of large complicated software belt restraining logical attribute represents, storage and retrieval method
BÎTCĂ et al. Image manipulation DSL
JPS6361329A (en) Programming device
JPS62145424A (en) Program management method
Jones Specification as a design base
JPS63318605A (en) Nc part program generating device
JPS63220367A (en) Tree structure chart forming device