From 6ca687ad5f7976df5802becaf1291bd31d13c91a Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Tue, 12 Mar 2019 16:07:37 -0700 Subject: [PATCH] Add comment to build_zdb. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fuzzers/044-clk-bufg-pips/build_zdb.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/fuzzers/044-clk-bufg-pips/build_zdb.py b/fuzzers/044-clk-bufg-pips/build_zdb.py index 0cca8773..a558d89f 100644 --- a/fuzzers/044-clk-bufg-pips/build_zdb.py +++ b/fuzzers/044-clk-bufg-pips/build_zdb.py @@ -1,8 +1,25 @@ +""" Tool for building ZDB for BUFG pips. + +This requires that the rdb files be good enough to identify all the 0 candidate +features, which may take multiple manual iterations. Manual iterations can +be running like: + +make ITER= -j database + +And then invoking: +python3 build_zdb.py build/segbits_clk_bufg_bot_r.rdb build/segbits_clk_bufg_top_r.rdb > bits.dbf + +will successed if and only if the rdb is complete enough. + +bits.dbf is committed, so this utility should only be needed to document the +process. + +""" import argparse def main(): parser = argparse.ArgumentParser("Form ZDB groups for BUFG.") - + parser.add_argument('bot_r') parser.add_argument('top_r')