Commit graph

70 commits

Author SHA1 Message Date
Luca Valente
277d7ac330 Add support for running from flash
* Add possibility to supply additional vsim flags with run target
* Now the user can supply the bootmode=<spi|flash|fast_debug|jtag>
variable with the run target to choose the desired boot mode.
2021-05-05 17:39:24 +02:00
Manuel Eggimann
3903c87478 Create symlinks to waves folder in run target 2021-05-03 10:27:23 +02:00
bluew
252cecba03
Merge pull request #14 from micprog/ibex_int
Add compatibility for ibex
2021-02-02 12:01:34 +01:00
Michael Rogenmoser
0f63e0b866 Add ibex config scripts 2021-02-02 11:16:07 +01:00
Michael Rogenmoser
2ba1be662d Update Macro naming 2021-02-02 11:09:28 +01:00
Michael Rogenmoser
a907bd73bd fix ri5cy compatibility 2021-01-22 21:11:35 +01:00
Michael Rogenmoser
babf8b1c4e Add ibex compatibility to pulpissimo 2021-01-22 17:52:42 +01:00
Michael Rogenmoser
a3f57b07d3 Ibex cleanup 2021-01-04 14:09:11 +01:00
Michael Rogenmoser
c3cfcb45e4 Add ibex performance counters 2021-01-04 11:38:39 +01:00
Michael Rogenmoser
0996d82ddc Merge remote-tracking branch 'origin/master' into ibex_int 2020-12-22 17:02:33 +01:00
bluew
9588b789f3
Merge pull request #13 from pulp-platform/make-fixes
Make fixes
2020-12-16 18:35:34 +01:00
bluew
14e29fb342 rules: Fail if VSIM_PATH is undefined
You might think these are too many checks, but in fact each is needed to
cover all possible edge cases.

For example you could remove all the VSIM_PATH checks when creating the
symlink and force the creation of symlink (-f flag), but this will fail
for /boot, since on many machines /boot does actually exist.

Removing VSIM_PATH from the run target can cause problems when calling
run with a pre-compiled build directory etc.
2020-12-16 18:31:07 +01:00
bluew
3b2079e1bc rules: Generate fs and stdout dirs for run target
When running a questa simulation for pulp/pulpissimo, the testbench
tries to write some log files to stdout/ and fs/, which don't exist
resulting in an ENOENT.
2020-12-16 18:11:04 +01:00
bluew
d35b07640b rules: Mark clean and run target as PHONY 2020-12-16 18:09:51 +01:00
bluew
555ad4facb
Merge pull request #12 from pulp-platform/revert-work
Revert "Merge pull request #11 from micprog/master"
2020-12-16 18:07:07 +01:00
bluew
9044e45930 Revert "Merge pull request #11 from micprog/master"
This reverts commit d898ae3424, reversing
changes made to b8f77f397f.

The problem is that when you call `make run` twice, then the work target
tries to re-do it since its a broken symlink. Furthermore, it should be
anyway possible to get the bender flow working withouth symlinking the
work directory.
2020-12-16 18:05:28 +01:00
Michael Rogenmoser
5c9907fd7b Update ibex irq registers 2020-12-07 09:41:29 +01:00
Michael Rogenmoser
034558d689 change spr_read and write from __builtin to hal for irq 2020-12-07 09:40:15 +01:00
bluew
d898ae3424
Merge pull request #11 from micprog/master
add work directory symlink for compatibility to pulp built with bender
2020-12-01 15:40:19 +01:00
Michael Rogenmoser
8db90e9429 Add compatibility for ibex 2020-11-25 14:38:38 +01:00
Michael Rogenmoser
1b44f3beb9 Cleanup symlink to remove dependency on BENDER variable 2020-11-20 09:24:05 +01:00
Michael Rogenmoser
c3a56d32b1 add work directory symlink for compatibility to pulp built with bender 2020-11-19 17:24:48 +01:00
bluew
b8f77f397f
Merge pull request #10 from pulp-platform/pulptrace
Add pulptrace v0.1.1 script
2020-11-16 16:40:04 +01:00
bluew
fbf2e108c0 Add pulptrace v0.1.1 script 2020-11-16 16:39:02 +01:00
bluew
012fd1be12
Merge pull request #9 from pulp-platform/fix-putc
Make access to reg volatile
2020-07-08 16:09:38 +02:00
bluew
75b83a7c0b
Merge pull request #8 from mp-17/matteo
🐛 make startup code compliant to cv32e40p
2020-07-08 16:09:22 +02:00
bluew
fadddd1f4f Make access to reg volatile
Compiler removes this store on some optimization levels
2020-07-07 17:24:36 +00:00
mp-17
62e614cf5e 🐛 make startup code compliant to cv32e40p 2020-07-07 14:59:07 +02:00
Germain Haugou
961edb14af Cluster stacks are now dynamically allocated to avoid long preloading on netlist sim 2020-04-02 11:09:49 +02:00
haugoug
ecc4003354
Merge pull request #5 from pulp-platform/add_fpga_configs
Add additional FPGA config files
2020-03-05 16:41:27 +01:00
Manuel Eggimann
5b2fdb62a2 Add additional FPGA config files 2020-03-05 16:16:31 +01:00
Germain Haugou
42c768b523 FIxed wrong size of pos_freq_domains 2020-03-05 15:56:56 +01:00
Germain Haugou
280f5755ed Fix for setting frequency on fpga 2020-03-05 15:18:06 +01:00
Germain Haugou
da4157a0e2 Added possibility to define extra cflags from command-line 2020-03-05 14:28:27 +01:00
Germain Haugou
ffefb9d339 Fix to get source files working with zsh 2020-03-05 14:18:42 +01:00
Germain Haugou
e58af071ba Few fixes for pulpissimo fpga, fll init is now deactivated and uart is selected by default 2020-03-05 13:21:52 +01:00
Germain Haugou
7005073cb7 Merge branch 'master' of github.com:pulp-platform/pulp-runtime 2020-02-20 18:52:55 +01:00
Germain Haugou
eca64eca67 Added config CONFIG_CL_BOOT to forward the execution to cluster side 2020-02-20 18:52:47 +01:00
haugoug
15fb73ff16
Merge pull request #4 from pulp-platform/marsellus
Marsellus
2020-02-13 18:10:22 +01:00
Angelo Garofalo
ea661b8e01 modify ld accordingly to new mem size 2020-02-13 10:20:51 +01:00
Germain Haugou
30e51032bc Fixed IRQ handling on cluster side on pulp-open 2020-02-11 17:31:11 +01:00
Germain Haugou
0540056eaa Few fixes to have riscv-tests/testIRQ working on pulpissimo 2020-02-06 13:26:14 +01:00
Germain Haugou
ea1c172836 Fixed regression 2020-01-23 12:37:58 +01:00
Germain Haugou
5ef7ff3157 Few fixes to be able to use runtime without FC on pulp-open 2020-01-20 21:24:53 +01:00
haugoug
56afec28d9
Merge pull request #3 from pulp-platform/runner
Add standalone runner script
2020-01-20 15:13:12 +01:00
bluew
af8918500c bwruntest: Add example command 2020-01-20 13:55:54 +00:00
bluew
0b43d8256a bwruntest: Move to scripts folder 2020-01-20 13:48:48 +00:00
bluew
2d4dee1da1 bwruntests: Add usage explanation 2020-01-17 15:12:26 +00:00
bluew
c572069dd8 bwruntests: Add version switch 2020-01-17 15:12:15 +00:00
bluew
504517a5f2 bwruntests: Improve classname in some cases 2020-01-17 14:17:39 +00:00