From 6e3ec755e2778befb0abd585f91fa47768fd58e7 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Tue, 6 May 2008 22:34:48 -0700 Subject: [PATCH] Define __VAMS_ENABLE__ when verilog-amd i enabled. --- driver/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/main.c b/driver/main.c index 953262012..932f9b1f0 100644 --- a/driver/main.c +++ b/driver/main.c @@ -570,6 +570,8 @@ int main(int argc, char **argv) } fprintf(defines_file, "D:__ICARUS__=1\n"); + if (strcmp(gen_verilog_ams,"verilog-ams") == 0) + fprintf(defines_file, "D:__VAMS_ENABLE__=1\n"); /* Create another temporary file for passing configuration information to ivl. */