![]() |
|
|
|
#1 |
|
Hello,
I am writing in Python small VHDL package parser I wonder whether there is a free VHDL -> XML parser so I could extract the information using one of available XML parsers it could be a binary or source code(language doesn't matter) Regards, Daniel =?ISO-8859-1?Q?Sch=FCle_Daniel?= |
|
|
|
|
#2 |
|
Posts: n/a
|
Schüle Daniel wrote:
> I am writing in Python small VHDL package parser > I wonder whether there is a free VHDL -> XML parser A VHDL source file is not valid XML so maybe you mean a text to XML converter. I don't understand how this would help with parsing a VHDL package. -- Mike Treseler |
|
|
|
#3 |
|
Posts: n/a
|
Any language including HDLs can be parsed to a Abstract Syntax Tree or
a Control/Data Flow graph and this intermediate format can be saved in say XML. And other tools (like simulators, synthesis, formal, ...) can use this XML to do some kind of processing or manipulate the tree and display it.... EdaXML or other standards are coming that use XML for this. You can find some information on: http://xml.coverpages.org/xmlAndEDA.html More examples here: http://www.moxon.com/2001/11/16/chan...111161130.html I can imagine big EDA venors already use some sort of XML representation. Synopsys's CoreTools (CoreAssembler, CoreCunsultant), and Mentor's Platform express use SPIRIT (http://www.spiritconsortium.com) for IP integration using XML. I guess a starting point is to do the parser and then define the XML representation and dump the parse tree or Control/Data Flow graph in XML. -- Amal |
|
|
|
#4 |
|
Posts: n/a
|
"Amal" <> wrote in message
news: oups.com... > Any language including HDLs can be parsed to a Abstract Syntax Tree or > a Control/Data Flow graph and this intermediate format can be saved in > say XML. And other tools (like simulators, synthesis, formal, ...) can > use this XML to do some kind of processing or manipulate the tree and > display it.... > > EdaXML or other standards are coming that use XML for this. You can > find some information on: > http://xml.coverpages.org/xmlAndEDA.html > More examples here: > http://www.moxon.com/2001/11/16/chan...111161130.html > > I can imagine big EDA venors already use some sort of XML > representation. Synopsys's CoreTools (CoreAssembler, CoreCunsultant), > and Mentor's Platform express use SPIRIT > (http://www.spiritconsortium.com) for IP integration using XML. > > I guess a starting point is to do the parser and then define the XML > representation and dump the parse tree or Control/Data Flow graph in > XML. > -- Amal Our DMS Software Reengineering Toolkit parses Verilog and VHDL in several dialects and can export XML. We don't often recommend this option because the XML is usually enormous. YMMV. http://www.semanticdesigns.com/Produ...MSToolkit.html -- Ira Baxter, CTO www.semanticdesigns.com |
|