More changes to techlibs/common/simlib.v for LEC