projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58e2870
)
pass jny: fixed the signed output for param value output
author
Aki Van Ness
<aki@yosyshq.com>
Thu, 17 Feb 2022 13:15:48 +0000
(08:15 -0500)
committer
N. Engelhardt
<nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000
(08:05 +0200)
backends/jny/jny.cc
patch
|
blob
|
history
diff --git
a/backends/jny/jny.cc
b/backends/jny/jny.cc
index 752ff6312427ab53603bd2f7300998ff0bbc0a41..5a83c5578e985d826889f5bb6a0ec2666ff58e53 100644
(file)
--- 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 {