K
Kenneth Brun Nielsen
Guest
Any suggestions for how I can flatten a hierarchical Verilog netlist?
Any tools for the purpose?
Best regards,
Kenneth
Any tools for the purpose?
Best regards,
Kenneth
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Read it into a synthesis tool, don't do any optimization (justAny suggestions for how I can flatten a hierarchical Verilog netlist?
Any tools for the purpose?
I don't have access to a synthesis tool - does some freeware existOn Mon, 3 Jan 2011 06:03:10 -0800 (PST), Kenneth Brun Nielsen
kenneth.brun.niel...@googlemail.com> wrote:
Any suggestions for how I can flatten a hierarchical Verilog netlist?
Any tools for the purpose?
Read it into a synthesis tool, don't do any optimization (just
let the tool elaborate it) and then get it to write out in
Verilog with the tool's flatten-hierarchy option switched on?
If your Perl is quite a bit better than mine, you might like toAny suggestions for how I can flatten a hierarchical Verilog netlist?
Read it into a synthesis tool, [...]
I don't have access to a synthesis tool - does some freeware exist
with that option?
Given that you have sufficient bandwidth you should be able toI don't have access to a synthesis tool - does some freeware exist
with that option?
Yes, I tried to build a quick-and-dirty hierarchy-traverser, but itOn Mon, 3 Jan 2011 07:35:56 -0800 (PST), Kenneth Brun Nielsen wrote:
Any suggestions for how I can flatten a hierarchical Verilog netlist?
Read it into a synthesis tool, [...]
I don't have access to a synthesis tool - does some freeware exist
with that option?
If your Perl is quite a bit better than mine, you might like to
take a look at Wilson Snyder's Verilog-manipulation tools at
www.veripool.org/wiki/verilog-perl
Netlists are often created using a fairly simple subset of
Verilog, so it may be possible to write a custom parser that
will construct the hierarchy and write it out again in flat
organization. For netlists generated by synthesis tools,
that may be fairly straightforward. Some features of
Verilog may make it harder, though - defparam is an obvious
trip-wire.
Hi Nikolaos,Hi Kenneth
On Jan 3, 5:35 pm, Kenneth Brun Nielsen
kenneth.brun.niel...@googlemail.com> wrote:
I don't have access to a synthesis tool - does some freeware exist
with that option?
Given that you have sufficient bandwidth you should be able to
download free-of-charge versions for
popular logic synthesis tools such as Xilinx ISE 12.4 (beware huge
download ~8GB!) or Altera Quartus-II.
Even an older Xilinx ISE "Webpack" (I recall these being around 100MB
8-9 years ago; maybe series 6.3?)
might come handy.
The bad news: No great open-source synthesizers out there especially
for FPGAs.
Somewhat-related projects involve:
Icarus Verilog (has some FPGA device backends, probably old)
fpgac at sourceforge
Signs (development stopped at 0.6.3?)
There exist a couple ASIC synthesizers (e.g. Alliance and Electric)
but those
might not be directly useful to you.
Lastly, some academic tools handling BLIF, EDIF or XNF netlists do
lurk out there in the wild.
Again, not sure if these could suit your needs.