[myhdl-list] Re: VCD viewer ?
Brought to you by:
jandecaluwe
From: Jean D. <jea...@un...> - 2005-04-18 08:44:40
|
Hi all, ISS (www.iss-us.com) has released a new version of its Wave VCD viewer. This version functions quite properly... But the VCD files generated by the traceSignals method are not strictly conformant to the IEEE specs and some tools cannot parse these VCD files. Some points: 1 - the declaration of a reg with a size > 1 is incorrect It lacks the slice declaration. Ex. "$var reg 2 state[1:0] $end" is the correct declaration instead of "$var reg 2 state $end". This point is easy to solve in _traceSignals.py file. 2 - the integer variable are declared as real 1 and then translated to strings such as sXX and that is not allowed in VCD format. This point too is not too difficult to solve by addind the adequate _printVcd method in the signal object: file _Signal.py 3 - It is rather easy, as above, to introduce the management of real variables. 4 - but how to manage the enum variables which are valued by strings ? Has somebody an idea ? JDem Jean Demartini a écrit : > Thanks a lot Günter for your help. Finallt GTKwave for Windows functions > properly. > > For the information a the new users of GTKwave: the executable > winwave.exe has to be launch in a DOS console window and is not an > interactive GUI software. Then a user window is opened. > > Günter Dannoritzer a écrit : > >> Hi Jean, >> >> Jean DEMARTINI wrote: >> >>> Hi all, >>> >>> For many reasons I've to use MyHDL on a Windows platform (XP SP2). >>> Python and MyHDL works perfectly. But has anyone knowledge of a >>> working free VCD viewer onto Windows. Despite many effort, I've not >>> succeded to use GTKwave and Wavevcd from ISS (beta downloadable at >>> www.iss-us.com) does not recognize the VCD format generated by MyHDL >>> (its is a drawback of the ISS viewer as the VCD format generated by >>> MyDHL is quite correct) . >>> >>> Jean >>> >>> >> >> Have you looked into GTKWave? >> >> http://www.cs.man.ac.uk/apt/tools/gtkwave/ >> >> I have not used it with MyHDL, so I cannot commend on that. >> >> Here is a page that has a windows version available: >> >> http://www.geocities.com/SiliconValley/Campus/3216/GTKWave/gtkwave-win32.html >> >> >> The windows version is an older version, but still works fine. >> Actually I had recently a .vcd file that would work with the older >> version and not with one of the new 2.0 pre releases. >> >> Hope that helps. >> >> Guenter >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users.. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click |