JP2760212B2 - Scan path design method - Google Patents

Scan path design method

Info

Publication number
JP2760212B2
JP2760212B2 JP4130099A JP13009992A JP2760212B2 JP 2760212 B2 JP2760212 B2 JP 2760212B2 JP 4130099 A JP4130099 A JP 4130099A JP 13009992 A JP13009992 A JP 13009992A JP 2760212 B2 JP2760212 B2 JP 2760212B2
Authority
JP
Japan
Prior art keywords
register
description
scan
scan path
name
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.)
Expired - Fee Related
Application number
JP4130099A
Other languages
Japanese (ja)
Other versions
JPH05298392A (en
Inventor
純子 渡辺
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4130099A priority Critical patent/JP2760212B2/en
Publication of JPH05298392A publication Critical patent/JPH05298392A/en
Application granted granted Critical
Publication of JP2760212B2 publication Critical patent/JP2760212B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はCADシステムに関し、
特に、スキャンパス記述を自動的に論理回路の機能記述
中に挿入するスキャンパス設計方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CAD system,
In particular, the present invention relates to a scan path design method for automatically inserting a scan path description into a function description of a logic circuit.

【0002】[0002]

【従来の技術】論理回路に於いては試験容易化のために
スキャンパスを設けるということが従来から行なわれて
いる。
2. Description of the Related Art In a logic circuit, a scan path is conventionally provided for facilitating a test.

【0003】ところで、スキャンパスを設計する場合、
従来は設計者が人手で論理回路の機能記述中にスキャン
パス記述を記載する方法或いはCADシステムを用いて
スキャンパス記述が記載されていない論理回路の機能記
述をゲートレベルの回路記述に変換し、その後、スキャ
ンパスの接続順序を指定してスキャンパス接続を行なわ
せる方法がとられている。
By the way, when designing a scan path,
Conventionally, a designer manually converts a function description of a logic circuit having no scan path description into a gate-level circuit description by using a method of manually describing a scan path description in a function description of the logic circuit or a CAD system, After that, a scan path connection is performed by designating the connection order of the scan paths.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の技術の
内、前者は回路の本来の動作以外にスキャンパスを利用
したスキャンシフト動作を意識して設計を行なう必要が
あるため、設計者に負担がかかるという問題がある。ま
た、人手で設計を行なうため、接続論理ミスのある回路
や本来の動作とスキャン動作の切り替え時に誤動作を起
こす回路等を設計してしまう危険性もある。
Among the above-mentioned prior arts, the former requires a designer to be conscious of a scan shift operation using a scan path in addition to the original operation of the circuit, so that the burden on the designer is increased. There is a problem that it takes. Further, since the design is performed manually, there is a risk that a circuit having a connection logic error, a circuit causing a malfunction when switching between the original operation and the scan operation, or the like may be designed.

【0005】また、後者は論理回路全体のゲートレベル
の論理設計が完了するまで、スキャンパス挿入を行なう
ことができないという問題点があると共に、機能記述に
スキャンパスが反映されないため、スキャンパスの内容
を設計者が認識しにくいという問題点もある。
The latter has a problem that a scan path cannot be inserted until the gate-level logic design of the entire logic circuit is completed, and the scan path is not reflected in the function description. There is also a problem that it is difficult for a designer to recognize this.

【0006】本発明の目的は、設計者に負担をかけるこ
となく、誤りのないスキャンパス記述を論理回路の機能
記述中に挿入することができるスキャンパス設計方式を
提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a scan path design method capable of inserting an error-free scan path description into a function description of a logic circuit without burdening a designer.

【0007】[0007]

【課題を解決するための手段】本発明は上記目的を達成
するため、スキャンパス記述が記載されていない論理回
路の機能記述を解析し、前記機能記述に記載されている
レジスタのレジスタ名を含むレジスタ情報を抽出する機
能記述解析手段と、スキャンパスを構成するレジスタの
接続順を指定するスキャン挿入指定に従って前記機能記
述解析手段が抽出したレジスタ情報中の各レジスタ名に
対応付けてそのレジスタ名を有するレジスタの他のレジ
スタとの接続関係を示す情報を付加するレジスタ情報編
集手段と、前記スキャンパス記述が記載されていない機
能記述と前記レジスタ情報編集手段によって接続関係を
示す情報が付加されたレジスタ情報とに基づいて前記機
能記述にスキャンパス記述を挿入するスキャンパス記述
挿入手段とを設けたものである。
In order to achieve the above object, the present invention analyzes a function description of a logic circuit in which a scan path description is not described, and includes a register name of a register described in the function description. A function description analyzing means for extracting register information; and a register name associated with each register name in the register information extracted by the function description analyzing means in accordance with a scan insertion specification for specifying a connection order of registers constituting a scan path. Register information editing means for adding information indicating a connection relationship with other registers of the register, and a register to which information indicating the connection relationship is added by the function description in which the scan path description is not described and the register information editing means Scan path description insertion means for inserting a scan path description into the function description based on the information. It is intended.

【0008】[0008]

【作用】機能記述解析手段により、スキャンパス記述が
記載されていない論理回路の機能記述中に記載されてい
るレジスタのレジスタ名を含むレジスタ情報が抽出され
る。
The function description analyzing means extracts register information including the register name of the register described in the function description of the logic circuit in which the scan path description is not described.

【0009】レジスタ情報編集手段はスキャン挿入指定
に従って機能記述解析手段が抽出したレジスタ情報中の
レジスタ名に対応付けてそのレジスタ名を有するレジス
タの他のレジスタとの接続関係を示す情報を付加する。
The register information editing means adds information indicating a connection relationship between the register having the register name and another register in association with the register name in the register information extracted by the function description analyzing means in accordance with the scan insertion designation.

【0010】スキャンパス記述挿入手段はレジスタ情報
編集手段によって他のレジスタとの接続関係を示す情報
が付加されたレジスタ情報に基づいてスキャンパス記述
が記載されていない機能記述にスキャンパス記述を挿入
する。
[0010] The scan path description inserting means inserts the scan path description into the function description in which the scan path description is not described based on the register information to which the information indicating the connection relationship with another register is added by the register information editing means. .

【0011】[0011]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0012】図1は本発明の実施例のブロック図であ
り、機能記述解析手段2と、レジスタ情報編集手段5
と、スキャンパス記述挿入手段6と、論理合成手段8と
から構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention, wherein a function description analyzing means 2 and a register information editing means 5 are provided.
, Scan path description insertion means 6 and logic synthesis means 8.

【0013】機能記述解析手段2はスキャンパス記述が
記載されていない機能記述1を構文解析して機能記述1
に記載されているレジスタのレジスタ名,そのレジスタ
名を有するレジスタに供給されているクロックのクロッ
ク名及び機能記述中に於ける出現順を示す情報を含むレ
ジスタ情報3を出力すると共に、機能記述1中に記載さ
れているスキャン挿入指定4を出力する。尚、スキャン
挿入指定4は機能記述1中に記述せずに、キーボード等
から入力するようにしても良い。
The function description analyzing means 2 parses the function description 1 in which the scan path description is not described and analyzes the function description 1.
And register information 3 including a clock name of a clock supplied to a register having the register name, a clock name supplied to a register having the register name, and information indicating an appearance order in the function description. The scan insertion designation 4 described therein is output. The scan insertion designation 4 may be inputted from a keyboard or the like without being described in the function description 1.

【0014】図2はレジスタ情報3の一例を示した図で
ある。同図に示すように、レジスタ情報3の各レコード
は機能記述中の出現順,レジスタ名,クロック名,スキ
ャンイン信号,スキャン順の各項目から構成される。
FIG. 2 is a diagram showing an example of the register information 3. As shown in the figure, each record of the register information 3 is composed of items of the order of appearance, register name, clock name, scan-in signal, and scan order in the function description.

【0015】この内、機能記述中の出現順,レジスタ
名,クロック名の各項目は機能記述解析手段2から出力
された時にその項目値が既に設定されているが、スキャ
ンイン信号,スキャン順の項目値はレジスタ情報編集手
段5によって追加される。この図2に示したレジスタ情
報3の例は機能記述1中のレジスタ名の出現順がREG
B,REGA(0:4),REGX,REGC,…であ
り、レジスタ名REGBのレジスタにはクロック名CL
KXのクロックが、レジスタ名REGA(0:4)のレ
ジスタにはクロック名CLKBのクロックが、レジスタ
名REGX,REGCのレジスタにはクロック名CLK
Aのクロックが供給されていることを示している。
Among the items, the items such as the order of appearance, the register name, and the clock name in the function description have already been set when output from the function description analysis means 2; The item value is added by the register information editing means 5. In the example of the register information 3 shown in FIG. 2, the order of appearance of the register names in the function description 1 is REG.
B, REGA (0: 4), REGX, REGC,..., And the register with the register name REGB has the clock name CL.
The clock of KX is the clock of the clock name CLKB in the register of the register name REGA (0: 4), and the clock name CLK is in the registers of the register names REGX and REGC.
This indicates that the clock A is supplied.

【0016】図3は全レジスタ挿入モードのスキャン挿
入指定4を、図4はレジスタ名指定モードのスキャン挿
入指定4を、図5はクロック名指定モードのスキャン挿
入指定4を示した図である。
FIG. 3 is a diagram showing scan insertion designation 4 in all register insertion mode, FIG. 4 is a diagram showing scan insertion designation 4 in register name designation mode, and FIG. 5 is a diagram showing scan insertion designation 4 in clock name designation mode.

【0017】図3に示した全レジスタ挿入モードのスキ
ャン挿入指定4は、機能記述1中の全てのレジスタを、
その出現順に接続することを指示する。
The scan insertion designation 4 in the all register insertion mode shown in FIG.
Instructs connection in the order of appearance.

【0018】図4に示したレジスタ名指定モードのスキ
ャン挿入指定4は、機能記述1中のレジスタを、スキャ
ン挿入指定4に記述されているレジスタ名の順番で接続
することを指示する。図4の例は、機能記述1中のレジ
スタを、REGA(0:4),REGC,REGB,R
EGX,…の順番で接続することを指示している。
The scan insertion specification 4 in the register name specification mode shown in FIG. 4 indicates that the registers in the function description 1 are connected in the order of the register names described in the scan insertion specification 4. In the example of FIG. 4, the registers in the function description 1 are defined as REGA (0: 4), REGC, REGB, R
EGX,... Are connected in this order.

【0019】図5に示したクロック名指定モードのスキ
ャン挿入指定4は、それに記述されているクロック名の
順番で、そのクロックが供給されているレジスタを接続
することを指示する。但し、同じクロック名のクロック
が供給されているレジスタは、機能記述1に於ける出現
順に接続する。図5に示した例は先ず、クロック名CL
KAのクロックが供給されているレジスタを機能記述1
に於ける出現順に接続し、以下、クロック名CLKB,
CLKX…のクロックが供給されているレジスタを機能
記述1に於ける出現順に接続することを指示している。
The scan insertion specification 4 in the clock name specification mode shown in FIG. 5 indicates that the registers to which the clock is supplied are connected in the order of the clock names described therein. However, registers to which clocks with the same clock name are supplied are connected in the order of appearance in the function description 1. In the example shown in FIG. 5, first, the clock name CL
Function description 1 of the register to which the KA clock is supplied
Are connected in the order of appearance in the following, and clock names CLKB,
CLKX... Are supplied in order of appearance in the function description 1.

【0020】レジスタ情報編集手段5はスキャン挿入指
定4に従ってレジスタ情報3の各レコードにスキャンイ
ン信号,スキャン順の項目値を追加する。
The register information editing means 5 adds a scan-in signal and a scan order item value to each record of the register information 3 in accordance with the scan insertion designation 4.

【0021】スキャンパス記述挿入手段6は機能記述1
及びスキャンイン信号及びスキャン順が追加されたレジ
スタ情報3に基づいて機能記述1中のレジスタ記述にス
キャンパス記述を追加し、それをスキャン付機能記述7
として出力する。
The scan path description insertion means 6 is a function description 1
A scan path description is added to the register description in the function description 1 based on the register information 3 to which the scan-in signal and the scan order have been added, and this is added to the function description with scan 7.
Output as

【0022】論理合成手段8はスキャン付機能記述7を
ゲートレベルの回路記述9に変換する。
The logic synthesizing means 8 converts the function description with scan 7 into a circuit description 9 at the gate level.

【0023】図6はレジスタ情報編集手段5の処理例を
示すフローチャート、図7はスキャンパス記述挿入手段
6の処理例を示すフローチャートであり、以下各図を参
照して本実施例の動作を説明する。
FIG. 6 is a flowchart showing a processing example of the register information editing means 5, and FIG. 7 is a flowchart showing a processing example of the scan path description inserting means 6. The operation of the present embodiment will be described below with reference to the drawings. I do.

【0024】機能記述解析手段2はスキャンパス設計が
されていない、即ちスキャンパス記述が記載されていな
い機能記述1を解析してレジスタ情報3及びスキャン挿
入指定4を出力し、制御をレジスタ情報編集手段5に渡
す。
The function description analyzing means 2 analyzes the function description 1 for which the scan path is not designed, that is, the scan path description is not described, outputs the register information 3 and the scan insertion designation 4, and controls the register information editing. Pass to means 5.

【0025】レジスタ情報編集手段5は制御が渡される
と、図6のフローチャートに示すように、スキャン挿入
指定4が全レジスタ挿入モード,レジスタ名指定モー
ド,クロック名指定モードの何れであるか、即ちスキャ
ン挿入指定4が図3〜図5の何れの形式かを判定する
(ステップS61,S62)。
When the control is passed to the register information editing means 5, as shown in the flowchart of FIG. 6, the scan insertion designation 4 is any of the all register insertion mode, the register name designation mode, and the clock name designation mode, ie, It is determined whether the scan insertion designation 4 is any of the formats shown in FIGS.
(Steps S61 and S62).

【0026】そして、全レジスタ挿入モードであると判
定した場合は、図2に示したレジスタ情報3の各レコー
ドのスキャン順の項目に同じレコード中の機能記述中の
出現順と同一の項目値を追加し、スキャンイン信号の項
目に次のレコード中のレジスタ名と同一の項目値を追加
し (ステップS63)、その後、制御をスキャンパス記
述挿入手段6に渡す。
If it is determined that the mode is the all register insertion mode, the same item value as the appearance order in the function description in the same record is set to the scan order item of each record of the register information 3 shown in FIG. Then, the same item value as the register name in the next record is added to the item of the scan-in signal (step S63), and then control is passed to the scan path description inserting means 6.

【0027】従って、図2の例では機能記述中の出現順
が1,2,3,…のレコードのスキャン順の項目には項
目値1,2,3,…が追加され、スキャンイン信号の項
目には項目値REG(0:4),REGX,REGC,
…が追加される。
Therefore, in the example of FIG. 2, the item values 1, 2, 3,... Are added to the items in the scan order of the records whose appearance order is 1, 2, 3,. Items have item values REG (0: 4), REGX, REGC,
... is added.

【0028】また、レコード名指定モードであると判定
した場合は、図2に示したレジスタ情報3の各レコード
をスキャン挿入指定4に記述されているレジスタ名の順
番にソートする (ステップS64)。例えば、スキャン
挿入指定4が図4に示すものである場合は、レジスタ情
報3の各レコードはレジスタ名REGA(0:4),R
EGC,REGB,REGX,…を有するレコードの順
にソートされる。尚、レジスタ情報3に、スキャン挿入
指定4に記載されていないレジスタ名を有するレコード
が存在する場合は、それらのレコードはソートされたレ
コードの次に出現順に並べられる。
If it is determined that the mode is the record name designation mode, the records of the register information 3 shown in FIG. 2 are sorted in the order of the register names described in the scan insertion designation 4 (step S64). For example, when the scan insertion designation 4 is as shown in FIG. 4, each record of the register information 3 has the register name REGA (0: 4), R
Are sorted in the order of records having EGC, REGB, REGX,. If there is a record having a register name not described in the scan insertion specification 4 in the register information 3, the records are arranged in the order of appearance after the sorted records.

【0029】その後、レジスタ情報編集手段5はソート
済みのレジスタ情報3の第1番目,第2番目,第3番
目,…,第n番目のレコードのスキャン順の項目に項目
値1,2,3,…,nを追加し、第1番目,第2番目,
第3番目,…,第(n−1)番目のレコードのスキャン
イン信号の項目に第2番目,第3番目,第4番目,…,
第n番目のレコードのレジスタ名の項目値を追加する
(ステップS65)。ここで、第n番目のレコードはス
キャン挿入指定4の最後に記載されているレジスタ名を
有するレコードの内の最後のレコードを示している。
Thereafter, the register information editing means 5 stores the item values 1, 2, 3 in the scan order items of the first, second, third,..., N-th records of the sorted register information 3. , ..., n, the first, second,
,..., The (n−1) th record scan-in signal items are the second, third, fourth,.
Add the item value of the register name of the nth record
(Step S65). Here, the n-th record indicates the last record among the records having the register names described at the end of the scan insertion specification 4.

【0030】ステップS65の処理が終了すると、レジ
スタ情報編集手段5はステップS64でソートしたレジ
スタ情報3の各レコードを機能記述中の出現順でソート
し直し (ステップS68)、その後、制御をスキャンパ
ス記述挿入手段6に渡す。
When the processing in step S65 is completed, the register information editing means 5 re-sorts the records of the register information 3 sorted in step S64 in the order of appearance in the function description (step S68). It is passed to the description insertion means 6.

【0031】また、クロック名指定モードであると判断
した場合は、図2に示したレジスタ情報3の各レコード
をスキャン挿入指定4に記述されているクロック信号名
の順番でソートする (ステップS66)。例えば、スキ
ャン挿入指定4が図5に示すものである場合は、レジス
タ情報3の各レコードはクロック名CLKA,CLK
B,CLKX,…を有するレコードの順にソートされ
る。尚、レジスタ情報3に、スキャン挿入指定4に記載
されていないクロック名を有するレコードが存在する場
合は、それらのレコードはソートされたレコードの次に
出現順に並べられる。
If it is determined that the mode is the clock name designation mode, the records of the register information 3 shown in FIG. 2 are sorted in the order of the clock signal names described in the scan insertion designation 4 (step S66). . For example, when the scan insertion designation 4 is as shown in FIG. 5, each record of the register information 3 has clock names CLKA and CLK.
.. B, CLKX,... If there is a record having a clock name not described in the scan insertion designation 4 in the register information 3, those records are arranged in the order of appearance after the sorted records.

【0032】その後、レジスタ情報編集手段5はソース
済みのレジスタ情報3の第1番目,第2番目,第3番
目,…,第n番目のレジスタのスキャン順の項目に項目
値1,2,3,…,nを追加し、第1番目,第2番目,
第3番目,…第(n−1)番目のレコードのスキャンイ
ン信号の項目に第2番目,第3番目,第4番目,…,第
n番目のレコードのレジスタ名の項目値を追加する (ス
テップS67)。ここで、第n番目のレコードはスキャ
ン挿入指定4の最後に記載されているクロック名を有す
るレコードの内の最後のレコードを示している。
Thereafter, the register information editing means 5 stores the item values 1, 2, 3 in the scan order items of the first, second, third,..., N-th registers of the sourced register information 3. , ..., n, the first, second,
The item values of the register names of the second, third, fourth,..., Nth records are added to the items of the scan-in signal of the third,..., (N−1) th records ( Step S67). Here, the n-th record indicates the last record among the records having the clock name described at the end of the scan insertion designation 4.

【0033】ステップS67の処理が終了すると、レジ
スタ情報編集手段5はステップS66でソートしたレジ
スタ情報3の各レコードを機能記述中の出現順でソート
し直し (ステップS67)、その後、制御をスキャンパ
ス記述挿入手段6に渡す。
When the processing in step S67 is completed, the register information editing means 5 re-sorts the records of the register information 3 sorted in step S66 in the order of appearance in the function description (step S67). It is passed to the description insertion means 6.

【0034】スキャンパス記述挿入手段6は制御を渡さ
れると、図7に示すように、機能記述1を1文読み込み
(ステップS71)、読み込んだ1文がスキャン接続を
行なうべきレジスタ、即ちスキャンパスを構成するレジ
スタ対応のレジスタ記述か否かを判定する (ステップS
72)。この判定は、読み込んだ1文とレジスタ情報3
とを突き合わせることにより行なうものであり、例え
ば、読み込んだ1文がレジスタ記述であり、且つレジス
タ記述に記載されているレジスタ名を有するレジスタ情
報3中のレコードにスキャン順が設定されている場合、
スキャン接続を行なうべきレジスタ対応のレジスタ記述
であると判定するものである。
When the control is passed to the scan path description inserting means 6, the function description 1 is read as one sentence as shown in FIG.
(Step S71), it is determined whether or not the read one sentence is a register to be subjected to scan connection, that is, a register description corresponding to a register constituting a scan path (Step S71).
72). This judgment is based on one sentence read and register information 3
For example, when one sentence read is a register description and the record in the register information 3 having the register name described in the register description is set to the scan order. ,
It is determined that the register description corresponds to a register to be connected for scan connection.

