`timescale 1ns / 1ps //////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 12:23:40 10/15/2016 // Design Name: hvsync_generator // Module Name: /opt/3043096/fpga/mojo/VGAGlyph/test_hvsync.v // Project Name: VGAGlyph // Target Device: // Tool versions: // Description: // // Verilog Test Fixture created by ISE for module: hvsync_generator // // Dependencies: // // Revision: // Revision 0.01 - File Created // Additional Comments: // //////////////////////////////////////////////////////////////////////////////// module test_hvsync; // Inputs reg clk; // Outputs wire vga_h_sync; wire vga_v_sync; wire inDisplayArea; wire [9:0] CounterX; wire [8:0] CounterY; // Instantiate the Unit Under Test (UUT) hvsync_generator uut ( .clk(clk), .vga_h_sync(vga_h_sync), .vga_v_sync(vga_v_sync), .inDisplayArea(inDisplayArea), .CounterX(CounterX), .CounterY(CounterY) ); initial begin // Initialize Inputs clk = 0; // Wait 100 ns for global reset to finish #100; // Add stimulus here end always begin clk = #5 ~clk; // 100 MHz end endmodule