diff --git a/Changes b/Changes index 045de1f7e..921647530 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,8 @@ indicates the contributor was also the author of the fix; Thanks! **** Fix $signed mis-extending when input has a WIDTH violation. [Eugene Weber] +**** Add M32 make variable to support -m32 compiles. [Eugene Weber] + * Verilator 3.622 10/17/2006 Stable **** Fix --skip-identical without --debug, broken in 3.621. [Andy Meier] diff --git a/include/verilated.mk.in b/include/verilated.mk.in index 716889335..58d634efa 100644 --- a/include/verilated.mk.in +++ b/include/verilated.mk.in @@ -48,6 +48,9 @@ VPATH += $(VERILATOR_ROOT)/include #OPT = -ggdb -DPRINTINITSTR CPPFLAGS += $(OPT) +CPPFLAGS += $(M32) +LDFLAGS += $(M32) + # See the benchmarking section of bin/verilator. # Support class optimizations. This includes the tracing and symbol table. # SystemC takes minutes to optimize, thus it is off by default.