back.pysim: give better names to unnamed fragments and their signals.
authorwhitequark <whitequark@whitequark.org>
Sat, 26 Jan 2019 18:07:16 +0000 (18:07 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 26 Jan 2019 18:07:16 +0000 (18:07 +0000)
commit8686e9aa06dbeecece251880affda05e1bb57d2f
tree8e13edde0ffcbc7f21ee954bc1f1f1d3b50f2272
parent7acea8f3ce84f1f1e8efea1bbb1580e84e17f577
back.pysim: give better names to unnamed fragments and their signals.

Was: top.#0, top.None_clk
Now: top.U0, top.U0_clk

(U for Unnamed, or similarly, an unit refdes.)
nmigen/back/pysim.py