scripts/liberty: Support fixed statetable output.
The statetable values where fixed in the `.lib.json` files. Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
d7a58ea703
commit
d91e88682f
|
@ -1038,6 +1038,9 @@ def liberty_dict(dtype, dvalue, data, indent=tuple(), attribute_types=None):
|
|||
elif is_liberty_list(ktype):
|
||||
o.extend(liberty_list(ktype, v, indent_n))
|
||||
|
||||
elif "table" == ktype:
|
||||
o.append('%s%s : "%s";' % (INDENT*len(indent_n), k, ",".join(v)))
|
||||
|
||||
elif "clk_width" == ktype:
|
||||
for l in sorted(v):
|
||||
o.append('%s%s : "%s";' % (INDENT*len(indent_n), k, l))
|
||||
|
|
Loading…
Reference in New Issue