Skip to content

Commit

Permalink
Refactoring: changed pass and file names to comply with Yosys coding …
Browse files Browse the repository at this point in the history
…policy
azonenberg committed Aug 28, 2017
1 parent 1cb8b2c commit 365fb30
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion passes/techmap/Makefile.inc
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ OBJS += passes/techmap/hilomap.o
OBJS += passes/techmap/extract.o
OBJS += passes/techmap/extract_fa.o
OBJS += passes/techmap/extract_reduce.o
OBJS += passes/techmap/recover_tff.o
OBJS += passes/techmap/extract_tff.o
$(eval $(call add_share_file,share/untechmap,passes/techmap/tff_untechmap.v))
OBJS += passes/techmap/alumacc.o
OBJS += passes/techmap/dff2dffe.o
12 changes: 6 additions & 6 deletions passes/techmap/recover_tff.cpp → passes/techmap/extract_tff.cc
Original file line number Diff line number Diff line change
@@ -22,16 +22,16 @@
USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN

struct RecoverTFFPass : public ScriptPass
struct ExtractTFFPass : public ScriptPass
{
RecoverTFFPass() : ScriptPass("recover_tff", "recovers toggle flip-flops from gates") {}
ExtractTFFPass() : ScriptPass("extract_tff", "recovers toggle flip-flops from gates") {}
virtual void help() YS_OVERRIDE
{
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
log(" recover_tff [options]\n");
log(" extract_tff [options]\n");
log("\n");
log("recovers toggle flip-flops from gates\n");
log("Extracts toggle flip-flops from gates\n");
log("\n");
log("Reconstructs toggle flip-flops given a netlist of gates. This pass is intended\n");
log("to be used as part of a circuit reverse-engineering workflow, but it does also\n");
@@ -66,7 +66,7 @@ struct RecoverTFFPass : public ScriptPass
}
extra_args(args, argidx, design);

log_header(design, "Executing recover_tff.\n");
log_header(design, "Executing extract_tff.\n");
log_push();

run_script(design, "", "");
@@ -85,6 +85,6 @@ struct RecoverTFFPass : public ScriptPass

run("clean");
}
} RecoverTFFPass;
} ExtractTFFPass;

PRIVATE_NAMESPACE_END

0 comments on commit 365fb30

Please sign in to comment.