| Author |
Message |
asjoshi
Joined: 29 Mar 2002 Posts: 21
|
24 Dec 2003 5:27 How to implement VHDL grammer in TCL |
|
|
|
|
Hi,
I'm building a utility, which is nothing but a fast, crude synth tool in TCL language. The main aim is to find out flop pairs on clk-domian boundries. Besides, it may provide ino such as Number of flops, max combi logic level, etc per entity basis. This utility will b applicable to Design files only, and not TB files.
For this, i need to read and understand VHDL file. Currently I'm using TCL searching methods to get identifiers like IF-THEN-ENDIF, etc. But is there any VHDL grammer available readymade, for TCL.
I know, such grammer is available for lex-yacc, but I want to stick to TCL. Any info in this direction will b appreciated...
-asjoshi.
|
|
| Back to top |
|
 |
papertiger
Joined: 28 Dec 2002 Posts: 66
|
25 Dec 2003 12:38 |
|
|
|
|
| read into design compiler then report it.
|
|
| Back to top |
|
 |
asjoshi
Joined: 29 Mar 2002 Posts: 21
|
27 Dec 2003 7:11 Re: How to implement VHDL grammer in TCL |
|
|
|
|
Hi papertiger,
Could u xplain ur last post with some more details? That may help me a lot.
-asjoshi
|
|
| Back to top |
|
 |
andromeda
Joined: 26 Sep 2002 Posts: 71 Helped: 1
|
05 Jan 2004 5:21 Re: How to implement VHDL grammer in TCL |
|
|
|
|
What is purpose of your Tcl utility?
Maximum combinational logic level (and even a Flop number) depends from synthesis results (and is different for different synthesis constraints) and could not be found from RTL code. Maybe you do some estimation of those things?
Probably your utility loose it’s purpose if you load design into DC (or do the synthesis and load it into PT), and then use DC or PT to report whatever you want and scripts to extract something from those reports – but it is probably the easiest way to solve it.
|
|
| Back to top |
|
 |
Google AdSense

|
05 Jan 2004 5:21 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
asjoshi
Joined: 29 Mar 2002 Posts: 21
|
05 Jan 2004 6:10 Re: How to implement VHDL grammer in TCL |
|
|
|
|
Hi andromeda,
The main aim of the utility is to work fast, without any scripting. Actual synth by DC/PT may take few dayz in many of our proj. So this will be fast estimation utility. It will give approximate info. This is actually required in scalable IPs.
Also it was designed to chk flop-pairs on clk-domain boundries. It's a kind of design chk. I'm just thinking of adding some features like, max combi-logic level, etc.
The TCL implementation of LEX is called TcLex. Is anybody aware of it. I've dwnlded the TcLex pkg, trying to learn it. Plz help me if anybody has worked on it b4.
-asjoshi.
|
|
| Back to top |
|
 |