Skip to content

Commit

Permalink
Strip unescaped quotes around verilog parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
meiniKi committed Apr 29, 2024
1 parent a81f403 commit 45ad9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edalize/tools/yosys.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def setup(self, edam):
verilog_params = []
for key, value in self.vlogparam.items():
if type(value) is str:
value = '{"' + value + '"}'
value = '{"' + value.strip('"') + '"}'
_s = r"chparam -set {} {} {}"
verilog_params.append(
_s.format(key, self._param_value_str(value), self.toplevel)
Expand Down

0 comments on commit 45ad9f9

Please sign in to comment.