【0035】そして、ステップS72の判断結果がNO
の場合はスキャンパス記述挿入手段6は読み込んだ1文
を元のイメージのまま出力する (ステップS73)。
Then, the determination result of step S72 is NO.
In the case of, the scan path description insertion means 6 outputs the read one sentence as the original image (step S73).

【0036】また、ステップS72の判断結果がYES
の場合は、スキャンパス記述挿入手段6は読み込んだレ
ジスタ記述に対応するレジスタ情報3中のレコードに基
づいて作成したスキャンパス記述を、読み込んだレジス
タ記述に追加して出力する (ステップS74)。
If the result of the determination in step S72 is YES
In the case of (1), the scan path description insertion means 6 adds the scan path description created based on the record in the register information 3 corresponding to the read register description to the read register description and outputs the result (step S74).

【0037】図8はスキャンパス記述が追加される前の
レジスタ名REGXを有するレジスタについてのレジス
タ記述であり、このレジスタ記述をステップS71で読
み込んだ場合を例にとってステップS74の処理を説明
すると次のようになる。尚、図8のレジスタ記述は、マ
スタリセットMRSTがONになった場合にレジスタR
EGXの値を“0”にし、マスタリセットMRSTがO
FFの場合にクロックCLKAが立ち上がったらデータ
をレジスタREGXに設定し、それ以外の場合はレジス
タREGXの内容を保持することを示している。
FIG. 8 shows the register description of the register having the register name REGX before the scan path description is added. The process of step S74 will be described below by taking as an example a case where this register description is read in step S71. Become like It should be noted that the register description in FIG. 8 indicates that when the master reset MRST is turned on, the register R
EGX value is set to “0” and master reset MRST is
In the case of the FF, when the clock CLKA rises, data is set in the register REGX, and otherwise, the content of the register REGX is held.

