See discussion in https://github.com/SpinalHDL/SpinalHDL/issues/392
See discussion in SpinalHDL/SpinalHDL#392