Update README.md

main
FPGALover 2024-02-28 22:02:16 +00:00
parent 68c7cd0159
commit 15ab4cb7bb
1 changed files with 11 additions and 1 deletions

View File

@ -76,6 +76,14 @@ git clone https://gitea.squirrelnut.synology.me:5001/FPGALover/RISCV_picorv32_fp
### 3. Install Python ### 3. Install Python
Before you can cross compile, you need to have Python installed on your windows machine, make sure you install Python2.7 or Python3, in case you install python3, you would need to modify the variable "PYTHON_VER" at the line # 8 of the file \sw\Makefile. Also make sure that your python is register under the *Path* enviroment variables Before you can cross compile, you need to have Python installed on your windows machine, make sure you install Python2.7 or Python3, in case you install python3, you would need to modify the variable "PYTHON_VER" at the line # 8 of the file \sw\Makefile. Also make sure that your python is register under the *Path* enviroment variables
open a CMD and check that you can summon python when you type "python" or "python3", just make sure it correspond to the Makefile name
```
> python
Python 3.11.7 (main, Dec 7 2023, 09:09:57) [GCC UCRT 13.2.0 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
```
### 4. Cross compile ### 4. Cross compile
Go to the directory RISCV_picorv32_fpga/sw using a CMD. Go to the directory RISCV_picorv32_fpga/sw using a CMD.
@ -210,7 +218,9 @@ you can find that that these binaries are used by the file memory.v(xoro_top->Me
``` ```
## Other Linux and Windows precompiled Toolchains ## Other Linux and Windows precompiled Toolchains just in case
- https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/ for mingw64 - https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/ for mingw64
- https://gnutoolchains.com/risc-v/ - https://gnutoolchains.com/risc-v/
under this repo you can also find some prebuilt binaries for Linux and Windows, in case any of the servers was down, or you could not build it.