FONT SIZE : AAA
A VHDL-AMS Example: Resistor
In the case of the resistor, the basic entity is very similar to the voltage source with two electrical pins p and m with a single generic, this time for the nominal resistance rnom Figure 18.3.
This can be modeled in VHDL-AMS in two parts, the entity and architecture. First consider the entity. This has two electrical pins, so we need to use the ieee.electrical_systems.all; package and therefore the ports are to be declared as TERMINALS. Also, the generic rnom must be defined as a real number, with the default value also defined as a real number (e.g., 1000.0).
Figure 18.3
Basic VHDL-AMS resistor.
1 library ieee;
2 use ieee.electrical_systems.all; 3 entity resistor is
4 generic( 5 rnom : real := 1000.0);
6 port( 7 terminal p : electrical;
8 terminal m : electrical
9 );
10 end entity;
The architecture must define the quantities for voltage and current through the resistor and then link those to the terminal pin names. Also, the output equation of the resistor must be modeled as an analog equation in VHDL-AMS using the == operator to implement the function v = i * rnom.1 library ieee;
2 use ieee.electrical_systems.all; 3 entity resistor is
4 generic( 5 rnom : real := 1000.0);
6 port( 7 terminal p : electrical;
8 terminal m : electrical
9 );
10 end entity;
Manufacturer:Xilinx
Product Categories:
Lifecycle:Obsolete -
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: FPGAs
Lifecycle:Obsolete -
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: Rangée de condensateur
Lifecycle:Active Active
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Active Active
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs
Lifecycle:Active Active
RoHS:
Support