--enable-profiling--disable-profiling | If enabled, Or1ksim is compiled for profiling with gprof. This is disabled by default. Only really of value for developers of Or1ksim |
--enable-execution=simple--enable-execution=complex | Or1ksim has developed to improve functionality and performance. This feature allows three versions of Or1ksim to be built
--enable-execution=simple
Build the original simple interpreting simulator
--enable-execution=complex
Build a more complex interpreting simulator. Experiments suggest this
is 50% faster than the simple simulator. This is the default. |
--enable-ethphy--disable-ethphy | If enabled, this option allows the Ethernet to be simulated by connecting via a socket (the alternative reads and writes, from and to files). This must then be configured using the relevant fields in the ethernet section of the configuration file. The default is for this to be disabled. |
--enable-unsigned-xori--disable-unsigned-xori | Historically, l.xori, has sign extended its operand. This is inconsistent with the other logical opcodes (l.andi, l.ori), but in the absence of l.not, it allows a register to be inverted in a single instruction using:
l.xori rD,rA,-1
This flag causes Or1ksim to treat the immediate operand as unsigned (i.e to zeroextend rather than sign-extend) |
--enable-range-stats --disable-range-stats | If enabled, this option allows statistics to be collected to analyse register access over time. The default is for this to be disabled. |
--enable-debug --disable-debug | This is a feature of the Argtable2 package used to process arguments. If enabled, some debugging features are turned on in Argtable2. It is provided for completeness, but there is no reason why this feature should ever be needed by any Or1ksim user. |
--enable-all-tests --disable-all-tests | Some of the tests (at the time of writing just one) will not compile without error. If enabled with this flag, all test programs will be compiled with make check.This flag is intended for those working on the test package, who wish to get the missing test(s) working. |