Move the selection field function to nmutil
authorCesar Strauss <cestrauss@gmail.com>
Sun, 21 Feb 2021 12:44:56 +0000 (09:44 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Sun, 21 Feb 2021 12:44:56 +0000 (09:44 -0300)
commit48c46eed0705ce0807fc1e097b25dc42d81f7510
tree7be08311012c45f13f913335894038e764fb9bbe
parent268b22e9dad1df913d86ebc631c69dc218c63242
Move the selection field function to nmutil

Make it return a new Signal, while adding the wires to a Module.
That way, it becomes explicit that the function add wires to the design.
src/nmutil/util.py