put Gen.S into a new module, Gen_intf
common target, "make test", to run both unit tests and qtests
Gen.unfold_scan