Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Inquiry about a VHDL signal tracer tool...

 
Thread Tools Search this Thread
Old 08-08-2003, 06:41 AM   #1
Default Inquiry about a VHDL signal tracer tool...


Hi guys,

This is my 1st message to the group.I work as a VHDL programmer. I
have a hard time in analyzing the hierarchy and then tracing the
signals i.e. where a signal is generated and to which component it
goes to. Now i am doning...by personally vewing...or verifying the
code. Will some help me to find a tool that automatically generates
this kinda report thus saving enormous amount of precious time..

Regards,
Debashish Hota
Developemnet Engineer
Xalted Networks


Debashish
  Reply With Quote
Old 08-08-2003, 08:37 AM   #2
Jonathan Bromley
 
Posts: n/a
Default Re: Inquiry about a VHDL signal tracer tool...
"Debashish" <> wrote in message
news: om...

> have a hard time in analyzing the hierarchy and then tracing the
> signals i.e. where a signal is generated and to which component it
> goes to. Now i am doning...by personally vewing...or verifying the
> code. Will some help me to find a tool that automatically generates
> this kinda report thus saving enormous amount of precious time..


Load your design into any good simulator (ModelSim, NC, etc, etc)
running in GUI mode. The simulator will give you a graphical
(tree) view of the hierarchy, and should also offer you a "dataflow"
or similar display that lets you locate sources and destinations
of any signal, and which signals are connected to any hierarchy
node.
--

Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * Perl * Tcl/Tk * Verification * Project Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK
Tel: +44 (0)1425 471223 mail:
Fax: +44 (0)1425 471573 Web: http://www.doulos.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.





Jonathan Bromley
  Reply With Quote
Old 08-08-2003, 04:52 PM   #3
Michael P. Jenkins Brown
 
Posts: n/a
Default Re: Inquiry about a VHDL signal tracer tool...
Jonathan Bromley wrote:
> "Debashish" <> wrote in message
> news: om...
>
>
>>have a hard time in analyzing the hierarchy and then tracing the
>>signals i.e. where a signal is generated and to which component it
>>goes to. Now i am doning...by personally vewing...or verifying the
>>code. Will some help me to find a tool that automatically generates
>>this kinda report thus saving enormous amount of precious time..

>
>
> Load your design into any good simulator (ModelSim, NC, etc, etc)
> running in GUI mode. The simulator will give you a graphical
> (tree) view of the hierarchy, and should also offer you a "dataflow"
> or similar display that lets you locate sources and destinations
> of any signal, and which signals are connected to any hierarchy
> node.
> --


debussy from Novas (www.novas.com) and HDL Designer
(www.hdldesigner.com) from Mentor Graphics are excellent tools for
tracing signal hierarchy graphically.

MPJB



Michael P. Jenkins Brown
  Reply With Quote
Old 08-08-2003, 07:04 PM   #4
Mike Treseler
 
Posts: n/a
Default Re: Inquiry about a VHDL signal tracer tool...
Debashish wrote:
> Hi guys,
>
> This is my 1st message to the group.I work as a VHDL programmer. I
> have a hard time in analyzing the hierarchy and then tracing the
> signals i.e. where a signal is generated and to which component it
> goes to. Now i am doning...by personally vewing...or verifying the
> code. Will some help me to find a tool that automatically generates
> this kinda report thus saving enormous amount of precious time..



To quickly find the files and line numbers,
if you have the system command "grep" available,
from the source directory you can say:

grep -n my_sig_name *.vhd

For maintainable wires, make your top level
entity out of direct instances with named
associations. Like this:

----------------------------------------------------------------------------
-- Component instances are direct to eliminate component
-- declarations. The only component that might need indirect
-- instances is the device level entity because we might want
-- to configure the top level for a source code architecture and or
-- for a timing netlist architecture from quartus. Since these are
-- all internal entities, only the source architectures will ever
-- be needed.
----------------------------------------------------------------------------

hdlc_1 : entity work.hdlc
port map (reset => reset, -- [in]
rx_clk => rx_clk, -- [in]
rx_clk_dis => rx_clk_dis, -- [in]
sys_clk => sys_clk, -- [in]
bitstream => bitstream, -- [in]
crc32not16 => crc32not16, -- [in]
octet_valid => octet_valid_wire, -- [out]
octet_count => octet_count_wire, -- [out]
eop => eop_wire, -- [out]
sop => sop_wire, -- [out] -- not used

octet_out => octet_out_wire, -- [out]
error_code => error_code); -- [out]



hdlc2packet_1 : entity work.hdlc2packet

port map (reset => reset, -- [in]
clk => sys_clk, -- [in]
octet_in => octet_out_wire, -- [in]
octet_valid => octet_valid_wire, -- [in]
octet_count => octet_count_wire, -- [in]
eop => eop_wire, -- [in]
packet_bus => packet_bus,
word_valid => word_valid, -- [out]
packet_start => packet_start, -- [out]
packet_end => packet_end, -- [out]
end_ona_byte => end_ona_byte); -- [out]
--- etc, etc
----------------------------------------------
Then all the wires and ports are in one file.
All you need is an editor search to check or fix them.

Use some suffix like _s or _wire on wire signals so you can tell
port to port connections from wired connections.

There are graphical hierarchy viewers available,
but I find these ponderously slow for large designs.

Note that emacs vhdl-mode will do a lot of this work for you.


-- Mike Treseler



Mike Treseler
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is better for reporting tool: open source or charge? freezea Software 0 05-21-2009 02:10 PM
VHDL problem - Signal counter cannot be synthesized, bad synchronous description. shipacpoloy Software 0 08-14-2007 07:26 AM
Need help on Modelsim VHDL syntax? ASAP:) kaji General Help Related Topics 0 03-14-2007 10:43 PM
Need help on a Modelsim VHDL Syntax? ASAP:) kaji Software 0 03-14-2007 10:43 PM
Need Help on a Modelsim VHDL Syntax....ASAP:) kaji Hardware 0 03-14-2007 10:41 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46