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

20. Compiler Directives

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

Compiler directives control the preprocessor part of Verilog-A compilation. These directives are capable of performing various transformations on the Verilog-A code but know nothing about the Verilog-A syntax and simply make textual changes as directed. It typically involves the inclusion of the text files, substitution of strings, conditional inclusion or exclusion of code, and setting defaults. The scope of a compiler directive is independent of module definitions and extends from the point where the directive occurs to the next compiler directive ...

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.