46 Chapter
5
model parameters. If the actual value and the default value of the entity
declaration are equal, a value assignment is not necessary. Note that only
parameter values, and no units, are used. In general, models should always
be written in a way that the usage of SI units can be assumed. However,
ultimately the user still must check whether this assumption is met. As a
consequence, a clear documentation of units in the source code of models
helps to avoid misunderstandings. The port map describes how to connect
the ports to the nodes of the circuits. In this example we use a named
association. That means the identifiers of the entity declarations are used in
the mapping list. We note that each instantiation must start with a label (for
example UUT2, UUT3,...) and is continued by the reserved word entity
followed by the entity name and the architecture name enclosed within
parentheses.
Figure 5-3.
Results of a passband simulation to 200 s
Different model descriptions can be associated with the same entity. This
functionality is described in VHDL-AMS in architecture bodies. The name
of the architecture used follows the entity name in the instantiation statement
enclosed within parentheses. Last but not least we mention that the electrical
reference node is named ELECTRICAL_REF in the nature made available
by the context clause. Figure 5-3 shows the results of the PLL simulation.
Summary :
We note that each instantiation must start with a label (for example UUT2, UUT3,...) and is continued by the reserved word entity followed by the entity name and the architecture name enclosed within parentheses. The name of the architecture used follows the entity name in the instantiation statement enclosed within parentheses.
Tags :
entity,name,alue,architecture,units,used,named,example,within,parentheses,figure,results,enclosed