Next: , Previous: Elaboration command, Up: Building commands

3.1.3 Run command

Run (or simulate) a design.

     $ ghdl -r [options] primary_unit [secondary_unit] [simulation_options]

The options and arguments are the same as for the elaboration command, see Elaboration command.

On GNU/Linux this command simply determines the filename of the executable and executes it. Options are ignored. You may also directly execute the program.

This command exists for three reasons:

On Windows this command elaborates and launches the simulation. As a consequence you must use the same options used during analysis.

See Simulation and runtime, for details on options.