HBLbits_Verilog Basic_Tb/tff
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.
`timescale 1ps / 1ps
沒有留言:
張貼留言