top_level_wrapper's rst changed to input, perm_networks changed int casting for synthesis, controller attribute eliminated for synthesis