Line 1... |
Line 1... |
This is ../../or1ksim/doc/or1ksim.info, produced by makeinfo version
|
This is ../../doc/or1ksim.info, produced by makeinfo version 4.13 from
|
4.13 from ../../or1ksim/doc/or1ksim.texi.
|
../../doc/or1ksim.texi.
|
|
|
INFO-DIR-SECTION Embedded development
|
INFO-DIR-SECTION Embedded development
|
START-INFO-DIR-ENTRY
|
START-INFO-DIR-ENTRY
|
* Or1ksim: (or32-uclinux-or1ksim). The OpenRISC 1000 Architectural
|
* Or1ksim: (or32-uclinux-or1ksim). The OpenRISC 1000 Architectural
|
Simulator
|
Simulator
|
Line 62... |
Line 62... |
===============
|
===============
|
|
|
Unpack the software and create a _separate_ directory in which to build
|
Unpack the software and create a _separate_ directory in which to build
|
it:
|
it:
|
|
|
tar jxf or1ksim-0.5.0rc2.tar.bz2
|
tar jxf or1ksim-2010-11-11.tar.bz2
|
mkdir builddir_or1ksim
|
mkdir builddir_or1ksim
|
cd builddir_or1ksim
|
cd builddir_or1ksim
|
|
|
|
|
File: or1ksim.info, Node: Configuring the Build, Next: Build and Install, Prev: Preparation, Up: Installation
|
File: or1ksim.info, Node: Configuring the Build, Next: Build and Install, Prev: Preparation, Up: Installation
|
Line 79... |
Line 79... |
|
|
The most significant argument is `--target', which should specify the
|
The most significant argument is `--target', which should specify the
|
OpenRISC 1000 32-bit architecture. If this argument is omitted, it will
|
OpenRISC 1000 32-bit architecture. If this argument is omitted, it will
|
default to OpenRISC 1000 32-bit with a warning
|
default to OpenRISC 1000 32-bit with a warning
|
|
|
../or1ksim-0.5.0rc2/configure --target=or32-uclinux ...
|
../or1ksim-2010-11-11/configure --target=or32-uclinux ...
|
|
|
There are several other options available, many of which are standard
|
There are several other options available, many of which are standard
|
to GNU `configure' scripts. Use `configure --help' to see all the
|
to GNU `configure' scripts. Use `configure --help' to see all the
|
options. The most useful is `--prefix' to specify a directory for
|
options. The most useful is `--prefix' to specify a directory for
|
installation of the tools.
|
installation of the tools.
|
Line 324... |
Line 324... |
"verbose" option in the simulator configuration section (see *note
|
"verbose" option in the simulator configuration section (see *note
|
Simulator Behavior: Simulator Behavior.).
|
Simulator Behavior: Simulator Behavior.).
|
|
|
`-t'
|
`-t'
|
`--trace'
|
`--trace'
|
Dump previous instruction, next instruction, GPRs and flag after
|
Dump instruction just executed and any register/memory location
|
each instruction.
|
chaged after each instruction (one line per instruction).
|
|
|
`-f FILE'
|
`-f FILE'
|
`--file=FILE'
|
`--file=FILE'
|
Read configuration commands from the specified file, looking first
|
Read configuration commands from the specified file, looking first
|
in the current directory, and otherwise in the `$HOME/.or1k'
|
in the current directory, and otherwise in the `$HOME/.or1k'
|
Line 1306... |
Line 1306... |
`zero'
|
`zero'
|
Set the memory values to be 0. This is the equivalent of
|
Set the memory values to be 0. This is the equivalent of
|
`type=pattern' and a `pattern' value of 0, and implemented as
|
`type=pattern' and a `pattern' value of 0, and implemented as
|
such.
|
such.
|
|
|
`exitnops'
|
|
Set the memory values to be an instruction used to signal end
|
|
of simulation. This is useful for causing immediate end of
|
|
simulation when PC corruption occurs.
|
|
|
|
Note: As a consequence, if the `pattern' field is
|
Note: As a consequence, if the `pattern' field is
|
_subsequently_ specified in this section, the value in
|
_subsequently_ specified in this section, the value in
|
that field will be used instead of zero to initialize
|
that field will be used instead of zero to initialize
|
the memory.
|
the memory.
|
|
|
|
`exitnops'
|
|
Set the memory values to be an instruction used to signal end
|
|
of simulation. This is useful for causing immediate end of
|
|
simulation when PC corruption occurs.
|
|
|
|
|
`random_seed = VALUE'
|
`random_seed = VALUE'
|
Set the seed for the random number generator to VALUE. This only
|
Set the seed for the random number generator to VALUE. This only
|
has any effect for memory type `random'.
|
has any effect for memory type `random'.
|
|
|
Line 3568... |
Line 3568... |
(line 91)
|
(line 91)
|
* --srv: Standalone Simulator.
|
* --srv: Standalone Simulator.
|
(line 60)
|
(line 60)
|
* --strict-npc: Standalone Simulator.
|
* --strict-npc: Standalone Simulator.
|
(line 100)
|
(line 100)
|
|
* --trace: Standalone Simulator.
|
|
(line 39)
|
* --verbose: Standalone Simulator.
|
* --verbose: Standalone Simulator.
|
(line 33)
|
(line 33)
|
* --version: Standalone Simulator.
|
* --version: Standalone Simulator.
|
(line 17)
|
(line 17)
|
* --version (memory profiling utility): Memory Profiling Utility.
|
* --version (memory profiling utility): Memory Profiling Utility.
|
Line 3599... |
Line 3601... |
* -m: Standalone Simulator.
|
* -m: Standalone Simulator.
|
(line 70)
|
(line 70)
|
* -q <1>: Profiling Utility. (line 30)
|
* -q <1>: Profiling Utility. (line 30)
|
* -q: Standalone Simulator.
|
* -q: Standalone Simulator.
|
(line 29)
|
(line 29)
|
|
* -t: Standalone Simulator.
|
|
(line 39)
|
* -V: Standalone Simulator.
|
* -V: Standalone Simulator.
|
(line 33)
|
(line 33)
|
* -v: Standalone Simulator.
|
* -v: Standalone Simulator.
|
(line 17)
|
(line 17)
|
* -v (memory profiling utility): Memory Profiling Utility.
|
* -v (memory profiling utility): Memory Profiling Utility.
|
Line 4341... |
Line 4345... |
* type (ATA/ATAPI device configuration): Disc Interface Configuration.
|
* type (ATA/ATAPI device configuration): Disc Interface Configuration.
|
(line 103)
|
(line 103)
|
* type (memory configuration): Memory Configuration.
|
* type (memory configuration): Memory Configuration.
|
(line 37)
|
(line 37)
|
* type=exitnops (memory configuration): Memory Configuration.
|
* type=exitnops (memory configuration): Memory Configuration.
|
(line 61)
|
(line 66)
|
* type=pattern (memory configuration): Memory Configuration.
|
* type=pattern (memory configuration): Memory Configuration.
|
(line 47)
|
(line 47)
|
* type=random (memory configuration): Memory Configuration.
|
* type=random (memory configuration): Memory Configuration.
|
(line 41)
|
(line 41)
|
* type=unknown (memory configuration): Memory Configuration.
|
* type=unknown (memory configuration): Memory Configuration.
|
Line 4398... |
Line 4402... |
(line 50)
|
(line 50)
|
|
|
|
|
|
|
Tag Table:
|
Tag Table:
|
Node: Top830
|
Node: Top814
|
Node: Installation1240
|
Node: Installation1224
|
Node: Preparation1487
|
Node: Preparation1471
|
Node: Configuring the Build1780
|
Node: Configuring the Build1766
|
Node: Build and Install7922
|
Node: Build and Install7910
|
Node: Known Issues8700
|
Node: Known Issues8688
|
Node: Usage9755
|
Node: Usage9743
|
Node: Standalone Simulator9969
|
Node: Standalone Simulator9957
|
Node: Profiling Utility14494
|
Node: Profiling Utility14521
|
Node: Memory Profiling Utility15404
|
Node: Memory Profiling Utility15431
|
Node: Simulator Library16769
|
Node: Simulator Library16796
|
Node: Configuration26852
|
Node: Configuration26879
|
Node: Configuration File Format27464
|
Node: Configuration File Format27491
|
Node: Configuration File Preprocessing27849
|
Node: Configuration File Preprocessing27876
|
Node: Configuration File Syntax28146
|
Node: Configuration File Syntax28173
|
Node: Simulator Configuration30931
|
Node: Simulator Configuration30958
|
Node: Simulator Behavior31222
|
Node: Simulator Behavior31249
|
Node: Verification API Configuration35803
|
Node: Verification API Configuration35830
|
Node: CUC Configuration37743
|
Node: CUC Configuration37770
|
Node: Core OpenRISC Configuration39735
|
Node: Core OpenRISC Configuration39762
|
Node: CPU Configuration40237
|
Node: CPU Configuration40264
|
Node: Memory Configuration44356
|
Node: Memory Configuration44383
|
Node: Memory Management Configuration51078
|
Node: Memory Management Configuration51105
|
Node: Cache Configuration53455
|
Node: Cache Configuration53482
|
Node: Interrupt Configuration55841
|
Node: Interrupt Configuration55868
|
Node: Power Management Configuration56577
|
Node: Power Management Configuration56604
|
Node: Branch Prediction Configuration57854
|
Node: Branch Prediction Configuration57881
|
Node: Debug Interface Configuration59214
|
Node: Debug Interface Configuration59241
|
Node: Peripheral Configuration61557
|
Node: Peripheral Configuration61584
|
Node: Memory Controller Configuration62183
|
Node: Memory Controller Configuration62210
|
Node: UART Configuration65963
|
Node: UART Configuration65990
|
Node: DMA Configuration69482
|
Node: DMA Configuration69509
|
Node: Ethernet Configuration71349
|
Node: Ethernet Configuration71376
|
Node: GPIO Configuration75325
|
Node: GPIO Configuration75352
|
Node: Display Interface Configuration76958
|
Node: Display Interface Configuration76985
|
Node: Frame Buffer Configuration79267
|
Node: Frame Buffer Configuration79294
|
Node: Keyboard Configuration81131
|
Node: Keyboard Configuration81158
|
Node: Disc Interface Configuration83369
|
Node: Disc Interface Configuration83396
|
Node: Generic Peripheral Configuration88473
|
Node: Generic Peripheral Configuration88500
|
Node: Interactive Command Line90768
|
Node: Interactive Command Line90795
|
Node: Verification API97742
|
Node: Verification API97769
|
Node: Code Internals102172
|
Node: Code Internals102199
|
Node: Coding Conventions102755
|
Node: Coding Conventions102782
|
Node: Global Data Structures107182
|
Node: Global Data Structures107209
|
Node: Concepts109839
|
Node: Concepts109866
|
Ref: Output Redirection109984
|
Ref: Output Redirection110011
|
Node: Internal Debugging110523
|
Node: Internal Debugging110550
|
Node: Regression Testing111047
|
Node: Regression Testing111074
|
Node: GNU Free Documentation License114836
|
Node: GNU Free Documentation License114863
|
Node: Index137243
|
Node: Index137270
|
|
|
End Tag Table
|
End Tag Table
|