© Slobodan Mijalković 2022
S. MijalkovićA Practical Guide to Verilog-Ahttps://doi.org/10.1007/978-1-4842-6351-8_2

2. Basic Types and Expressions

Slobodan Mijalković1  
(1)
The Hague, Zuid-Holland, The Netherlands
 

Verilog-A is a typed language. The type of an object in Verilog-A code determines its storage size, the set of values it can have, and what operations can be performed on it. This chapter introduces Verilog-A basic types. Expressions combine basic type objects using operators to produce new basic type values. They serve as building blocks of all data manipulation in a Verilog-A code.

Basic Types

There are three basic types in the Verilog-A language: integer, real, and string types. While the types of integer, real, and string literals are implicitly ...

Get A Practical Guide to Verilog-A: Mastering the Modeling Language for Analog Devices, Circuits, and Systems 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.