From 75ea423111b8fd83e1b6faa77295a1cdbf5f0e86 Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Thu, 10 Mar 2022 11:04:44 -0500 Subject: [PATCH] pass jny: fixed missing quotes around the type value for the cell sort (cherry picked from commit 5a016713cc78e5c1e6abf3c5d3acefcd42016167) --- backends/jny/jny.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2