Re: [Gtkwave-users] Expand bus as words instead of bits
Brought to you by:
gtkwave,
joel1234567
|
From: Peter O. <pet...@gm...> - 2015-02-04 22:01:40
|
If you can send me an example waveform in the format you are looking at I'd be happy to take a look. Its possible your signals are in a different format than I usually deal with. -Peter On Wed, Feb 4, 2015 at 1:48 PM, Alex Forencich <al...@al...> wrote: > How do you split a signal like that? The signals I have are generally > something like this: > > axis_???_tdata[63:0] > axis_???_tready > axis_???_tvalid > axis_???_tlast > axis_???_tkeep[7:0] > > Is there any way to split the tdata signal into one signal per byte in > gtkwave? I can group the individual bits if I expand the signal, but the > group does not show the value of the combined signals. > > Alex Forencich > > > On 02/04/2015 01:37 PM, Peter Ogden wrote: > > You can alias and group the same signals in multiple ways. This is > great if you have multiple functions muxed on a set of GPIO pins which > change meaning throughout the waveform. > > For your situation, I would group the signals bus into a few groups: > BUS //All bus signals. Helpful for spotting activity at a glance. > BUS_CONTROL //Just the control and clocks signals > BUS_DATA //All data bits > BUS_DATA_B0 //Byte0 > BUS_DATA_B1 //Byte1 > BUS_DATA_B2 //Byte2 > BUS_DATA_B3 //Byte3 > > When you have the group collapsed it will show the value in > binary/hex/decimal on that group between each transition point. > > -Peter > > On Wed, Feb 4, 2015 at 12:38 PM, Alex Forencich <al...@al...> > wrote: > >> For large buses, double clicking expands them into their constituent >> bits. However, in some cases it is very handy to look at a bus in terms >> of something larger, such as bytes or 16 bit words. This can be useful >> to clearly delineate how transfers over wide buses (32, 64, 128+ bits) >> are split up as individual bytes transferred in parallel. This is >> especially useful for things like 10G Ethernet, which is sent as 8 >> parallel byte lanes in one 64-bit bus. Xilinx datasheets show the bus >> broken out into individual byte wide lanes to make it easy to delineate >> individual packets; it would be nice to be able to do this in gtkwave as >> well. >> >> Alex Forencich >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gtkwave-users mailing list >> Gtk...@li... >> https://lists.sourceforge.net/lists/listinfo/gtkwave-users >> > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Gtkwave-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/gtkwave-users > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gtkwave-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtkwave-users > > |