Complete the code to instantiate the component named 'my_component' in the testbench.
uut: entity work.my_component port map([1]);The correct syntax for port mapping uses the => operator to connect signals by name.
Complete the code to declare the component 'my_component' in the testbench architecture.
component my_component is
port(
clk : in std_logic;
rst : in std_logic
);
end component;
signal clk : std_logic := '0';
signal rst : std_logic := '1';
begin
[1]
end;The component instantiation must use the component name and port map with named associations.
Fix the error in the component instantiation by completing the port map correctly.
uut: entity work.my_component port map(clk => [1], rst => rst);The signal 'clk' must be connected to the clk port, not a constant or other signal.
Fill both blanks to complete the component instantiation with correct port mapping and label.
[1]: entity work.my_component port map([2]);
The label 'uut' is commonly used for the unit under test, and port mapping requires named associations.
Fill all three blanks to instantiate 'my_component' with label, entity, and port map correctly.
[1]: entity [2] port map([3]);
The instance label is 'inst1', the entity is 'work.my_component', and the port map uses named associations.