[ADD] restructure the limit testing, as well as adding validity checks depending on the calling module
[ADD] restructure the limit testing, as well as adding validity checks depending on the calling module

SymbiFlow/sim-x-pll,SymbiFlow/sim-x-pll