timvideos / qemu-litex

Other
2 stars 2 forks source link

Get multi-arch emulation working. #14

Open mithro opened 7 years ago

mithro commented 7 years ago

LiteX supports lm32, mor1k, risc-v and soon sh2 CPU architectures. Currently the emulation assumes lm32 arch.

Qemu supports emulation of all these archs, so we should support using them.

mithro commented 7 years ago

Both or1k and lm32 now work.

mithro commented 7 years ago

https://github.com/timvideos/qemu-litex/blob/master/build-litex-qemu.sh#L76-L89