mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
pass jny: fixed the signed output for param value output
This commit is contained in:
committed by
N. Engelhardt
parent
58e2870261
commit
52ea944012
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user