The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Verilog-A defined units in Spectre
https://designers-guide.org/forum/YaBB.pl?num=1409741115

Message started by adelaid on Sep 3rd, 2014, 3:45am

Title: Verilog-A defined units in Spectre
Post by adelaid on Sep 3rd, 2014, 3:45am

Hello,  I am trying to do the model of an optical phase shifter in Verilog A. For that I defined the following disciplines:

// Optical Discipline
nature Losses
access = Loss;
abstol = 1e-6;
units = "dB";
endnature


discipline optical_losses
potential Losses;
enddiscipline


nature Phase
access = Phas;
abstol = 1e-6;
units = "rads";
endnature

discipline optical_phase
potential Phase;
enddiscipline




the problem is that in spectre when I simulate then the module, the units are not corresponding with what I defined here. Instead of Loss(dB), and Phas(rad)  it appears  Loss(Loss) and Phas(Phas).  What can be the problem??


Thank you in advance.



Title: Re: Verilog-A defined units in Spectre
Post by boe on Sep 3rd, 2014, 10:45am

Adelaid,
the viewer shows the wrong units? Then it is a tool issue...
- B O E

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