minimac refactor: create mii phy
minimac refactor: code PhyTx in mii.py