JPH04111169A - Circuit design system - Google Patents

Circuit design system

Info

Publication number
JPH04111169A
JPH04111169A JP2231182A JP23118290A JPH04111169A JP H04111169 A JPH04111169 A JP H04111169A JP 2231182 A JP2231182 A JP 2231182A JP 23118290 A JP23118290 A JP 23118290A JP H04111169 A JPH04111169 A JP H04111169A
Authority
JP
Japan
Prior art keywords
editor
graph
rule
circuit
attribute
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
JP2231182A
Other languages
Japanese (ja)
Inventor
Hiroshi Shimura
浩 志村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2231182A priority Critical patent/JPH04111169A/en
Publication of JPH04111169A publication Critical patent/JPH04111169A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily design a pipe line processing circuit by referring to a means where a question rule is stored, deciding the details of the attribute of an element, referring to a means where a conversion rule is stored, and converting a directed graph having operation attribute into a circuit diagram. CONSTITUTION:A user selects a data pass from among menues, connects the selected data passes according to the flow of data with the directed graph. A detail decision part 5 retrieves a table 4 where the question rule is stored based on the output of a graphic editor 3 to decide each attribute of the data pass, operation, and signals, and the question items are presented to a designer by displayed in an area 23 of an editor 3. A circuit conversion part 7 refers to a table 6 where the conversion rule is stored to be converted the directed graph having operation attribute into the circuit diagram.

Description

【発明の詳細な説明】 〔産業上の利用分野1 本発明は、回路設計方式に関し、特に動作付き有向グラ
フから回路を自動生成する設計方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field 1] The present invention relates to a circuit design method, and particularly to a design method for automatically generating a circuit from a directed graph with behavior.

[従来技術] 従来の計算機支援設計システムとして、フロチャートを
入力することによって回路設計を可能にした論理合成シ
ステムが知られている(例えば、特開平1−30918
5号公報)。
[Prior Art] As a conventional computer-aided design system, a logic synthesis system that enables circuit design by inputting a flowchart is known (for example, Japanese Patent Application Laid-Open No. 1-30918
Publication No. 5).

〔発明が解決しようとする課題1 上記した技術は、ハードウェアの専門家でないソフトウ
ェアエンジニアでも、フローチャートを記述するだけで
回路を自動的に生成できるが、パイプライン処理(パイ
プライン状に接続した処理モジュール群にデータを送り
こみ、ある遅延時間後連続して出力が得られるようにし
た処理形式)をフローチャートで記述することは煩雑に
なると共に、そのデータの流れが複雑化するという欠点
があった。更に、従来の有向グラフは、ノード間の接続
関係のみしか記述できず、汎用性に欠けるという問題が
あった。
[Problem to be Solved by the Invention 1] The above technology allows even software engineers who are not hardware experts to automatically generate circuits by simply writing a flowchart. Describing a processing format (a processing format in which data is sent to a group of modules and output is obtained continuously after a certain delay time) in a flowchart is complicated, and the flow of data becomes complicated. . Furthermore, conventional directed graphs can only describe connection relationships between nodes, and thus lack versatility.

