Handle '?' in vl_to_vhdl_bit
The rough translation is '-', although the semantics are incompatible in some cases (e.g. '-' = '1' is false)
This commit is contained in:
parent
01bf741983
commit
d55a3a073a
|
|
@ -69,6 +69,8 @@ static inline char vl_to_vhdl_bit(char bit)
|
||||||
case 'x':
|
case 'x':
|
||||||
case 'X':
|
case 'X':
|
||||||
return 'U';
|
return 'U';
|
||||||
|
case '?':
|
||||||
|
return '-';
|
||||||
}
|
}
|
||||||
assert(false);
|
assert(false);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue