wiki:FrequentlyAskedQuestions

Version 1 (modified by Nicolas Pouillon, 16 years ago) (diff)

FAQ

Cross-compilation issues

Wrong cross-compiler

In a bunch of GCC error messages, you see

as: unrecognized option `-EL'

Your mips gcc has been created wrongly, it's using your native (most probably x86) assembler. Recreate your cross-compilation toolchain.

Simulation issues

Bus simulation and multiple drivers

Using PiBus under SystemC-2.2, you see

Error: (E115) sc_signal<T> cannot have more than one driver
 signal `pibus_d' (sc_signal)
 first driver `tty_wrapper.port_8' (sc_inout)
 second driver `multiram_wrapper.port_8' (sc_inout)
 In file: ../../../../src/sysc/communication/sc_signal.cpp:137

SystemC got picky about multiple drivers. This probably needs a fix in simulation models, using SystemC-2.1 is a workaround for now.