Skip to content

Commit

Permalink
visit generate
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Jan 9, 2024
1 parent 2734317 commit b77257a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rtlrepair/repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ def visit_DelayStatement(self, node: vast.DelayStatement):
# by default, we ignore delay statement since they do not make much sense for synchronous circuit descriptions
return node

def visit_GenerateStatement(self, node: vast.GenerateStatement):
# generate blocks have their own rules which disallow many of the usual instrumentation that we do
# in the future, one might try to find a small set of changes that might be allowed
return node
# def visit_GenerateStatement(self, node: vast.GenerateStatement):
# # generate blocks have their own rules which disallow many of the usual instrumentation that we do
# # in the future, one might try to find a small set of changes that might be allowed
# return node


def do_repair(ast: vast.Source, assignment: dict, blockified: list) -> list:
Expand Down

0 comments on commit b77257a

Please sign in to comment.