This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > FPGA Technical Tutorials > Design Recipes for FPGAs Using Verilog and VHDL > Mixed Signal Modeling > Mixed Domain Modeling in Verilog-AMS

TABLE OF CONTENTS

Xilinx FPGA FPGA Forum

Mixed Domain Modeling in Verilog-AMS

FONT SIZE : AAA

In Verilog-AMS, there is a “Disciplines” package that defines all the standard technologies and their basic natures. This is usually implemented in a single Verilog-AMS code disciplines.vams which must be included in the header of models using Verilog-AMS and these disciplines. 

The implication is that these natures are all intrinsically real types, but the nature definition will set up the name, units, tolerances, and related natures. For example, the nature for Voltage could be defined as follows: 

1 / Potential in volts

2 nature Voltage

3 units = "V";

4 access = V;

5 idt_nature = Flux;

6 ‘ifdef VOLTAGE_ABSTOL

7 abstol = ‘VOLTAGE_ABSTOL;

8 ‘else

9 abstol = 1e−6;

10 ‘endif

11 endnature

With each nature defined, then a complete discipline can then be implemented with the through and across variables defined.

1 discipline electrical

2 potential Voltage;

3 flow Current;

4 enddiscipline

Note that in Verilog-AMS, the “across” variable is called “potential” and the “through”variable is referred to as the “flow.”

  • XC5VLX155-2FF1760C

    Manufacturer:Xilinx

  • FPGA Virtex-5 LX Family 65nm Technology 1V 1760-Pin FCBGA
  • Product Categories: Rangée de condensateur

    Lifecycle:Active Active

    RoHS: No RoHS

  • XC5VLX155-2FFG1760C

    Manufacturer:Xilinx

  • FPGA Virtex-5 LX Family 65nm Technology 1V 1760-Pin FCBGA
  • Product Categories: FPGAs (Field Programmable Gate Array)

    Lifecycle:Active Active

    RoHS:

  • XC5VLX155-3FFG1760C

    Manufacturer:Xilinx

  • FPGA Virtex-5 LX Family 65nm Technology 1V 1760-Pin FCBGA
  • Product Categories: FPGAs

    Lifecycle:Active Active

    RoHS:

  • XCS30XL-5PQ240C

    Manufacturer:Xilinx

  • Spartan and Spartan-XL Families Field Programmable Gate Arrays FPGA
  • Product Categories: FPGAs (Field Programmable Gate Array)

    Lifecycle:Obsolete -

    RoHS: -

  • XC4028XLA-9HQ208C

    Manufacturer:Xilinx

  • Xilinx QFP
  • Product Categories:

    Lifecycle:Any -

    RoHS: -

Need Help?

Support

If you have any questions about the product and related issues, Please contact us.