Complete the code to instantiate a module named 'adder'.
adder [1] (.a(input1), .b(input2), .sum(output));
The instance name follows the module name. 'inst1' is a valid instance name.
Complete the code to connect the ports by name in the module instantiation.
adder inst1 ([1]);Named port connections use the dot and port name syntax: .port(signal).
Fix the error in the module instantiation by completing the code.
adder inst1 (.a[1] input1, .b(input2), .sum(output));
The syntax for named port connections is .port(signal).
Fill both blanks to instantiate the module 'multiplier' with instance name 'mul1' and connect ports by name.
multiplier [1] ([2]);
The instance name is 'mul1' and ports are connected by name using .port(signal) syntax.
Fill all three blanks to instantiate 'register' module with instance 'regA' and connect ports by name.
register [1] ([2], [3]);
The instance name is 'regA'. Ports are connected by name with .clk(clock) and .d(data_in).
