pass jny: fixed the signed output for param value output

This commit is contained in:
Aki Van Ness
2022-04-08 08:05:15 +02:00
committed by N. Engelhardt
parent 58e2870261
commit 52ea944012
+1 -1
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 {