Complete the code to define a combinational process that assigns output based on input.
process(input_signal)
begin
output_signal <= [1];
end process;In a combinational process, output depends directly on input signals without clock edge detection.
Complete the code to define a sequential process triggered by clock's rising edge.
process(clk) begin if [1] then output_signal <= input_signal; end if; end process;
Sequential processes use clock edges to update outputs synchronously.
Fix the error in the sequential process sensitivity list.
process([1]) begin if rising_edge(clk) then q <= d; end if; end process;
Sequential processes should have only the clock signal in the sensitivity list.
Fill both blanks to create a combinational process with proper sensitivity list and assignment.
process([1]) begin output_signal <= [2]; end process;
Combinational processes must list all inputs in sensitivity list and assign output based on logical OR of inputs.
Fill all three blanks to define a sequential process with reset and clock edge detection.
process([1]) begin if [2] then output_signal <= (others => '0'); elsif [3] then output_signal <= input_signal; end if; end process;
The process sensitivity list includes clock and reset. Reset condition is checked first, then clock edge for sequential update.
