Unsure if feasible, but maybe look into automatically generating port information given an input module
Unsure if feasible, but maybe look into automatically generating port information given an input module