Commit 58126e08 authored by Robert Jordens's avatar Robert Jordens
Browse files

verilog: stable attr ordering

parent 6ffffd67
...@@ -168,7 +168,7 @@ def _list_comb_wires(f): ...@@ -168,7 +168,7 @@ def _list_comb_wires(f):
def _printattr(sig, attr_translate): def _printattr(sig, attr_translate):
r = "" r = ""
firsta = True firsta = True
for attr in sig.attr: for attr in sorted(sig.attr):
if isinstance(attr, tuple): if isinstance(attr, tuple):
# platform-dependent attribute # platform-dependent attribute
attr_name, attr_value = attr attr_name, attr_value = attr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment