Skip to content

Commit

Permalink
extract_counter: Update help and comments after UP/DOWN support
Browse files Browse the repository at this point in the history
Commit fec7dc5 should have added support for up counters so update
the help and comments accordingly.
  • Loading branch information
povik committed Jul 10, 2023
1 parent 8839d7f commit eb083c5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions passes/techmap/extract_counter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ struct CounterExtractionSettings
};

//attempt to extract a counter centered on the given adder cell
//For now we only support DOWN counters.
//TODO: up/down support
int counter_tryextract(
ModIndex& index,
Cell *cell,
Expand Down Expand Up @@ -766,9 +764,9 @@ struct ExtractCounterPass : public Pass {
log("\n");
log(" extract_counter [options] [selection]\n");
log("\n");
log("This pass converts non-resettable or async resettable down counters to\n");
log("counter cells. Use a target-specific 'techmap' map file to convert those cells\n");
log("to the actual target cells.\n");
log("This pass converts non-resettable or async resettable counters to counter cells.\n");
log("Use a target-specific 'techmap' map file to convert those cells to the actual\n");
log("target cells.\n");
log("\n");
log(" -maxwidth N\n");
log(" Only extract counters up to N bits wide (default 64)\n");
Expand Down

0 comments on commit eb083c5

Please sign in to comment.