Tb/tff
From HDLBits
tb/tb2Previous
Nextcs450/timer
You are given a T flip-flop module with the following declaration:
module tff (
input clk,
input reset, // active-high synchronous reset
input t, // toggle
output q
);
Write a testbench that instantiates one tff and will reset the T flip-flop then toggle it to the "1" state.
Module Declaration
module top_module ();
tb/tb2Previous
Nextcs450/timer