Proposal for switching on/off the automatic mfactor

From: Ilya Yusim <iyusim@cadence.com>
Date: Fri Jul 23 2004 - 13:56:09 PDT

To Verilog-AMS committee members:

The current proposal for m-factor extension specifies that by default,
the analog modules get scaled by m-factor automatically. In some cases,
the model developer may want to turn off the automatic scaling and
provide customized handling of the m-factor. I would like to propose
the following method to do that.

  We will use a compiler directive: `auto_mfactor_scaling_off
  
  The compiler directive will follow an " analog begin" and will only
apply to the analog block where it was specified. For example:

module mymod ( a, b )
    ...
    analog begin `auto_mfactor_scaling_off
       I(a,b) <+ $mfactor * G * V(a,b)
    end
endmodule

Please consider this during the next Verilog-AMS committee meeting.

Thanks,
Ilya
Received on Fri Jul 23 13:56:23 2004

This archive was generated by hypermail 2.1.8 : Fri Jul 23 2004 - 13:56:24 PDT