From 03ee63ff80dae4eefc463975f183b501a1f98c95 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 8 Feb 2014 14:25:29 +0100 Subject: [PATCH] Added support for "keep" attribute to abc pass --- passes/abc/abc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/abc/abc.cc b/passes/abc/abc.cc index 8f873867d..5aa13572e 100644 --- a/passes/abc/abc.cc +++ b/passes/abc/abc.cc @@ -447,7 +447,7 @@ static void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std extract_cell(c); for (auto &wire_it : module->wires) { - if (wire_it.second->port_id > 0) + if (wire_it.second->port_id > 0 || wire_it.second->get_bool_attribute("\\keep")) mark_port(RTLIL::SigSpec(wire_it.second)); } -- 2.30.2