csg generator is now workign, even for generating the trigate device