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:
Nick Gasson 2008-08-11 13:53:42 +01:00
parent 01bf741983
commit d55a3a073a
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ static inline char vl_to_vhdl_bit(char bit)
case 'x':
case 'X':
return 'U';
case '?':
return '-';
}
assert(false);
}