MATLAB / Simulink code generation - divide logic gates by number of pins
Functional decomposition and refactoring + README update