【0038】図8のレジスタ記述はレジスタ名REGX
のレジスタについてのものであるので、スキャンパス記
述挿入手段6は図2に示したレジスタ情報3を参照し、
レジスタ名REGXを有するレコード中のスキャンイン
信号,スキャン順を読み込む。
The register description shown in FIG.
Therefore, the scan path description inserting means 6 refers to the register information 3 shown in FIG.
The scan-in signal and the scan order in the record having the register name REGX are read.

【0039】次いで、スキャンパス記述挿入手段6は読
み込んだスキャンイン信号に基づいてスキャン動作時に
どのレジスタの値をレジスタREGXにシフトするのか
を示すスキャンパス記述を作成する。今、例えば、スキ
ャン挿入指定4が全レジスタ挿入モードであるとする
と、図2に示したレジスタ情報3のレジスタ名REGX
を有するレコード中のスキャンイン信号はREGCとな
っているので、スキャンパス記述挿入手段6はレジスタ
REGXにレジスタREGCの値をシストすることを示
すスキャンパス記述を作成することになる。
Next, the scan path description insertion means 6 creates a scan path description indicating which register value is to be shifted to the register REGX during the scan operation based on the read scan-in signal. Now, for example, assuming that the scan insertion designation 4 is the all register insertion mode, the register name REGX of the register information 3 shown in FIG.
Since the scan-in signal in the record having the symbol "REGC" is REGC, the scan path description inserting means 6 creates a scan path description indicating that the value of the register REGC is to be registered in the register REGX.

