Skip to content

Commit

Permalink
Cleanup V3Gate
Browse files Browse the repository at this point in the history
Lot of redundant/dead/obsolete code here. NFCI, but contains some minor
bug fixes.
  • Loading branch information
gezalore committed Nov 12, 2023
1 parent 91d0f25 commit faa99ac
Show file tree
Hide file tree
Showing 3 changed files with 984 additions and 1,107 deletions.
4 changes: 0 additions & 4 deletions src/V3AstNodeOther.h
Original file line number Diff line number Diff line change
Expand Up @@ -2084,10 +2084,6 @@ class AstVar final : public AstNode {
declDirection(fromp->declDirection());
lifetime(fromp->lifetime());
}
bool gateMultiInputOptimizable() const {
// Ok to gate optimize; must return false if propagateAttrFrom would do anything
return !isUsedClock();
}
void combineType(const AstVar* typevarp) {
// This is same as typevarp (for combining input & reg decls)
// "this" is the input var. typevarp is the reg var.
Expand Down
Loading

0 comments on commit faa99ac

Please sign in to comment.