From 1a28b82559b9fe09de7f18249d0ca4870fa9c501 Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Wed, 21 Mar 2012 13:44:29 -0400 Subject: Adjust timings for real board --- CountdownController.v | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'CountdownController.v') diff --git a/CountdownController.v b/CountdownController.v index b06fa4b..ac50bf0 100644 --- a/CountdownController.v +++ b/CountdownController.v @@ -50,18 +50,18 @@ wire [3:0] ado, bdo, cdo; wire [7:0] init; wire [7:0] tout; -ClockDivider dbc(.count(100), .rst(rst), .clk_in(clk), .clk_out(dbclk)); -ClockDivider sec(.count(100), .rst(rst), .clk_in(clk), .clk_out(seconds)); -ClockDivider dcc(.count(50), .rst(rst), .clk_in(clk), .clk_out(dispclk)); +ClockDivider dbc(.count(1_000_000), .rst(rst), .clk_in(clk), .clk_out(dbclk)); +ClockDivider sec(.count(100_000_000), .rst(rst), .clk_in(clk), .clk_out(seconds)); +ClockDivider dcc(.count(7_500_000), .rst(rst), .clk_in(clk), .clk_out(dispclk)); debouncer dbA(.dout(a), .din(btnA), .rst(rst), .clk_1M(dbclk)); debouncer dbB(.dout(b), .din(btnB), .rst(rst), .clk_1M(dbclk)); -//Increment inc1(.value(ad), .btn(a)); -//Increment inc2(.value(bd), .btn(b)); +Increment inc1(.value(ad), .btn(a)); +Increment inc2(.value(bd), .btn(b)); -Increment inc1(.value(ad), .btn(btnA)); -Increment inc2(.value(bd), .btn(btnB)); +//Increment inc1(.value(ad), .btn(btnA)); +//Increment inc2(.value(bd), .btn(btnB)); BCD2Bin bcd2b(.hun(0), .ten(ad), .one(bd), .bin(init)); -- cgit v1.2.3