Skip to content

Commit

Permalink
Update driver_out.sv
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsoncsc committed Jan 13, 2017
1 parent 5903670 commit 7c29fa9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions driver_out.sv
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ class driver_out extends uvm_driver #(packet_out);
virtual protected task drive(uvm_phase phase);
wait(vif.rst === 1);
@(negedge vif.rst);
@(posedge vif.clk);

vif.ready <= 1;
forever begin
@(posedge vif.clk);
vif.ready <= 1;
end
endtask
endclass

0 comments on commit 7c29fa9

Please sign in to comment.