Skip to content

Commit

Permalink
[nvc] make settings naming more consistant
Browse files Browse the repository at this point in the history
  • Loading branch information
kammoh committed Oct 16, 2024
1 parent 525bdfa commit 1996843
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xeda/flows/nvc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Settings(SimFlow.Settings):
# clean: bool = Field(False, description="Run 'clean' before elaboration")
## analysis flags
analysis_flags: List[str] = []
psl: Optional[bool] = Field(
psl_in_comments: Optional[bool] = Field(
None, description="Enable parsing of PSL directives in comments during analysis."
)
relaxed: bool = Field(
Expand Down Expand Up @@ -179,7 +179,7 @@ def analyze_flags(self) -> list:
ss = self.settings
assert isinstance(ss, self.Settings)
flags = ss.analysis_flags
if ss.psl:
if ss.psl_in_comments:
flags.append("--psl")
if ss.relaxed:
flags.append("--relaxed")
Expand Down

0 comments on commit 1996843

Please sign in to comment.