Skip to content

Commit

Permalink
Added divider to the top module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Foltz committed Oct 4, 2012
1 parent c08921f commit 102b12a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions proj_2/rtl/top.v
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,9 @@ module top (

wire [7:0] div_num;

div_3 div_3 (
.clk(clk),
.rst(rst),
.in(rand_num),
.out(div_num)
divide_by_three divider1 (
.dividend(rand_num),
.quotient(div_num)
);

/*--============================================================--*/
Expand Down

0 comments on commit 102b12a

Please sign in to comment.