bool2bit_tmpl(): Fix for '?' template case
Change-Id: I6dd3c4afdf61689a23aefc277a70cf298cb24c96
This commit is contained in:
parent
158a7ca881
commit
b596c18689
|
@ -83,6 +83,7 @@ function bool2bit_tmpl(template boolean inp) return template BIT1 {
|
|||
} else if (istemplatekind(inp, "*")) {
|
||||
return *;
|
||||
} else if (istemplatekind(inp, "?")) {
|
||||
return ?;
|
||||
} else {
|
||||
if (valueof(inp)) {
|
||||
return '1'B;
|
||||
|
|
Loading…
Reference in New Issue