Download GRSIM User`s Manual
Transcript
Cobham Gaisler AB 5 GRSIM User’s Manual -driver so/dll file symbol Loads an I/O driver from the given so/dll file, where the given symbol must be a pointer to a struct grgpio iodriver. -output-zeroes-data Sets quirk that a line that drives output will always read 0 for that line in the data register. -restricted-output mask Sets quirk that only the lines for which the corresponding bit in the given mask is set can drive output. The other lines behaves as if direction is always set to in (even when the corresponding bit in the in the direction register is set to 1). 2.2.2.5 (GAISLER IRQMP) Multiprocessor Interrupt controller options -broadcast Enables the broadcast functionality. -amp cnt Implement the AMP functionality of the IRQMP controller for cnt instances. -ext nr Implement the extended irq controller functionality with extended interrupt nr. -cpubus busid If the interrupt controller is located on a separate bus, specify the bus busid where the CPUs are located. 2.2.2.6 (GAISLER L2C) LEON2 Compatibility, UART -uart device By default, the UART is connected to stdin/stdout. In Linux, this switch can be used to connect the uart to another device. E.g. “-uart /dev/ptypc” will connect the UART to the pseudo device ptypc. (To communicate with ptypc, the user should connect to /dev/ttypc). -fast_uart Run the uart at infinite speed, rather than the default (slow) baud rate. 2.2.2.7 (GAISLER LEON3|4) LEON3|4 CPU -smpid num The cpu’s id that will appear in the cpu index field of %asr17. -nfp Disables the FPU to emulate system without FP hardware. Any FP instruction will generate an FP disabled trap. -dcsize size Defines the set-size (kbytes) of the LEON dcache. Allowed values are 1 - 64 in binary steps. -dlock Enable data cache line locking. Default is disabled. -dlsize size Sets the line size of the data cache (in bytes). Allowed values are 8, 16 or 32. -dsets sets Defines the number of sets in the data cache. Allowed values are 1 - 4. -drepl repl Sets the replacement algorithm for the data cache. Allowed values are rnd for random replacement, lru for the least-recently-used replacement algorithm and lrr for least-recently-replaced replacement algorithm.