From fd3ca037aa1d3be27ed4c123c233f0d5b23d6034 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Thu, 8 May 2008 10:28:22 -0700 Subject: [PATCH] Document the __VAMS_ENABLE__ macro. --- driver/iverilog.man | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/driver/iverilog.man b/driver/iverilog.man index dde5b0812..05d936a1d 100644 --- a/driver/iverilog.man +++ b/driver/iverilog.man @@ -387,9 +387,14 @@ from preprocessor defines elsewhere in the file or the command line. .SH PREDEFINED MACROS -The following macro is predefined by the compiler: +The following macros are predefined by the compiler: .TP 8 .B __ICARUS__ = 1\fP +This is defined always when compiling with Icarus Verilog. + +.TP 8 +.B __VAMS_ENABLE__ = 1\fp +This is defined if Verilog-AMS is enabled. .SH EXAMPLES These examples assume that you have a Verilog source file called hello.v in