#PhaseComparator testbench for counter

vlog +define+SIM PC_cntr_tb.v PhaseComparator.v -timescale 1ns/1ns
vsim PC_cntr_tb -voptargs="+acc=prn" -t 1ns
restart -force

add wave clkuf
add wave -format logic -radix hex pcomp/cntr
add wave pcomp/gtff
add wave sel
add wave enable
add wave gate_timer
add wave reset_counter
add wave dataout

run -all

wave zoom full

