// // Horizontal counter test fixture. // // Allen Tanner // initial begin clk = 1'b0; rst = 1'b0; #500 rst = 1'b0; // let it count for a while #5000 rst = 1'b1; // try reset #575 rst = 1'b0; // then let it go for a whole cycle #100000 // this allows us to capture the waveforms $display("Finished"); $finish; end always begin clk = ~clk; #50; end // 100 nsec 50% duty cycle clock