OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/or1ksim/doc
    from Rev 457 to Rev 460
    Reverse comparison

Rev 457 → Rev 460

/or1ksim.info
64,7 → 64,7
Unpack the software and create a _separate_ directory in which to build
it:
 
tar jxf or1ksim-2010-12-15.tar.bz2
tar jxf or1ksim-2011-01-05.tar.bz2
mkdir builddir_or1ksim
cd builddir_or1ksim
 
81,7 → 81,7
OpenRISC 1000 32-bit architecture. If this argument is omitted, it will
default to OpenRISC 1000 32-bit with a warning
 
../or1ksim-2010-12-15/configure --target=or32-elf ...
../or1ksim-2011-01-05/configure --target=or32-elf ...
 
There are several other options available, many of which are standard
to GNU `configure' scripts. Use `configure --help' to see all the
288,6 → 288,7
* Trace Generation::
* Simulator Library::
* Ethernet TUN/TAP Interface::
* l.nop Support::
 

File: or1ksim.info, Node: Standalone Simulator, Next: Profiling Utility, Up: Usage
795,7 → 796,7
 
 

File: or1ksim.info, Node: Ethernet TUN/TAP Interface, Prev: Simulator Library, Up: Usage
File: or1ksim.info, Node: Ethernet TUN/TAP Interface, Next: l.nop Support, Prev: Simulator Library, Up: Usage
 
2.6 Ethernet TUN/TAP Interface
==============================
978,6 → 979,57
closed first.
 

File: or1ksim.info, Node: l.nop Support, Prev: Ethernet TUN/TAP Interface, Up: Usage
 
2.7 l.nop Opcode Support
========================
 
The OpenRISC `l.nop' opcode can take a parameter. This has no effect
on the semantics of the opcode, but can be used to trigger side effect
behavior in a simulator. Within Or1ksim, the following parameters are
supported.
 
`l.nop 0'
The equivalent to `l.nop' with no parameter. Has no side effects.
 
`l.nop 1'
Execution of Or1ksim is terminated. This is used to implement the
library `exit' functions.
 
`l.nop 2'
Report the value in `r3' on the console as a 32-bit hex value.
 
`l.nop 3'
In earlier versions of Or1ksim this treated `r3' as a pointer to a
`printf' style format string, and regsiters `r4' through `r8' as
parameters for that format string.
 
This opcode is no longer supported, and has no effect if used.
 
`l.nop 4'
The value in `r3' is printed to standard output as an ASCII
character. All library output routines are implemented using this
opcode.
 
`l.nop 5'
The statistics counters are reset.
 
`l.nop 6'
The number of clock ticks since start of execution (a 64-bit
value) is returned in `r11' (low 32 bits) and `r12' (high 32 bits).
 
`l.nop 7'
The number of picoseconds per clock cycle is returned in `r11'.
This is used with `l.nop 6' to implement timing functions.
 
`l.nop 8'
Instruction tracing is turned on.
 
