On Wed, Nov 26, 2008 at 4:56 AM, Anthony J Bybell <[EMAIL PROTECTED]> wrote: > On Tue, 25 Nov 2008, Svenn Are Bjerkem wrote: > >> Nice, since I am working on debian lenny, it may take some time to get >> my hands on the Tcl version. I hope it will be possible to just do a >> 'package require Tk' and then I can build my own GUI for things that I >> do often. > > There are likely bugs in the Tcl support across various distributions. I > know it currently works with RHEL5/Centos5 and Ubuntu as I've tried those.
Is the tcl-version already in the distributions, or have you compiled the source locally on machines with those distributions? I can't find a 'load tcl script' item in the menu of gtkwave 3.1.10 which is the one that current Debian testing (lenny) grabs. > > >> Another question to the VCD format: I browsed through the vcd.c file >> in CVS to see if it is possible to enter bus values other than >> per-bit, say as a decimal or a hexadecimal number. I get Hex numbers >> from the logic analyzer and although it is no problem converting with >> a script, I just wanted to confirm if it is possible or not directly >> in the vcd file. > > The VCD file itself only stores binary numbers but that doesn't matter as > gtkwave can convert to other useful formats. If you need to view other > formats in the analyzer you can use the Edit->Data Format menu options to > look at the data in binary, decimal, or whatever. I am currently working on 12-bit digital representation of an analog signal with the 'analog' representation in gtkwave. My problem is that the binary representation of the signal is in 2's compliment. This give awful jumps from 0x000 to 0xFFF as gtkwave interprets 0xFFF as 4095 instead of -1 (unsigned numbers). I have to translate from 2's compliment into unsigned with offset in order to get the proper waveform. This is not a problem for viewing. Is it a lot of work to add a 2's compliment representation in gtkwave as the vcd file just handles bits without caring about representation? This is where I hoped tcl could help: Take the bits from the binary representation and convert them to signed integer and insert this series of signed decimals into the waveform. That would help a lot. I have 30ms of data sampled at 16MHz double data rate, so most other tools choke on the size of the data to handle. And I need to see some other signals at the same time so a general purpose plotting program will have problem. Kind regards, Svenn _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
