vhdl -> xml parser

S

Schüle Daniel

Guest
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
 
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
 
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/channels/xml/200111161130.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
 
"Amal" <akhailtash@gmail.com> wrote in message
news:1152904077.779523.115060@m79g2000cwm.googlegroups.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/channels/xml/200111161130.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.

www.semanticdesigns.com/Products/DMS/DMSToolkit.html


--
Ira Baxter, CTO
www.semanticdesigns.com
 

Welcome to EDABoard.com

Sponsor

Back
Top