【0040】次いで、スキャンパス記述挿入手段6はス
キャン順が最初,最後を表しているか否かを判断し、最
初,最後を表していないと判断した場合は先に作成して
あるスキャンパス記述を図8に示したレジスタ記述に追
加する。また、最初或いは最後を表していると判断した
場合はスキャンパス記述挿入手段6は更にレジスタRE
GXをスキャンアウト端子,スキャンイン端子に接続す
ることを示すスキャンパス記述を作成し、先に作成して
あるスキャンパス記述と共に図8に示したレジスタ記述
に追加する。この例の場合、レジスタ情報3のレジスタ
名REGXを有するレコード中のスキャン順は最初,最
後を表していないので、スキャンパス記述挿入手段6は
レジスタREGCの値をレジスタREGXにシフトする
ことを示すスキャンパス記述のみを図8に示したレジス
タ情報に追加することになる。
Next, the scan path description inserting means 6 determines whether or not the scan order represents the first or last. If it is determined that the first or last does not represent the scan order, the previously created scan path description is added. It is added to the register description shown in FIG. If it is determined that it indicates the beginning or end, the scan path description insertion means 6 further stores the register RE.
A scan path description indicating that GX is connected to the scan-out terminal and the scan-in terminal is created, and added to the register description shown in FIG. 8 together with the previously created scan path description. In the case of this example, since the scan order in the record having the register name REGX of the register information 3 does not indicate the first or last, the scan path description inserting means 6 indicates that the value of the register REGC is to be shifted to the register REGX. Only the campus description will be added to the register information shown in FIG.

