aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Workarround: Disable cmd_memtest() when starting firmware.Hirosh Dabui2020-01-271-1/+1
| | | | | It destroys bss and data section memory. You are not able to use static or global vars.
* Merge pull request #141 from rxrbln/masterClifford Wolf2019-11-181-8/+11
|\ | | | | added CROSS prefix and CFLAGS to the picsoc/Makefile
| * added CROSS prefix and CFLAGS to the picsoc/MakefileRené Rebe2019-11-141-8/+11
|/ | | | | so one can run it with other toolchains, e.g. CROSS=riscv64-t2-linux-gnu- CFLAGS=-mabi=ilp32, too
* Merge pull request #138 from pcotret/patch-1Clifford Wolf2019-10-311-1/+1
|\ | | | | Short modification in the error string
| * Short modification in the error stringPascal Cotret2019-10-291-1/+1
|/
* Fix typo, closes #136Clifford Wolf2019-09-251-1/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Fix initialization of "irq" in verilog testbenchClifford Wolf2019-09-222-2/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Improve showtrace.py (and fix for new binutils)Clifford Wolf2019-09-211-2/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Improve test firmware, increase testbench memory size to 128kBClifford Wolf2019-09-128-16/+132
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #131 from tomverbeure/dhry_traceClifford Wolf2019-08-192-2/+28
|\ | | | | Add tracing support to dhrystone test
| * Add tracing support to dhrystone testTom Verbeure2019-08-182-2/+28
|/
* Update README.mdClifford Wolf2019-08-091-1/+1
|
* Disable verilator warnings, fixes #128Clifford Wolf2019-08-061-0/+5
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add PICORV32_TESTBUG_nnn ifdefs for testing purposesClifford Wolf2019-06-301-0/+18
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add rvfi_ixlClifford Wolf2019-06-261-0/+2
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add RVFI CSRsClifford Wolf2019-06-071-0/+39
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Do not peek into core for cycle count in WB testbenchClifford Wolf2019-06-031-2/+5
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Do not peek into core for cycle count in testbenchClifford Wolf2019-06-031-2/+5
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge branch 'yanghao-master'Clifford Wolf2019-04-281-0/+1
|\
| * Undo Makefile changesClifford Wolf2019-04-281-3/+2
| | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
| * fix firmware/sections.lds section size alignment on 4 bytesYanghao Hua2019-04-272-2/+4
|/
* Merge pull request #117 from Fatsie/wbdocClifford Wolf2019-04-171-5/+5
|\ | | | | README.md: Also refer to picorv32_wb
| * README.md: Also refer to picorv32_wbStaf Verhaegen2019-03-281-5/+5
|/
* Add Verilator version infosClifford Wolf2019-03-192-1/+4
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Rename decoded_imm_uj to decoded_imm_jv1.0Clifford Wolf2019-03-021-6/+6
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Remove riscv-dejagnu from "make build-tools"Clifford Wolf2019-03-021-3/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Remove riscv-qemu from "make build-tools"Clifford Wolf2019-03-021-3/+1
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #114 from csquaredphd/masterClifford Wolf2019-03-021-1/+1
|\ | | | | fix typo in picosoc/Makefile for hx8k board
| * fix typo in picosoc/Makefile for hx8k boardChris Clark2019-03-011-1/+1
| |
* | Add buffer cell to scripts/yosys/synth_gates.libClifford Wolf2019-03-021-0/+6
|/ | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Update riscv-gnu-toolchain to 411d134Clifford Wolf2019-02-192-3/+3
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Merge pull request #111 from stv0g/icebreaker-spramClifford Wolf2019-02-139-40/+274
|\ | | | | Use SPRAM on ICE40UP5K based boards
| * Merge branch 'master' into icebreaker-spramClifford Wolf2019-02-137-38/+239
| |\ | |/ |/|
* | Merge pull request #104 from thoughtpolice/devClifford Wolf2019-02-135-38/+221
|\ \ | | | | | | Various touchups to scripts/icestorm demo
| * | scripts/icestorm: check circuit @ 62MHzAustin Seipp2019-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | With arachne-pnr this circuit couldn't hit 60MHz, just barely under it. OTOH, nextpnr hits about ~68 MHz. So let's set it somewhere inbetween to make sure this is true over time! Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: dedupe calls to yosys-configAustin Seipp2019-01-111-2/+4
| | | | | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: add readmeAustin Seipp2019-01-111-0/+12
| | | | | | | | | | | | | | | | | | Notes about how to build proper simulation vs hardware bitstreams. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: remove unneeded -lgccAustin Seipp2019-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | This freestanding firmware doesn't need anything from the supporting toolchain. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: move SHIFT_COUNTER_BITS into MakefileAustin Seipp2019-01-112-4/+11
| | | | | | | | | | | | | | | | | | | | | This makes it easier to build separate bitstreams for simulation targets vs the real bitstream for hardware, without editing any source code. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: comments onlyAustin Seipp2019-01-111-0/+21
| | | | | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: add 'timing' targetAustin Seipp2019-01-111-2/+4
| | | | | | | | | | | | | | | | | | | | | This dumps a simple IceTime report for the bitstream; we fix the device package to CT256, corresponding to the HX8K. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: force -march=rv32iAustin Seipp2019-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IceStorm example core doesn't include compressed instructions or the MULT extension; it is an rv32i core, not rv32i[m|c]. If the given riscv32 toolchain is not explicitly told to generate rv32i code for the firmware, it may generate invalid instructions which cause a trap during simulation or on the hardware itself (although CATCH_ILLINSN is set to zero in this case, too). Luckily, any rv32i* toolchain (rv32imc for example) can fit the bill here -- there's no use of libgcc or anything (which might introduce illegal instructions generated previously) so just forcing the compiler to generate the right code works nicely. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: switch to nextpnr-ice40Austin Seipp2019-01-111-6/+6
| | | | | | | | | | | | | | | | | | | | | nextpnr-ice40 gives a better fMAX for this design (by about ~9Mhz for me: ~59MHz -> ~68MHz) and is The Way Of The Future. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | scripts/icestorm: touch up Makefile a bitAustin Seipp2019-01-111-29/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This touches up the Makefile so that it: - uses $@, $< and $^ in more places for brevity and robustness (typo guards, etc) - tracks dependencies slightly better (e.g. .pcf file changes weren't tracked before) Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | Add shell.nix for Nix-based PicoRV32 developmentAustin Seipp2019-01-111-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The net result of this is that cd'ing into the main source directory and running: $ nix-shell will get you every tool needed to immediately do RISC-V development with picorv32 or picosoc (assuming you're targeting ICE40 or ECP5). The shell.nix file contains many comments on how to use the resulting environment. Signed-off-by: Austin Seipp <aseipp@pobox.com>
| * | gitignore: update to ignore verilator artifactsAustin Seipp2019-01-111-0/+1
| | | | | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* | | Merge pull request #109 from stv0g/cmd-echoClifford Wolf2019-02-131-0/+12
|\ \ \ | | | | | | | | Added echo command to PicoSoc firmware for testing UART
| * | | added echo command for testing simpleuartSteffen Vogel2019-02-111-0/+12
| |/ /
* | | Merge pull request #110 from stv0g/add-torture-readmeClifford Wolf2019-02-131-0/+6
|\ \ \ | |/ / |/| | Add readme file for torture test
| * | add readme file for torture test (closes #93)Steffen Vogel2019-02-111-0/+6
|/ /