module top_level( sw, led, led16_g, led16_b, led16_r, btnl, btnc, btnr ); //Inputs: (can also declare these inline up above) input[3:0] sw; //when declaring input btnl; input btnc; input btnr; //Outputs: output logic[4:0] led; output logic led16_g; output logic led16_b; output logic led16_r; //Your logic here: assign led =5'b10001; assign led16_g = 1; assign led16_b = btnc; assign led16_r = btnr; endmodule //top_level //I usually add a comment to associate my endmodule line with the module name //this helps when if you have multiple module definitions in a file and they are long.