Skip to content

Commit

Permalink
-top should be optional (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonliew authored Feb 3, 2023
1 parent be90881 commit e53fa5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hammer/sim/vcs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ def run_vcs(self) -> bool:
args.extend(["+delay_mode_zero"])


args.extend(["-top", tb_name])
if tb_name != "":
args.extend(["-top", tb_name])

args.extend(['-o', self.simulator_executable_path])

Expand Down

0 comments on commit e53fa5c

Please sign in to comment.