本発明のUJ的(=、パノ′プラ・′シ処理囲路を容易
に設計−lる二とができる回路設計力式を提供すること
にある。
It is an object of the present invention to provide a circuit design formula that can easily design a panoply processing circuit.

ε課題を解決するだめの手段] R+i記目的を達成するために、本発明では、LSIの
階層設計を?−テうC1λL)システム、−おいて、動
作属性を看する有向グラフを編集するグラフエディタと
、該グラフエディタで使用する要素を定義したエディタ
メニューを記憶する手段と、該グラフエディタの編集ル
ールを記憶する手段と、前記要素の詳細を決定す乙ため
の質、間ルールを記憶する手段と、該グラフエディタの
出力に基ついて該質問ルールか記憶された手段を参照し
、前記要素の属性の詳細を決定する詳細決定手段と、回
路図を作成するための変換ルールを記憶する手段と、該
変換ルールか記憶されている手段を参照して、前記動作
属性を有する有向グラフを回路図に変換する回路変換艷
段とを設けている5 [(¥ 用] ユーザは、キーボードあるいはマウスを用いて表示され
たメニュー中がつデータバスを選択して、画面中の所定
の位置に表示する。選択されたブタパス間をデータの流
れに従って有向グラフで接続する。そのとき、表示され
ているメニューかUつ動作を選択し、グラフの接続関係
に動作の属性を付加することによって動作付きの不向グ
ラフを作成し、その作成された動作付き有向グラフを回
路図に自動的に変換する。
[Means for Solving the ε Problem] In order to achieve the R+i objectives, the present invention proposes a hierarchical design of LSI. -C1λL) system, - a graph editor for editing a directed graph that views behavioral attributes, a means for storing an editor menu defining elements used in the graph editor, and an editing rule for the graph editor. a means for storing quality rules for determining the details of the element; and a means for determining the attribute details of the element by referring to the query rule or the stored means based on the output of the graph editor. a circuit for converting a directed graph having the behavior attribute into a circuit diagram by referring to the stored conversion rule; The user uses the keyboard or mouse to select the data bus in the displayed menu and displays it at a predetermined position on the screen. Connect the pig paths with a directed graph according to the data flow. At that time, select U action from the displayed menu and create an undirected graph with actions by adding action attributes to the connection relationship of the graph. , automatically converts the created directed graph with behavior into a circuit diagram.

