diff --git a/setup.py b/setup.py index f4dc37a..daaaf80 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages name = 'svreal' -version = '0.1.8' +version = '0.1.9' DESCRIPTION = '''\ Library for working with fixed-point numbers in SystemVerilog\ diff --git a/svreal/svreal.sv b/svreal/svreal.sv index d4f10de..7fe4772 100644 --- a/svreal/svreal.sv +++ b/svreal/svreal.sv @@ -136,7 +136,7 @@ endfunction localparam real `RANGE_PARAM_REAL(``name``) = ``range_expr``; \ localparam integer `WIDTH_PARAM_REAL(``name``) = ``width_expr``; \ localparam integer `EXPONENT_PARAM_REAL(``name``) = ``exponent_expr`` \ - `ifdef FLOAT_REAL \ + `ifdef RANGE_ASSERTIONS \ ; `ASSERTION_REAL(``name``) \ `endif