ajout du Makefile
This commit is contained in:
@@ -34,14 +34,23 @@ module tb_counter_4b;
|
||||
rst = 1'b1;
|
||||
en = 1'b0;
|
||||
load = 1'b0;
|
||||
data_in = 4'b0000;
|
||||
data_in = 4'b0011;
|
||||
|
||||
#20; // Maintien du reset pendant 2 coups d'horloge
|
||||
|
||||
|
||||
|
||||
|
||||
@(posedge clk);
|
||||
rst <= 1'b0;
|
||||
en <= 1'b1;
|
||||
|
||||
load <= 1'b1;
|
||||
|
||||
#20;
|
||||
|
||||
load <= 1'b0;
|
||||
|
||||
repeat (15) @(posedge clk);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user