A toggle is a 1-output circuit that changes state at every cycle. Design a toggle circuit that starts with the output being 0 and generates an alternating sequence of 1’s and 0’s, i.e., 010101010101…
Specification
module toggle (t, clk, rst); input clk, rst; output t;
Input
Output