aboutsummaryrefslogtreecommitdiffstats
path: root/backends/jny
diff options
context:
space:
mode:
authorAki Van Ness <aki@yosyshq.com>2022-03-10 11:04:44 -0500
committerN. Engelhardt <nakengelhardt@gmail.com>2022-04-08 08:05:15 +0200
commit5a016713cc78e5c1e6abf3c5d3acefcd42016167 (patch)
treefc0aa14e1d2c2082198cc8e1576a7ebea4324ce2 /backends/jny
parent2e792857e9f26078b65d969d9ad2a1c27326b330 (diff)
downloadyosys-5a016713cc78e5c1e6abf3c5d3acefcd42016167.tar.gz
yosys-5a016713cc78e5c1e6abf3c5d3acefcd42016167.tar.bz2
yosys-5a016713cc78e5c1e6abf3c5d3acefcd42016167.zip
pass jny: fixed missing quotes around the type value for the cell sort
Diffstat (limited to 'backends/jny')
-rw-r--r--backends/jny/jny.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/jny/jny.cc b/backends/jny/jny.cc
index 8025d42d2..1cbfaaddc 100644
--- a/backends/jny/jny.cc
+++ b/backends/jny/jny.cc
@@ -302,7 +302,7 @@ struct JnyWriter
const auto _indent = gen_indent(indent_level);
f << _indent << "{\n";
- f << stringf(" %s\"type\": %s,\n", _indent.c_str(), sort.first.c_str());
+ f << stringf(" %s\"type\": \"%s\",\n", _indent.c_str(), sort.first.c_str());
f << _indent << " \"ports\": [\n";
write_cell_ports(port_cell, indent_level + 2);