24.03.2013 Views

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

ModelSim SE User's Manual - Electrical and Computer Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example<br />

module testbench;<br />

reg release_flag;<br />

always @(posedge release_flag) begin<br />

$signal_release("/testbench/dut/blk1/data", 1);<br />

$signal_release("/testbench/dut/blk1/clk", 1);<br />

end<br />

...<br />

endmodule<br />

The above example releases any forces on the signals data <strong>and</strong> clk when the register<br />

release_flag transitions to a "1". Both calls will send a message to the transcript stating<br />

which signal was released <strong>and</strong> when.<br />

$signal_release UM-437<br />

<strong>ModelSim</strong> <strong>SE</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!