mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 05:47:31 +02:00
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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user