Skip to content

Commit

Permalink
Update user_guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kraigher committed Jun 3, 2015
1 parent c661392 commit 00c2106
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,14 @@ ent.disable_ieee_warnings()
test = ent.test("test")
test.disable_ieee_warnings()
```
## Setting custom simulation options
Custom simulation options can be set using the`sim_options(name, value)` method. Options can either be set globally, for a library, for an entity or for a specific test.
```python
vu.set_sim_option("vsim_extra_args.gui", "-voptargs=+acc")
```

### Known simulation options
* `vsim_extra_args`
- Extra arguments passed to `vsim` when loading the design.
* `vsim_extra_args.gui`
- Extra arguments passed to `vsim` when loading the design in GUI mode where it takes precedence over `vsim_extra_args`.

0 comments on commit 00c2106

Please sign in to comment.