Skip to content

Commit

Permalink
Fix typo in assertion string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Tridgell authored and esynr3z committed Mar 11, 2022
1 parent a3efa85 commit aa00c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corsair/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def validate(self):
data_width_allowed = [8, 16, 32, 64]
assert config.globcfg['data_width'] in [8, 16, 32, 64], \
"For %s generator, global 'data_width' must be one of '%s', but current is %d" % \
(self.name(), data_width_allowed, config.globcfg['data_width'])
(self._name(), data_width_allowed, config.globcfg['data_width'])

def generate(self):
# validate parameters
Expand Down

0 comments on commit aa00c3e

Please sign in to comment.