pass jny: fixed the signed output for param value output

This commit is contained in:
Aki Van Ness 2022-02-17 08:15:48 -05:00 committed by N. Engelhardt
parent 58e2870261
commit 52ea944012
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ struct JnyWriter
f << get_string(str);
} else if ((v.flags & RTLIL::ConstFlags::CONST_FLAG_SIGNED) == RTLIL::ConstFlags::CONST_FLAG_SIGNED) {
f << stringf("\"%dsd %d\"", v.size(), v.as_int());
f << stringf("\"%dsd %d\"", v.size(), v.as_int(true));
} else if ((v.flags & RTLIL::ConstFlags::CONST_FLAG_REAL) == RTLIL::ConstFlags::CONST_FLAG_REAL) {
} else {