[実施例〕 以下、木発°明の一実施例を図面を用いて具体的に説明
する。
[Example] Hereinafter, an example of the wooden invention will be specifically described with reference to the drawings.

第1図は、本発明の一実施例に係る機能ブロック図であ
る。
FIG. 1 is a functional block diagram according to an embodiment of the present invention.

」は、エディタメニューを記憶したテーブルで、後述す
るグラフエディタで使用可能な要素(ブタパス、動作、
信号)を定義したものである。こ二で、データバスとは
、データを保持する機能を有する回路てあ1几グラフの
ノードに相当している、データバスの具体的例を第6図
に示す(なお、加算器、乗算器はデータを保持するため
のラッチを備えているものとする)。また、動作とは、
クロック信号か入力した時のデータバスの動作を定義し
たもので、後述する回路変換時のデータバス間の接続関
係を表している。動作定義を第7図に示す。更に信号と
は、グラフの始点に相当する入力データとグラフの終点
に相当する出力データとを表し、その信号定義を第8図
に示す。
” is a table that stores editor menus, and includes elements that can be used in the graph editor (pig path, movement,
signal) is defined. Here, a data bus corresponds to a node in a circuit graph that has the function of holding data.A specific example of a data bus is shown in Figure 6 (adders, multipliers shall have a latch to hold data). Also, the operation is
It defines the operation of the data bus when a clock signal is input, and represents the connection relationship between the data buses during circuit conversion, which will be described later. The operation definition is shown in FIG. Furthermore, the signal represents input data corresponding to the starting point of the graph and output data corresponding to the ending point of the graph, and the signal definition is shown in FIG.

2は、グラフエディタの編集ルールを記憶したテーブル
で、各データバスにおける使用可能な動作を定義したも
ので、そのルールを第9図に示す。
2 is a table storing editing rules for the graph editor, which defines usable operations on each data bus, and the rules are shown in FIG.

3は、動作付き有向グラフ用のグラフィックエディタで
、その画面イメージを第2図に示す。第2図において、
21は動作付き有向グラフを作成するための作業領域、
22はエディタメニューを記憶したテーブル1から読み
たされたメニューが表示される領域、23は後述する質
問ルールが表示される領域であり、ユーザとの対話用の
ウィンドウである。
3 is a graphic editor for directed graphs with actions, and the screen image thereof is shown in FIG. In Figure 2,
21 is a work area for creating a directed graph with behavior;
Reference numeral 22 is an area where a menu read from table 1 that stores editor menus is displayed, and 23 is an area where question rules to be described later are displayed, and is a window for interaction with the user.

ユーザは、キーボードあるいはマウスを用いて表示され
たメニュー中からデータバスを選択して、それが画面中
の所定の位置に表示されるように指軍する。そして、選
択されたデータバス間をブタの流れに従って有向グラフ
で接続する。その場合、表示されているメニューがら動
作を選択し、グラフの接続関係に動作の属性を付加する
ことによって動作付きの有向グラフを作成する。また、
外部信号とのインターフェースは、信号メニュ(1人、
○じ丁)から選択する。
The user selects a data bus from the displayed menu using the keyboard or mouse and directs it to be displayed at a predetermined position on the screen. Then, the selected data buses are connected using a directed graph according to the flow of the pig. In that case, a directed graph with an action is created by selecting an action from the displayed menu and adding an attribute of the action to the connection relationship of the graph. Also,
Interface with external signals can be done using the signal menu (1 person,
○Select from

4は、データバス、動作、信号の詳細を決定するための
質問ルールが記憶されたテーブルである。
4 is a table in which interrogation rules for determining details of data buses, operations, and signals are stored.

このテーブルには更に設計者に対する選択肢(例えば、
ビット数の選択)、アドバイス(文字数の指定)などが
設けられている。第10図に質問ルルを示す。
This table further includes options for the designer (e.g.
(selection of number of bits), advice (designation of number of characters), etc. Figure 10 shows the question rule.

5は、詳細決定部で、データバス、動作、信号の各属性
を決定するために、グラフィックエディタ3の出力に基
づいて質問ルールが記憶されたテブル4を検索して、質
問項目をエディタ3の領域23に表示することによって
設計者に提示する。
Reference numeral 5 denotes a detailed determination unit which searches table 4 in which question rules are stored based on the output of graphic editor 3 and converts the question items into editor 3 in order to determine each attribute of the data bus, operation, and signal. It is presented to the designer by displaying it in area 23.

その場合、設計者が質問に答え易いようにアドバイスあ
るいは選択肢などを提示する。設計者は提示された質問
項目に対して応える二とによって、データバス、動作、
信号の各属性か決定される。
In that case, advice or options are presented to help the designer answer the question. By answering the questions presented, the designer determines the data bus, operation,
Each attribute of the signal is determined.

6は、回路図を作成するための変換ルールか記憶されて
いるテーブルであり、第】1図に変換ルルを示す。
6 is a table storing conversion rules for creating a circuit diagram, and FIG. 1 shows the conversion rules.

7は、変換ルールが記憶されているテーブル6を参照し
て、動作付き有向グラフを回路図に変換する回路変換部
である。
Reference numeral 7 denotes a circuit conversion unit that converts the directed graph with behavior into a circuit diagram by referring to the table 6 in which conversion rules are stored.

以下、具体的な例を用いて本発明を説明する。The present invention will be explained below using specific examples.

第3図は、グラフィックエディタ3によって作成された
動作付き有向グラフの例を示し、31から33はデータ
バスであるレジスタ、34.35は加算器、36はカウ
ンタであり、データバス間には動作の属性(MOV、5
FTL1等)が付加されている。このグラフは、入力I
Nを11(10進)倍した結果とFF(16進)との論
理積を出力OUTに出力する処理をシフト動作と加算器
を用いて表現したものである。データバス間の矢印は、
1クロツクにおける状態遷移を表している。
FIG. 3 shows an example of a directed graph with operations created by the graphic editor 3, in which 31 to 33 are registers that are data buses, 34 and 35 are adders, and 36 is a counter. Attribute (MOV, 5
FTL1 etc.) are added. This graph shows the input I
The process of outputting the AND of the result of multiplying N by 11 (decimal) and FF (hexadecimal) to the output OUT is expressed using a shift operation and an adder. The arrows between the data buses
It represents the state transition in one clock.

第4図は、パイプラインの動作をクロックと共に示す。FIG. 4 shows the operation of the pipeline along with clocks.

R3丁信号により回路はりマット状態になり1、CLK
信号によってパイプライン処理か進行する。第1クロツ
クか入ると第1の入力■\1かREGiに転送される。
The circuit becomes matte state due to R3 signal and 1, CLK
Pipeline processing progresses depending on the signal. When the first clock is input, it is transferred to the first input ■\1 or REGi.

第2のクロックでl二\1と■\]X2 (SETLI
)かA D D lへ、■\1かREG2へ、第2の入
力■N2かRE G lに転送される。第3のクロッつ
てREG2を8倍(SFTL3)したlNlX8とA 
D D lの結果(lNlX3)がADD2へ、■X2
と■\2×2がADDlへ、IN2がREG2へ、第3
の入力IN3がREG 1に転送される。第4のクロッ
クで、ADD2の結果(INlx+1)とFF(16進
)とのAND出力がREG3へ、REG2を8倍した■
N2×8とADDlの結果(■\2×3)がADD2へ
、IN3と■\3×2がADDIへ IN3がREG2
へ、第4の入力■き4がREGIに転送される。以下、
同様に動作するのでその説明を省略する。
At the second clock l2\1 and ■\]X2 (SETLI
) or A D D l, ■ \1 or REG2, and the second input ■ N2 or RE G l. lNlX8 and A with the third clock and REG2 multiplied by 8 (SFTL3)
D D l result (lNlX3) goes to ADD2, ■X2
and■\2×2 goes to ADDl, IN2 goes to REG2, 3rd
input IN3 is transferred to REG1. At the fourth clock, the AND output of the result of ADD2 (INlx+1) and FF (hexadecimal) is sent to REG3, which is REG2 multiplied by 8.■
The result of N2×8 and ADDl (■\2×3) goes to ADD2, IN3 and ■\3×2 go to ADDI, IN3 goes to REG2
, the fourth input 4 is transferred to REGI. below,
Since it operates in the same way, its explanation will be omitted.

第5図は、第3図の動作付き有向グラフを第11図の変
換ルールを用いて変換した回路図である。
FIG. 5 is a circuit diagram obtained by converting the directed graph with behavior shown in FIG. 3 using the conversion rules shown in FIG. 11.

この回路図において、REG2と、A D D 2との
間の接続ライン51は、3ビツトずらして配線され、R
EGIとADDlとの間の接続ライン52は、1ビツト
ずらして配線されるように設計される。
In this circuit diagram, the connection line 51 between REG2 and ADD2 is wired with a 3-bit shift, and R
The connection line 52 between EGI and ADDl is designed to be wired with a one bit shift.

また、接続ライン53においてCLKとインクリメント
端子が接続されるように設計される。
Further, the connection line 53 is designed to connect CLK and an increment terminal.

[発明の効果] 以上、説明したように、本発明によれば、動作付き有向
グラフから回路が自動生成されるので、データの流れを
容易に把握することができる設計方式が得られる。
[Effects of the Invention] As described above, according to the present invention, a circuit is automatically generated from a directed graph with behavior, so a design method that allows easy understanding of data flow can be obtained.

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

第1図は、本発明の一実施例に係る機能プロ・ツク図、
第2図は、本発明のグラフィックエディタの画面イメー
ジを示す図、第3図は、グラフィ・ツクエディタによっ
て作成された動作付き有向グラフの例を示す図、第4図
は、パイプラインの動作をクロックと共に示す図、第5
図は、動作付き有向グラフを変換ルールを用いて変換し
た回路図を示す図、第6図は、データバスの具体的な例
を示す図、第7図は、動作定義を示す図、第8図は、信
号定義を示す図、第9図は、編集ルールを示す図、第1
0図は、質問ルールを示す図、第11図は変換ルールを
示す図である。 エディタメニューを記憶したテーブル、2°グラフエデ
イタの編集ルールを記憶したテーブル、  3・・動作
付き有向グラフ用のグラフィックエディタ、 4・・・
質問ルールか記憶されたテーブル、  5・・詳細決定
部、  6 回路図を作成するための変換ルールが記憶
されているテーブル、  7・・・動作付き有向グラフ
を回路図に変換する回路変換部。 第 1図 01、IT−ADR5 00丁 N 第6図 亡−タ11’ス iカイYニナ\1ζ( 第10図 噴量比 jし 第S図 1↓芳!入 第9図 第11図 笈才鼾し−jし
FIG. 1 is a functional block diagram according to an embodiment of the present invention;
Figure 2 shows a screen image of the graphic editor of the present invention, Figure 3 shows an example of a directed graph with motion created by the graphics editor, and Figure 4 clocks the pipeline operation. Figure 5 shown with
The figure shows a circuit diagram obtained by converting a directed graph with behavior using conversion rules, Figure 6 shows a specific example of a data bus, Figure 7 shows a behavior definition, and Figure 8 9 is a diagram showing the signal definition, FIG. 9 is a diagram showing the editing rules, and 1st
FIG. 0 is a diagram showing the question rule, and FIG. 11 is a diagram showing the conversion rule. A table that stores the editor menu, a table that stores the editing rules of the 2° graph editor, 3. A graphic editor for directed graphs with motion, 4.
A table in which question rules are stored; 5. Detail determination section; 6. A table in which conversion rules for creating a circuit diagram are stored; 7. A circuit conversion section that converts a directed graph with behavior into a circuit diagram. Fig. 1 01, IT-ADR5 00 N I'm a smart snorer.

Claims (1)

【特許請求の範囲】[Claims] (1)LSIの階層設計を行うCADシステムにおいて
、動作属性を有する有向グラフを編集するグラフエディ
タと、該グラフエディタで使用する要素を定義したエデ
ィタメニューを記憶する手段と、該グラフエディタの編
集ルールを記憶する手段と、前記要素の詳細を決定する
ための質問ルールを記憶する手段と、該グラフエディタ
の出力に基づいて該質問ルールが記憶された手段を参照
し、前記要素の属性の詳細を決定する詳細決定手段と、
回路図を作成するための変換ルールを記憶する手段と、
該変換ルールが記憶されている手段を参照して、前記動
作属性を有する有向グラフを回路図に変換する回路変換
手段とを備えたことを特徴とする回路設計方式。
(1) In a CAD system that performs hierarchical design of LSI, a graph editor for editing a directed graph having behavioral attributes, a means for storing an editor menu defining elements used in the graph editor, and an editing rule for the graph editor are provided. means for storing, a means for storing a question rule for determining details of the element, and a means in which the question rule is stored based on the output of the graph editor, and determining details of the attribute of the element. a means for determining details;
a means for storing conversion rules for creating a circuit diagram;
1. A circuit design method comprising: circuit conversion means for converting a directed graph having the behavior attribute into a circuit diagram by referring to a means in which the conversion rule is stored.
JP2231182A 1990-08-31 1990-08-31 Circuit design system Pending JPH04111169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2231182A JPH04111169A (en) 1990-08-31 1990-08-31 Circuit design system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2231182A JPH04111169A (en) 1990-08-31 1990-08-31 Circuit design system

Publications (1)

Publication Number Publication Date
JPH04111169A true JPH04111169A (en) 1992-04-13

Family

ID=16919610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2231182A Pending JPH04111169A (en) 1990-08-31 1990-08-31 Circuit design system

Country Status (1)

Country Link
JP (1) JPH04111169A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160188773A1 (en) * 2014-12-24 2016-06-30 Dae-Kwon Kang Electronic design automation method and apparatus thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160188773A1 (en) * 2014-12-24 2016-06-30 Dae-Kwon Kang Electronic design automation method and apparatus thereof
US9836565B2 (en) * 2014-12-24 2017-12-05 Samsung Electronics Co., Ltd. Electronic design automation method and apparatus thereof

Similar Documents

Publication Publication Date Title
US6536031B2 (en) Method for generating behavior model description of circuit and apparatus for logic verification
Hix Generations of user-interface management systems
JP2000155777A (en) Electronic circuit
JPH11250113A (en) Lsi power consumption estimating system
JPH04111169A (en) Circuit design system
US5740070A (en) Apparatus for automatically generating logic circuit
Bergamaschi et al. A system for production use of high-level synthesis
Poole Self-timed logic circuits
JP2002222228A (en) High order synthesizing system and high order synthesizing method
Gauthier et al. HDLRuby, a new high productivity hardware description language
Amon et al. Timing analysis of concurrent systems
JP3197685B2 (en) High-level synthesis equipment
JP2006155533A (en) Circuit information generation device and circuit information generation method
US11501475B2 (en) Graphical representation of electronic circuit operation
JP3702475B2 (en) Automatic circuit generator
US5428550A (en) Hierarchical hardware flowchart using symbolic macros
JP2000057188A (en) Hardware and software cooperative evaluating device
JP2010026968A (en) Circuit generation support program and circuit generation support method
Shih et al. Toward a generic spatial/temporal computation model for multimedia presentations
JPH06110964A (en) System for optimizing sequential circuit
JP2002304295A (en) Method for describing graphical algorithm of block diagram base for development of image processing application
Hughes et al. Design-flow graph partitioning
JP2910661B2 (en) Circuit division evaluation method
JP3071882B2 (en) Logic circuit synthesizer
De Pablo et al. A proposal for ASM++ diagrams