chapter two

Scalar Data Types, Natures and Operations

The concepts of type and nature are very important when describing data in a VHDL-AMS model. The type or nature of a data object defines the set of values that the object can assume, as well as the set of operations that can be performed on those values. A scalar type consists of single, indivisible values. A scalar nature defines values that are associated with a single terminal. In this chapter we look at the basic scalar types and natures provided by VHDL-AMS and see how they can be used to define data objects that model the internal state of a module.

2.1 Constants and Variables

An object is a named item in a VHDL-AMS model that has a value of a specified type or, in the case of a ...

Get The System Designer's Guide to VHDL-AMS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.