I installed LiteX and Risc-V tool chain as below. (Installation Guide)
After installation was completed, i executed "$ lxsim --cpu-type=vexriscv"
But, I am seeing the error message below.
OSError: Unable to find any of the cross compilation toolchains:
Note: On MacOS, make sure you have HomeBrew installed. Then do, brew install wget.
Note: On Windows, it's possible you'll have to set SHELL environment variable to SHELL=cmd.exe.
Install a RISC-V toolchain (Only if you want to test/create a SoC with a CPU):
$ ./litex_setup.py gcc -> Done
Build the target of your board...: > Skip
Go to litex-boards/litex_boards/targets and execute the target you want to build. -
... and/or install Verilator and test LiteX directly on your computer without any FPGA board
Hi,
I installed LiteX and Risc-V tool chain as below. (Installation Guide) After installation was completed, i executed "$ lxsim --cpu-type=vexriscv" But, I am seeing the error message below.
OSError: Unable to find any of the cross compilation toolchains:
Regards, Rider-lu
==========================================================================
$ wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py -> Done $ chmod +x litex_setup.py -> Done $ ./litex_setup.py init install --user (--user to install to user directory) -> Done
Later, if you need to update all repositories:
$ ./litex_setup.py update -> Skip
$ ./litex_setup.py gcc -> Done
Go to litex-boards/litex_boards/targets and execute the target you want to build. -
On Linux (Ubuntu):
$ sudo apt install libevent-dev libjson-c-dev verilator -> Done $ lxsim --cpu-type=vexriscv --> Error!!!