Major rewrite of techlibs/common/simlib.v for LEC (cadance conformal)