// CPEN 230L lab 10, mod-N counter on the DE2-115 board // File: timerModN_top module timerModN_top ( input CLOCK_50, // 50 MHz clock input KEY0, // reset output [6:0] HEX0 ); // display output wire clean_key0_w; wire [2:0] count_w; // complete the code debouncer db_inst0 ( .clk (CLOCK_50), .noisy_i (//), // noisy reset key .clean_o (//) ); // clean reset key timerModN #( .stage0_num_bits(//), .stage0_tc (//), .stage1_tc (//)) tmN_inst ( .clk (CLOCK_50), .nRst (//), .count (count_w) ); dec7seg d7s_inst ( .bcd_i ({1'b0,count_w}), .disp_o (HEX0) ); endmodule