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

Appendix F: Answers to Exercises

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.

Chapter 1

  1. 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.

  2. 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;
  3. 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.

  4. 16#1#     16#22#     16#100.0#     16#0.8#
  5. 12

    132

    44

    250000

    32768

    0.625

  6. The literal 16#23DF# is an integer expressed in base 16, whereas the literal X"23DF" is...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Biosensors and Microarrays
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.