FONT SIZE : AAA
In order to illustrate some of these basic concepts, consider a simple example of a dc voltage source. This has two electrical pins p and m, and a single parameter dc_value that is used to define the output voltage of the source. The model symbol is shown in Figure 18.2.
Figure 18.2
Basic VHDL-AMS voltage source.
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 must be defined as a real number with the default value also defined as a real number (e.g., 1.0).
1 library ieee;
2 use ieee.electrical_systems.all; 3 entity v_dc is
4 generic( 5 dc_value : real := 1.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 source and then link those to the terminal pin names. Also, the output equation of the source must be modeled as an analog equation in VHDL-AMS using the == operator to implement the function v = dc_value.
1 architecture simple of v_dc is
2 quantity v across i through p to m;
3 begin
4 v == dc_value;
5 end architecture simple;
Manufacturer:Xilinx
Product Categories: FPGA
Lifecycle:Obsolete -
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: FPGAs
Lifecycle:Obsolete -
RoHS:
Manufacturer:Xilinx
Product Categories: Socle de fusible
Lifecycle:Active Active
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Active Active
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Active Active
RoHS:
Support