【0041】図9は上述したようにしてスキャンパス記
述が追加されたレジスタ記述を示したものであり、マス
タリセットMRSTがONになった場合にレジスタRE
GXの値を“0”にし、スキャンモードコントロールS
MCがONの時にクロックCLKAが立ち上がった場合
はレジスタREGXにレジスタREGCの値をシフト
し、スキャンモードコントロールSMCがOFFの時に
クロックCLKAが立ち上がった場合はデータをレジス
タREGXに設定し、それ以外の場合はレジスタREG
Xの内容を保持することを示している。
FIG. 9 shows a register description to which the scan path description has been added as described above. When the master reset MRST is turned on, the register RE is output.
Set the value of GX to “0” and set the scan mode control S
If the clock CLKA rises when the MC is ON, the value of the register REGC is shifted to the register REGX. If the clock CLKA rises when the scan mode control SMC is OFF, the data is set in the register REGX. Otherwise, Is the register REG
This indicates that the contents of X are retained.

【0042】スキャンパス記述挿入手段6はステップS
73或いはステップS74の処理が終了すると、機能記
述1から次の1文を読み込み (ステップS75)、機能
記述1の全ての文を読み込んだか否かを判断する (ステ
ップS76)。
The scan path description inserting means 6 determines in step S
When the processing of 73 or step S74 is completed, the next one sentence is read from the function description 1 (step S75), and it is determined whether or not all the sentences of the function description 1 have been read (step S76).

