|
@ -63,11 +63,11 @@ module tb_cbctdes; |
|
|
initial begin |
|
|
initial begin |
|
|
reset = 1; |
|
|
reset = 1; |
|
|
#1 reset = 0; |
|
|
#1 reset = 0; |
|
|
#20 reset = 1; |
|
|
|
|
|
|
|
|
#100 reset = 1; |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
// generate clock with 100 mhz |
|
|
|
|
|
always #5 clk = !clk; |
|
|
|
|
|
|
|
|
// generate clock with 50 mhz |
|
|
|
|
|
always #10 clk = !clk; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// init the register values |
|
|
// init the register values |
|
|