mirror of
https://github.com/supleed2/EIE4-FYP.git
synced 2024-12-22 14:15:50 +00:00
Fix csr.csv
generation
This commit is contained in:
parent
2829a32dc6
commit
8f3223c78f
2
build.sh
2
build.sh
|
@ -4,7 +4,7 @@ read -p "Rebuild gateware? [y/N]" -n 1 -r REBUILD
|
||||||
if [[ $REBUILD =~ ^[Yy]$ ]]; then
|
if [[ $REBUILD =~ ^[Yy]$ ]]; then
|
||||||
echo # Move to next line
|
echo # Move to next line
|
||||||
rm -f analyzer.csv csr.csv gsd_orangecrab.dfu kernel.bin && echo "Cleaned up previous run files"
|
rm -f analyzer.csv csr.csv gsd_orangecrab.dfu kernel.bin && echo "Cleaned up previous run files"
|
||||||
python3 make.py --build --doc --cpu-type picorv32 --cpu-variant standard --nextpnr-ignoreloops
|
python3 make.py --build --doc --cpu-type picorv32 --cpu-variant standard --nextpnr-ignoreloops --csr-csv csr.csv
|
||||||
cp build/gsd_orangecrab/gateware/gsd_orangecrab.bit gsd_orangecrab.dfu && echo "Copied .bit to .dfu"
|
cp build/gsd_orangecrab/gateware/gsd_orangecrab.bit gsd_orangecrab.dfu && echo "Copied .bit to .dfu"
|
||||||
dfu-suffix -v 1209 -p 5af0 -a gsd_orangecrab.dfu && echo "Added DFU suffix for target (VID:PID)"
|
dfu-suffix -v 1209 -p 5af0 -a gsd_orangecrab.dfu && echo "Added DFU suffix for target (VID:PID)"
|
||||||
rm -r docs/ && echo "Deleted old docs in project root"
|
rm -r docs/ && echo "Deleted old docs in project root"
|
||||||
|
|
1
make.py
1
make.py
|
@ -313,7 +313,6 @@ def main():
|
||||||
**parser.soc_argdict)
|
**parser.soc_argdict)
|
||||||
if args.with_spi_sdcard:
|
if args.with_spi_sdcard:
|
||||||
soc.add_spi_sdcard()
|
soc.add_spi_sdcard()
|
||||||
args.csr_csv = "csr.csv"
|
|
||||||
builder = Builder(soc, **parser.builder_argdict)
|
builder = Builder(soc, **parser.builder_argdict)
|
||||||
if args.build:
|
if args.build:
|
||||||
builder.build(**parser.toolchain_argdict)
|
builder.build(**parser.toolchain_argdict)
|
||||||
|
|
Loading…
Reference in a new issue