scripts/liberty: Make the `clk_width` attribute a string.
Fixes #69. Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
c6b5b6e5c3
commit
b70d1a51ad
|
@ -810,7 +810,7 @@ def liberty_dict(dtype, dvalue, data, indent=tuple()):
|
||||||
|
|
||||||
elif "clk_width" == ktype:
|
elif "clk_width" == ktype:
|
||||||
for l in sorted(v):
|
for l in sorted(v):
|
||||||
o.append("%s%s : %s;" % (INDENT*len(indent_n), k, l))
|
o.append('%s%s : "%s";' % (INDENT*len(indent_n), k, l))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
raise ValueError("Unknown %s: %r\n%s" % (k, v, indent_n))
|
raise ValueError("Unknown %s: %r\n%s" % (k, v, indent_n))
|
||||||
|
|
Loading…
Reference in New Issue