`l.nop 9'
Instruction tracing is turned off.
 
 

File: or1ksim.info, Node: Configuration, Next: Interactive Command Line, Prev: Usage, Up: Top
 
3 Configuration
4285,6 → 4337,17
* jitter (UART configuration): UART Configuration. (line 78)
* keyboard configuration: Keyboard Configuration.
(line 6)
* l.nop 0: l.nop Support. (line 12)
* l.nop 1 (end simulation): l.nop Support. (line 15)
* l.nop 2 (report): l.nop Support. (line 19)
* l.nop 3 (printf, now obsolete): l.nop Support. (line 22)
* l.nop 4 (putc): l.nop Support. (line 29)
* l.nop 5 (reset statistics counters): l.nop Support. (line 34)
* l.nop 6 (get clock ticks): l.nop Support. (line 37)
* l.nop 7 (get picoseconds per cycle): l.nop Support. (line 41)
* l.nop 8 (turn on tracing): l.nop Support. (line 45)
* l.nop 9 (turn off tracing): l.nop Support. (line 48)
* l.nop opcode effects: l.nop Support. (line 6)
* library version of Or1ksim: Simulator Library. (line 6)
* license for Or1ksim: GNU Free Documentation License.
(line 6)
4731,57 → 4794,58
Node: Build and Install7902
Node: Known Issues8668
Node: Usage9723
Node: Standalone Simulator9989
Node: Profiling Utility14549
Node: Memory Profiling Utility15455
Node: Trace Generation16815
Node: Simulator Library18057
Node: Ethernet TUN/TAP Interface28489
Node: Setting Up a Persistent TAP device29572
Node: Establishing a Bridge30247
Node: Opening the Firewall31930
Node: Disabling Ethernet Filtering32421
Node: Networking from OpenRISC Linux and BusyBox33046
Node: Tearing Down a Bridge34708
Node: Configuration35451
Node: Configuration File Format36063
Node: Configuration File Preprocessing36448
Node: Configuration File Syntax36745
Node: Simulator Configuration39530
Node: Simulator Behavior39821
Node: Verification API Configuration44402
Node: CUC Configuration46342
Node: Core OpenRISC Configuration48334
Node: CPU Configuration48836
Node: Memory Configuration52955
Node: Memory Management Configuration59677
Node: Cache Configuration62054
Node: Interrupt Configuration64440
Node: Power Management Configuration66273
Node: Branch Prediction Configuration67550
Node: Debug Interface Configuration68910
Node: Peripheral Configuration71253
Node: Memory Controller Configuration71879
Node: UART Configuration75659
Node: DMA Configuration79178
Node: Ethernet Configuration81045
Node: GPIO Configuration86324
Node: Display Interface Configuration87957
Node: Frame Buffer Configuration90266
Node: Keyboard Configuration92130
Node: Disc Interface Configuration94368
Node: Generic Peripheral Configuration99472
Node: Interactive Command Line101767
Node: Verification API108741
Node: Code Internals113171
Node: Coding Conventions113754
Node: Global Data Structures118181
Node: Concepts120838
Ref: Output Redirection120983
Ref: Interrupts Internal121521
Node: Internal Debugging122674
Node: Regression Testing123198
Node: GNU Free Documentation License126987
Node: Index149394
Node: Standalone Simulator10007
Node: Profiling Utility14567
Node: Memory Profiling Utility15473
Node: Trace Generation16833
Node: Simulator Library18075
Node: Ethernet TUN/TAP Interface28507
Node: Setting Up a Persistent TAP device29612
Node: Establishing a Bridge30287
Node: Opening the Firewall31970
Node: Disabling Ethernet Filtering32461
Node: Networking from OpenRISC Linux and BusyBox33086
Node: Tearing Down a Bridge34748
Node: l.nop Support35491
Node: Configuration37001
Node: Configuration File Format37613
Node: Configuration File Preprocessing37998
Node: Configuration File Syntax38295
Node: Simulator Configuration41080
Node: Simulator Behavior41371
Node: Verification API Configuration45952
Node: CUC Configuration47892
Node: Core OpenRISC Configuration49884
Node: CPU Configuration50386
Node: Memory Configuration54505
Node: Memory Management Configuration61227
Node: Cache Configuration63604
Node: Interrupt Configuration65990
Node: Power Management Configuration67823
Node: Branch Prediction Configuration69100
Node: Debug Interface Configuration70460
Node: Peripheral Configuration72803
Node: Memory Controller Configuration73429
Node: UART Configuration77209
Node: DMA Configuration80728
Node: Ethernet Configuration82595
Node: GPIO Configuration87874
Node: Display Interface Configuration89507
Node: Frame Buffer Configuration91816
Node: Keyboard Configuration93680
Node: Disc Interface Configuration95918
Node: Generic Peripheral Configuration101022
Node: Interactive Command Line103317
Node: Verification API110291
Node: Code Internals114721
Node: Coding Conventions115304
Node: Global Data Structures119731
Node: Concepts122388
Ref: Output Redirection122533
Ref: Interrupts Internal123071
Node: Internal Debugging124224
Node: Regression Testing124748
Node: GNU Free Documentation License128537
Node: Index150944

End Tag Table
/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11 from Makefile.am.
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
 
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
/or1ksim.texi
355,6 → 355,7
* Trace Generation::
* Simulator Library::
* Ethernet TUN/TAP Interface::
* l.nop Support::
@end menu
 
@node Standalone Simulator
1195,6 → 1196,77
example any OpenRISC Linux/BusyBox sessions should be closed first.
@end quotation
 
@node l.nop Support
@section l.nop Opcode Support
@cindex l.nop opcode effects
 
The OpenRISC @code{l.nop} opcode can take a parameter. This has no
effect on the semantics of the opcode, but can be used to trigger side
effect behavior in a simulator. Within Or1ksim, the following parameters
are supported.
 
@table @code
 
@item l.nop 0
@cindex @code{l.nop 0}
 
The equivalent to @code{l.nop} with no parameter. Has no side effects.
 
@item l.nop 1
@cindex @code{l.nop 1} (end simulation)
 
Execution of Or1ksim is terminated. This is used to implement the
library @code{exit} functions.
 
@item l.nop 2
@cindex @code{l.nop 2} (report)
 
Report the value in @code{r3} on the console as a 32-bit hex value.
 
@item l.nop 3
@cindex @code{l.nop 3} (printf, now obsolete)
 
In earlier versions of @value{OR1KSIM} this treated @code{r3} as a
pointer to a @code{printf} style format string, and regsiters @code{r4}
through @code{r8} as parameters for that format string.
 
This opcode is no longer supported, and has no effect if used.
 
@item l.nop 4
@cindex @code{l.nop 4} (putc)
 
The value in @code{r3} is printed to standard output as an ASCII
character. All library output routines are implemented using this opcode.
 
@item l.nop 5
@cindex @code{l.nop 5} (reset statistics counters)
 
The statistics counters are reset.
 
@item l.nop 6
@cindex @code{l.nop 6} (get clock ticks)
 
The number of clock ticks since start of execution (a 64-bit value) is
returned in @code{r11} (low 32 bits) and @code{r12} (high 32 bits).
 
@item l.nop 7
@cindex @code{l.nop 7} (get picoseconds per cycle)
 
The number of picoseconds per clock cycle is returned in @code{r11}.
This is used with @code{l.nop 6} to implement timing functions.
 
@item l.nop 8
@cindex @code{l.nop 8} (turn on tracing)
 
Instruction tracing is turned on.
 
@item l.nop 9
@cindex @code{l.nop 9} (turn off tracing)
 
Instruction tracing is turned off.
 
@end table
 
@node Configuration
@chapter Configuration
@cindex configuring @value{OR1KSIM}
/version.texi
1,4 → 1,4
@set UPDATED 15 December 2010
@set UPDATED-MONTH December 2010
@set EDITION 2010-12-15
@set VERSION 2010-12-15
@set UPDATED 5 January 2011
@set UPDATED-MONTH January 2011
@set EDITION 2011-01-05
@set VERSION 2011-01-05

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.