PPT Slide
architecture structure of count2 is
port (ck : in; q : out bit);
port (a : in bit; y : out bit);
signal ff0, ff1, inv_ff0, : bit;
bit_0 : t_flipflop port map(ck =>clock, q=>ff0);
inv : inverter port map(a=>ff0, y=>inv_ff0);
bit_1 : t_flipflop port map(ck=>inv_ff0, q=>ff1);