From cac7ce27476d819d307943c57cbd7542d9fbd6f9 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Thu, 29 Nov 2018 17:20:51 -0800 Subject: [PATCH] Cleanup --- xc7/xdl.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xc7/xdl.cc b/xc7/xdl.cc index 1860942f..ea834593 100644 --- a/xc7/xdl.cc +++ b/xc7/xdl.cc @@ -195,10 +195,9 @@ void write_xdl(const Context *ctx, std::ostream &out) instPtr->setConfig("DRIVE", "", "12"); instPtr->setConfig("SLEW", "", "SLOW"); } - } else if (cell.second->type == id_BUFGCTRL || cell.second->type == id_MMCME2_ADV) { + } else if (cell.second->type == id_BUFGCTRL || cell.second->type == id_PS7 || cell.second->type == id_MMCME2_ADV) { for (const auto& i : cell.second->params) instPtr->setConfig(i.first.str(ctx), "", i.second); - } else if (cell.second->type == id_PS7) { } else log_error("Unsupported cell type '%s'.\n", cell.second->type.c_str(ctx)); }