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.

5 - Verilog simulation<br />

Chapter contents<br />

Introduction . . . . . . . . . . . . . . . UM-113<br />

<strong>ModelSim</strong> Verilog basic flow . . . . . . . . . . UM-113<br />

Compiling Verilog files . . . . . . . . . . . . UM-114<br />

Incremental compilation . . . . . . . . . . . UM-115<br />

Library usage . . . . . . . . . . . . . . UM-117<br />

Verilog-XL compatible compiler arguments . . . . . . UM-119<br />

Verilog-XL `uselib compiler directive . . . . . . . UM-120<br />

Verilog configurations . . . . . . . . . . . UM-122<br />

Verilog generate statements . . . . . . . . . . UM-123<br />

Optimizing Verilog designs . . . . . . . . . . . UM-124<br />

Running vopt on your design . . . . . . . . . . UM-124<br />

Naming the optimized design . . . . . . . . . . UM-125<br />

Enabling design object visibility with the +acc option . . . UM-126<br />

Optimizing gate-level designs. . . . . . . . . . UM-127<br />

Event order <strong>and</strong> optimized designs . . . . . . . . UM-128<br />

Timing checks in optimized designs . . . . . . . . UM-128<br />

Simulating Verilog designs . . . . . . . . . . . UM-129<br />

Simulator resolution limit . . . . . . . . . . . UM-129<br />

Event ordering in Verilog designs . . . . . . . . UM-132<br />

Negative timing check limits . . . . . . . . . . UM-136<br />

Verilog-XL compatible simulator arguments . . . . . . UM-136<br />

Simulating with an elaboration file . . . . . . . . . UM-138<br />

Overview . . . . . . . . . . . . . . . UM-138<br />

Elaboration file flow . . . . . . . . . . . . UM-138<br />

Creating an elaboration file . . . . . . . . . . UM-139<br />

Loading an elaboration file . . . . . . . . . . UM-139<br />

Modifying stimulus . . . . . . . . . . . . UM-140<br />

Using with the PLI or FLI. . . . . . . . . . . UM-140<br />

Checkpointing <strong>and</strong> restoring simulations . . . . . . . . UM-142<br />

Checkpoint file contents . . . . . . . . . . . UM-142<br />

Controlling checkpoint file compression . . . . . . . UM-143<br />

The difference between checkpoint/restore <strong>and</strong> restart . . . UM-143<br />

Using macros with restart <strong>and</strong> checkpoint/restore . . . . UM-143<br />

Cell libraries . . . . . . . . . . . . . . . UM-144<br />

SDF timing annotation . . . . . . . . . . . UM-144<br />

Delay modes . . . . . . . . . . . . . . UM-144<br />

System tasks <strong>and</strong> functions . . . . . . . . . . . UM-146<br />

IEEE Std 1364 system tasks <strong>and</strong> functions . . . . . . UM-146<br />

Verilog-XL compatible system tasks <strong>and</strong> functions . . . . UM-150<br />

<strong>ModelSim</strong> Verilog system tasks <strong>and</strong> functions . . . . . UM-152<br />

Compiler directives . . . . . . . . . . . . . UM-153<br />

IEEE Std 1364 compiler directives . . . . . . . . UM-153<br />

UM-111<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!