electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to implement VHDL grammer in TCL


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> How to implement VHDL grammer in TCL
Author Message
asjoshi



Joined: 29 Mar 2002
Posts: 21


Post24 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


Post25 Dec 2003 12:38   


read into design compiler then report it.
Back to top
asjoshi



Joined: 29 Mar 2002
Posts: 21


Post27 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


Post05 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
Google Adsense




Post05 Jan 2004 5:21   

Ads




Back to top
asjoshi



Joined: 29 Mar 2002
Posts: 21


Post05 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
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> How to implement VHDL grammer in TCL
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to implement a divider by VHDL? (5)
How to Implement IPv4 in VHDL (1)
How to program a VHDL to implement demodulation of AM, FM, P (2)
How to implement an absolute value in VHDL (3)
[vhdl] how to implement PCI contrller ? where IP core?? (5)
How to implement random data generator in Verilog or VHDL (1)
[vhdl]how to implement "division" ?thx!! (5)
TCL, Perl, VHDL. (5)
Free Tcl/Tk Based Testbench Generator for VHDL/ModelSim (2)
TCL tutorial or example to write testbench for VHDL code (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS