The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> AMS Simulators >> SpectreVerilog Results Plot Problems
https://designers-guide.org/forum/YaBB.pl?num=1226468778

Message started by bmwsky on Nov 11th, 2008, 9:46pm

Title: SpectreVerilog Results Plot Problems
Post by bmwsky on Nov 11th, 2008, 9:46pm

Hi ALL,

I am using the spectreVerilog to do the mixed signal simulation. If I want to plot the value of net<3:0> = 1000 of a group of digital outputs by their power  and the answer will be 8 (2^3+0+0+0), how to do this combined plot?

Thanks!

bmwsky  

Title: Re: SpectreVerilog Results Plot Problems
Post by Andrew Beckett on Jan 5th, 2009, 7:54am

It depends on the waveform tool you're using.

If it's wavescan or ViVA, you'd plot the 4 bits, then select the 4 bits in the graph, and do Trace->Bus->Create (or use the create bus icon). Make sure the LSB/MSB order is correct, and create the bus.

Then select the resulting bus waveform, and hit the d2a icon. Make sure that "Busses output as" is set to "Analog Voltage". Set the Analog Hi Voltage to 15 (i.e. 2^NBITS-1), and the low voltage to 0. Hit OK, and you'll get an "analog" waveform with a value 8.

If using simVision, you can select the bus, then do Format->Trace->Analog Sample/Hold .

Regards,

Andrew.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.