From 1ae360cf725db65c54c69042bcef66f1728b4df6 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 10 Jun 2015 23:00:12 +0200 Subject: AigMaker refactoring --- backends/json/json.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends') diff --git a/backends/json/json.cc b/backends/json/json.cc index 42bec2776..52b97ef0b 100644 --- a/backends/json/json.cc +++ b/backends/json/json.cc @@ -225,7 +225,7 @@ struct JsonWriter f << stringf("\"%sport\", \"%s\", %d", node.inverter ? "n" : "", log_id(node.portname), node.portbit); else if (node.left_parent < 0 && node.right_parent < 0) - f << stringf("\"%s\"", node.inverter ? "false" : "true"); + f << stringf("\"%s\"", node.inverter ? "true" : "false"); else f << stringf("\"%s\", %d, %d", node.inverter ? "nand" : "and", node.left_parent, node.right_parent); for (auto &op : node.outports) -- cgit v1.2.3