Skip to content

Instantly share code, notes, and snippets.

View rohit-numato's full-sized avatar

rohit-numato

View GitHub Profile
@rohit-numato
rohit-numato / square_wave_top.v
Created March 15, 2016 07:18
Square Wave Generator Verilog Code
`timescale 1ns / 1ps
module square_wave_gen(
input clk,
input rst_n,
output sq_wave
);
// Input clock is 100MHz
localparam CLOCK_FREQUENCY = 100000000;