【0043】そして読み込んだと判断した場合は制御を
論理合成手段8に渡し、読み込んでいないと判断した場
合はステップS72の処理に戻る。
If it is determined that the data has been read, the control is passed to the logic synthesizing means 8. If it is determined that the data has not been read, the process returns to step S72.

【0044】機能記述1の全ての文に対して前述した処
理を行なうことによりスキャン付機能記述7が作成され
る。
By performing the above-described processing on all the sentences in the function description 1, the function description with scan 7 is created.

【0045】論理合成手段8は制御が渡されると、スキ
ャン付機能記述7をゲートレベルの回路記述9に変換す
る。
When the control is passed, the logic synthesizing means 8 converts the function description with scan 7 into a circuit description 9 at the gate level.

【0046】[0046]

【発明の効果】以上説明したように、本発明は、機能記
述解析手段,レジスタ情報編集手段,スキャンパス記述
挿入手段を設け、スキャンパス記述を自動的に論理回路
の機能記述中に挿入できるようにしたものであるので、
設計者に負担をかけることなく、誤りのないスキャンパ
ス記述を論理回路の機能記述中に挿入することが可能に
なる効果がある。また、機能記述中にスキャンパス記述
が挿入されるため、設計者がスキャンパスの内容を認識
しやすいという効果もある。
As described above, according to the present invention, the function description analyzing means, the register information editing means and the scan path description inserting means are provided so that the scan path description can be automatically inserted into the function description of the logic circuit. Because it was
There is an effect that it is possible to insert an error-free scan path description into a function description of a logic circuit without putting a burden on a designer. Further, since the scan path description is inserted in the function description, there is an effect that the designer can easily recognize the contents of the scan path.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】レジスタ情報3の一例を示した図である。FIG. 2 is a diagram showing an example of register information 3;

