migen/fhdl/tools: fix rename_clock_domain when new == old
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 24 Jul 2015 10:48:51 +0000 (12:48 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 24 Jul 2015 10:48:51 +0000 (12:48 +0200)
commit1f1ff5a5e968b5b6078bc846671fab5b9a137435
tree965ceda2832b97ddab7a5aaaefc726cde7a02e25
parent493f424ebd63555a324695fd038d2fa0eb0728b7
migen/fhdl/tools: fix rename_clock_domain when new == old

Clock domain renaming should support new == old to allow programmatically determined clock domain renaming.
migen/fhdl/tools.py