doc: update SAPI

Update Quartus section and fix some formatting issues.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
doc: fix CAPI syntax and does cleanup

As this, capi.txt cannot be convert by asciidoc.
Also fix some formatting problems.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
sim: use depend option in all simulators

A previous commit introduced "depend" for cores to be fetched
only when a specific simulator is used. This commit added this
option to Icarus only.

This patch add "depend" to Modelsim and Verilator.

It also change the way options are handled by Modelsim.
It is now done the same way Icarus and Verilator do it.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
modelsim.py: Run vsim in quiet mode
Improve support for tool-specific dependencies

Previous patches has added preliminary support for adding
extra dependencies based on whish simulator that is used. This
patch improves the support by centralizing the code and handling
recursive dependencies better
verilator: add libs option and update CAPI doc

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
verilator.py: Mark {start,end}-group as linker options
doc: add depend option for Modelsim

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Refactoring: Turn section dictionaries into real classes

Handling if the core file sections has been a bit ad-hoc with bits
and pieces implemented everywhere. Sections are now turned into
real classes inherited from the base class Section, and can take
advantage of multiple inheritance to keep the final classes small
sections.py: Added top_module to VerilatorSection
verilator: add top_module parameter

This patch adds top_module parameter to the verilator
CAPI section. This parameter is mandatory for the
system core.

It also make tb_toplevel not optional.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>

Conflicts:
	fusesoc/simulator/verilator.py