projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
722bef0
)
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
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 26 May 2022 02:36:44 +0000
(19:36 -0700)
(cherry picked from commit
52ea944012a43f3b00f60023108ed7dd8b38eafb
)
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 {