diff --git a/backends/jny/jny.cc b/backends/jny/jny.cc index 752ff6312..5a83c5578 100644 --- a/backends/jny/jny.cc +++ b/backends/jny/jny.cc @@ -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 {