From 522705cc280367f6d58a01010894701a4003c8a8 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 31 May 2015 07:51:12 +0200 Subject: [PATCH] Added liberty dont_use support to dfflibmap --- passes/techmap/dfflibmap.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/passes/techmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc index b0318a0b3..9f534c2ea 100644 --- a/passes/techmap/dfflibmap.cc +++ b/passes/techmap/dfflibmap.cc @@ -118,6 +118,10 @@ static void find_cell(LibertyAst *ast, std::string cell_type, bool clkpol, bool if (cell->id != "cell" || cell->args.size() != 1) continue; + LibertyAst *dn = cell->find("dont_use"); + if (dn != NULL && dn->value == "true") + continue; + LibertyAst *ff = cell->find("ff"); if (ff == NULL) continue; -- 2.30.2