Arista Networks Interview Question

SystemVerilog module design and a High-Level System Composition Design problem