【図3】スキャン挿入指定4の一例を示した図である。FIG. 3 is a diagram showing an example of a scan insertion designation 4;

【図4】スキャン挿入指定4の他の例を示した図であ
る。
FIG. 4 is a diagram showing another example of scan insertion designation 4;

【図5】スキャン挿入指定4のその他の例を示した図で
ある。
FIG. 5 is a diagram showing another example of scan insertion designation 4;

【図6】レジスタ情報編集手段5の処理例を示すフロー
チャートである。
FIG. 6 is a flowchart showing a processing example of a register information editing means 5;

【図7】スキャンパス記述挿入手段6の処理例を示すフ
ローチャートである。
FIG. 7 is a flowchart illustrating a processing example of a scan path description inserting unit 6;

【図8】スキャンパス記述を挿入する前の機能記述の一
例を示す図である。
FIG. 8 is a diagram illustrating an example of a function description before a scan path description is inserted.

【図9】スキャンパス記述を挿入した後の機能記述の一
例を示す図である。
FIG. 9 is a diagram illustrating an example of a function description after a scan path description has been inserted;

【符号の説明】[Explanation of symbols]

1…機能記述 2…機能記述解析手段 3…レジスタ情報 4…スキャン挿入指定 5…レジスタ情報編集手段 6…スキャンパス記述挿入手段 7…スキャン付機能記述 8…論理合成手段 9…ゲートレベルの回路記述 DESCRIPTION OF SYMBOLS 1 ... Function description 2 ... Function description analysis means 3 ... Register information 4 ... Scan insertion designation 5 ... Register information editing means 6 ... Scan path description insertion means 7 ... Function description with scan 8 ... Logic synthesis means 9 ... Gate level circuit description

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 スキャンパス記述が記載されていない論
理回路の機能記述を解析し、前記機能記述に記載されて
いるレジスタのレジスタ名を含むレジスタ情報を抽出す
る機能記述解析手段と、 スキャンパスを構成するレジスタの接続順を指定するス
キャン挿入指定に従って前記機能記述解析手段が抽出し
たレジスタ情報中の各レジスタ名に対応付けてそのレジ
スタ名を有するレジスタの他のレジスタとの接続関係を
示す情報を付加するレジスタ情報編集手段と、 前記スキャンパス記述が記載されていない機能記述と前
記レジスタ情報編集手段によって接続関係を示す情報が
付加されたレジスタ情報とに基づいて前記機能記述にス
キャンパス記述を挿入するスキャンパス記述挿入手段と
を含むことを特徴とするスキャンパス設計方式。
A function description analyzing unit that analyzes a function description of a logic circuit in which a scan path description is not described, and extracts register information including a register name of a register described in the function description; According to the scan insertion specification that specifies the connection order of the constituent registers, the function description analysis unit associates each register name in the register information extracted by the function description analysis unit with information indicating a connection relationship between the register having the register name and another register. A register information editing unit to be added; and a scan path description inserted into the function description based on the function description in which the scan path description is not described and the register information to which information indicating a connection relationship is added by the register information editing unit. And a scan path description inserting unit.
【請求項2】 前記スキャン挿入指定は機能記述中の出
現順にレジスタを接続すること、または、指定したレジ
スタ名の順にレジスタを接続することを指定することを
特徴とする請求項1記載のスキャンパス設計方式。
2. The scan path according to claim 1, wherein the scan insertion designation designates connection of registers in the order of appearance in the function description or connection of registers in the order of the designated register name. Design method.
【請求項3】 前記レジスタ情報はレジスタに供給され
るクロックのクロック名を含み、前記スキャン挿入指定
は指定したクロック名の順にレジスタを接続することを
指定することを特徴とする請求項1記載のスキャンパス
設計方式。
3. The method according to claim 1, wherein the register information includes a clock name of a clock supplied to the register, and the scan insertion specification specifies connection of the register in the order of the specified clock name. Scan path design method.
JP4130099A 1992-04-23 1992-04-23 Scan path design method Expired - Fee Related JP2760212B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4130099A JP2760212B2 (en) 1992-04-23 1992-04-23 Scan path design method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4130099A JP2760212B2 (en) 1992-04-23 1992-04-23 Scan path design method

