changes for gen/sim/digi
debugging
debugging II