This problem is similar to module. You are given a module named
https://hdlbits.01xz.net/wiki/Module_namemod_a
that has 2 outputs and 4 inputs, in some order. You must connect the 6 ports by name to your top-level module’s ports: See the HDLBits page for a diagram and table.
Ah, now we get to connect ports by name. My world makes sense again after the last exercise, but my skin is still crawling:
module top_module (
input logic a, b, c, d,
output logic out1, out2 );
// Connect ports by name
mod_a mod_a_i (
.in1(a),
.in2(b),
.in3(c),
.in4(d),
.out1(out1),
.out2(out2) );
endmodule : top_module