Publications (2)

Publication Number Publication Date
JPH05298392A JPH05298392A (en) 1993-11-12
JP2760212B2 true JP2760212B2 (en) 1998-05-28

Family

ID=15025926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4130099A Expired - Fee Related JP2760212B2 (en) 1992-04-23 1992-04-23 Scan path design method

Country Status (1)

Country Link
JP (1) JP2760212B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2866435B1 (en) * 2004-02-13 2008-04-04 Inst Nat Polytech Grenoble METHOD FOR AUTOMATICALLY PRODUCING HDL DESCRIPTION FILES OF INTEGRATED DIGITAL ELECTRONIC SYSTEM AND INTEGRATED DIGITAL ELECTRONIC DIGITAL SYSTEM OBTAINED

Also Published As

Publication number Publication date
JPH05298392A (en) 1993-11-12

Similar Documents

Publication Publication Date Title
US4803636A (en) Circuit translator
US6226780B1 (en) Circuit design method and apparatus supporting a plurality of hardware design languages
US6026226A (en) Local compilation in context within a design hierarchy
US5892682A (en) Method and apparatus for generating a hierarchical interconnection description of an integrated circuit design and using the description to edit the integrated circuit design
WO1992016899A1 (en) Circuit simulation interface methods
JP2760212B2 (en) Scan path design method
US6684381B1 (en) Hardware description language-embedded regular expression support for module iteration and interconnection
US7028273B2 (en) Delay optimization designing system and delay optimization designing method for a logic circuit and control program
EP0907133B1 (en) Checking circuit design
US5490082A (en) Method of graphically designing circuits
JP2583631B2 (en) Circuit model generation method
JP3759007B2 (en) Asynchronous circuit timing verification apparatus and timing verification method thereof
Avra et al. Behavioral synthesis of testable systems with VHDL
JPH04172529A (en) Automatic program generating system by data oriented software parts
JPH1125136A (en) Device and method for generating hdl description, and recording medium recorded with hdl description generating program
JP3105782B2 (en) Logic generation method for electronic circuits
JP2604551B2 (en) File dump output support method
JP3047884B2 (en) Logic synthesis method and apparatus
US20040205610A1 (en) System for automated generation of data path macro cells
JPH08328840A (en) Program synthesizing method
JP3652220B2 (en) Logic circuit verification device, logic circuit verification method, and recording medium storing logic circuit verification program
JP3024604B2 (en) Block library output method and output device
JPS63158664A (en) Document processing system for tree structure type document management
JPH05242179A (en) Circuit diagram editor system
JPH0195365A (en) Analyzing processing system for critical path

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080320

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees