The System Designer's Guide to VHDL-AMS: Analog, Mixed-Signal, and Mixed-Technology Modeling

In this appendix, we provide sample answers to the quiz-style exercises marked with the symbol "
". Readers are encouraged to test their answers to the other, more involved, exercises by running the models on a VHDL simulator.
Entity declaration: defines the interface to a module, in terms of its ports, their data transfer direction and their types. Behavioral architecture body: defines the function of a module in terms of an algorithm. Structural architecture body: defines an implementation of a module in terms of an interconnected composition of sub-modules. Process statement: encapsulates an algorithm in a behavioral description, contains sequential actions to be performed. Signal assignment statement: specifies values to be applied to signals at some later time. Simultaneous statement: describes equations governing analog system behavior. Port map: specifies the interconnection between signals and component instance ports in a structural architecture.
apply_transform : <b class="bold">process is</b><b class="bold">begin</b> d_out <= transform(d_in) <b class="bold">after</b> 200 ps; <i class="emphasis">debug_test <= transform(d_in);</i> <b class="bold">wait on</b> enable, d_in;<b class="bold">end process</b> apply_transform;
Basic identifiers: last_item. Reserved words: limit. Invalid: prev item, value-1 and element#5 include characters that may not occur within identifiers; _control starts with an underscore; 93_999 starts with a digit; gain_ ends with an underscore.
16#1# 16#22# 16#100.0# 16#0.8#
| 12 | 132 | 44 | 250000 | 32768 | 0.625 |
The literal 16#23DF# is an integer expressed in base 16, whereas the literal X"23DF" is...