Skip to content

Commit

Permalink
Merge pull request #19 from hcallahan-lowrisc/small_changes
Browse files Browse the repository at this point in the history
Move python venv to ./venv dir, add backup programming command
  • Loading branch information
hcallahan-lowrisc authored Jan 9, 2023
2 parents e894a92 + daf0531 commit f9a2f02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
bin/
build/
lib/
lib64
pyvenv.cfg
share/
sw/build/
.venv/
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ recommended)

```bash
# Setup python venv
python3 -m venv .
source ./bin/activate
python3 -m venv .venv
source .venv/bin/activate

# Install python requirements
pip3 install -r python-requirements.txt
Expand All @@ -50,11 +50,11 @@ First the software must be built. This is provide an initial binary for the FPGA
build.

```
cd sw
mkdir build
cd build
mkdir sw/build
pushd sw/build
cmake ../
make
popd
```

Note the FPGA build relies on a fixed path to the initial binary (blank.vmem) so
Expand Down Expand Up @@ -96,6 +96,9 @@ To program the FPGA, either use FuseSoC again

```
fusesoc --cores-root=. run --target=synth --run lowrisc:ibex:demo_system
# If the above does not work, try executing the programming operation manually with..
make -C ./build/lowrisc_ibex_demo_system_0/synth-vivado/ pgm
```

Or use the Vivado GUI
Expand Down

0 comments on commit f9a2f02

Please sign in to comment.