Line 854... |
Line 854... |
|
|
@value{OR1KSIM} is configured through a configuration file. This is specified
|
@value{OR1KSIM} is configured through a configuration file. This is specified
|
through the @code{-f} parameter to the @value{OR1KSIM} command, or passed as a
|
through the @code{-f} parameter to the @value{OR1KSIM} command, or passed as a
|
string when initializing the @value{OR1KSIM} library. If no file is specified,
|
string when initializing the @value{OR1KSIM} library. If no file is specified,
|
the default @file{sim.cfg} is used. The file is looked for first in the
|
the default @file{sim.cfg} is used. The file is looked for first in the
|
current directory, then in the @file{$HOME/.or1k} directory of the user.
|
current directory, then in the @file{$HOME/.or1ksim} directory of the user.
|
|
|
@menu
|
@menu
|
* Configuration File Format::
|
* Configuration File Format::
|
* Simulator Configuration::
|
* Simulator Configuration::
|
* Core OpenRISC Configuration::
|
* Core OpenRISC Configuration::
|
Line 880... |
Line 880... |
@subsection Configuration File Preprocessing
|
@subsection Configuration File Preprocessing
|
|
|
The configuration file may include C style comments (i.e. delimited by
|
The configuration file may include C style comments (i.e. delimited by
|
@code{/*} and @code{*/}).
|
@code{/*} and @code{*/}).
|
|
|
Configure files may be included, using
|
|
|
|
@example
|
|
include @var{filename_to_include}
|
|
@end example
|
|
|
|
@node Configuration File Syntax
|
@node Configuration File Syntax
|
@subsection Configuration File Syntax
|
@subsection Configuration File Syntax
|
|
|
The configuration file is divided into a series of sections, with the general
|
The configuration file is divided into a series of sections, with the general
|
form:
|
form:
|