Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Kareem Farid <[email protected]>
  • Loading branch information
kareefardi committed Nov 3, 2024
1 parent 9e25b72 commit e7a0e71
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions openlane/steps/verilator.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,10 @@ def run(self, state_in: State, **kwargs) -> Tuple[ViewsUpdate, MetricsUpdate]:
f"SCL_{self.config['STD_CELL_LIBRARY']}",
"__openlane__",
"__pnr__",
] + (
[]
if self.config.get("VERILOG_POWER_DEFINE") is None
else [self.config.get("VERILOG_POWER_DEFINE")]
)
]
if verilog_power_define := self.config.get("VERILOG_POWER_DEFINE"):
defines += [verilog_power_define]

defines += self.config["LINTER_DEFINES"] or self.config["VERILOG_DEFINES"] or []

if len(model_list):
Expand Down

0 comments on commit e7a0e71

Please sign in to comment.