Allow signed/unsigned for fixed width integer data type parameters
This commit is contained in:
parent
a019994513
commit
5ca947ea8a
12
parse.y
12
parse.y
|
|
@ -5523,14 +5523,14 @@ param_type
|
|||
else
|
||||
param_active_type = $1;
|
||||
}
|
||||
| K_integer
|
||||
| K_integer signed_unsigned_opt
|
||||
{ param_active_range = make_range_from_width(integer_width);
|
||||
param_active_signed = true;
|
||||
param_active_signed = $2;
|
||||
param_active_type = IVL_VT_LOGIC;
|
||||
}
|
||||
| K_time
|
||||
| K_time unsigned_signed_opt
|
||||
{ param_active_range = make_range_from_width(64);
|
||||
param_active_signed = false;
|
||||
param_active_signed = $2;
|
||||
param_active_type = IVL_VT_LOGIC;
|
||||
}
|
||||
| real_or_realtime
|
||||
|
|
@ -5538,9 +5538,9 @@ param_type
|
|||
param_active_signed = true;
|
||||
param_active_type = IVL_VT_REAL;
|
||||
}
|
||||
| atom2_type
|
||||
| atom2_type signed_unsigned_opt
|
||||
{ param_active_range = make_range_from_width($1);
|
||||
param_active_signed = true;
|
||||
param_active_signed = $2;
|
||||
param_active_type = IVL_VT_BOOL;
|
||||
}
|
||||
| TYPE_IDENTIFIER
|
||||
|
|
|
|||
Loading…
Reference in New Issue