aottaviano
6a0f2fa466
treewide: Change way idma API are handled
...
* Instead of aswitch, we double the API and mark them aaaaaaaaas 'fc' or
'cl'
* This is due to an error when we wait for the dma to finish its
transactions. I didn't investigate for time reasons, let's do like
this (not very code-reuse firendly, but it works at least)
2022-06-25 10:07:40 +02:00
aottaviano
755cdc9d1a
fixup: tests: add MR review feedback
2022-06-22 11:40:55 +02:00
aottaviano
3970cf67bf
pulp-runtime: Add switch between CL and FC DMA
...
* Add ID to identify the DMA (0: FC DMA, 1: CL DMA)
2022-06-16 19:54:54 +02:00
bluew
07c26b52ac
pulp-runtime/control-pulp: Use priv_1_12
2022-06-10 18:54:00 +02:00
bluew
7a39de8996
archi: Update privileged level constants
2022-06-10 18:53:40 +02:00
bluew
1059c010a9
treewide: Update JTAG manufacturer code
...
PULP Platform now has a code
2022-06-08 22:14:20 +02:00
aottaviano
1294f4956b
pulp-runtime: Add idma APIs
...
* Add idma archi and hal sources
* Switch with mchan is still manual
2022-06-01 13:42:02 +02:00
aottaviano
9724be258c
pulp-runtime: Add ARCHI_HAS_DMA_DEMUX property to mchan
...
* If the cluster core demux and peripheral demux have a direct connection
to the dma, allow the cluster cores to use this connection.
2022-06-01 13:41:55 +02:00
aottaviano
77fa6799ed
pulp-runtime: Add kairos target
2022-05-17 08:41:20 +02:00
Corrado Bonfanti
18ab940220
Add AVS BUS support and basic test
...
* Add configuration register to set AVS mode
* Add connections to the SPI controller and txrx interface
* Set idle level of sdio[0] signal of SPI master to '1', according to
the AVS protocol
* Add SPI slave device capability to trigger an event for requesting a read from
master by driving low the MISO (SDATA for AVS) when AVS mode is set.
This happens during tx/rx idle phases
* Add basic Write commit/Read test with pulp-runtime. AVS slave is
simulated in tb_avs.sv and tb_avs_fpga.sv.
2022-02-10 20:03:42 +01:00
aottaviano
735f29948c
treewide: Fix I2C slave module and testsuite
...
* Fix wrong signals in RTL hierarchy
* Add I2C slv tb for FPGA wrapper (dump test)
* Add I2C slv tb for ASIC wrapper (irq test)
* Add dump and irq tests
Please enter the commit message for your changes. Lines starting
2021-12-21 09:45:00 +01:00
bluew
0f4e0e588d
pulp-runtime/control-pulp: Fix vector base set and get
...
So that rt_irq_set_fc_vector_base() and co. pick the correct
implemention using csr mtvec.
2021-11-23 11:01:00 +01:00
bluew
82d3ee5f32
pulp-runtime: Link vsim work dir into build dir
2021-11-09 08:49:15 +01:00
bluew
026a98d56a
pulp-runtime: Fix uart frequency and bad fll access
...
Control-pulp doesn't have an FLL so we hardcode the frequency domain
values. Furthermore we allow these hardcoded values to change depending
on whether we target the FPGA (zcu102) or rtl sim.
2021-11-04 17:47:57 +01:00
bluew
f87c703ac9
Merge commit '637a2a3be976063a1df52ba3d1b0f0e034c7f310' into bump-runtime
2021-08-10 16:03:33 +02:00
bluew
609df214b7
Merge pull request #27 from pulp-platform/fix-hal
...
hal: Add missing return value
2021-08-10 16:01:19 +02:00
bluew
879eb13dbd
hal: Add missing return value
2021-08-10 16:00:56 +02:00
bluew
2ecc920172
Merge pull request #26 from pulp-platform/fix-control-pulp
...
Fix control pulp
2021-07-30 16:58:01 +02:00
bluew
48e1bfb305
rules/control-pulp: Fix wrong include and file paths
2021-07-30 16:57:04 +02:00
bluew
868a80fdcd
hal/control-pulp: Remove unnecessary camera include
...
We don't have a camera interface in control-pulp.
2021-07-30 16:56:14 +02:00
aottaviano
57d9714142
Merge commit 'e20aa040e59ac8796257f2bb25239b6e86aecae5' into zfinx
2021-07-28 14:25:30 +02:00
bluew
3214d697d0
Merge pull request #25 from pulp-platform/control-pulp-zfinx
...
Use zfinx for control-pulp
2021-07-28 04:10:27 +02:00
bluew
863f6009aa
Use zfinx for control-pulp
2021-07-27 23:58:48 +02:00
bluew
cfdfec9df5
Merge pull request #24 from pulp-platform/control-pulp-periph
...
Fixes for I/O in control-pulp
2021-07-26 16:26:08 +02:00
aottaviano
3829557a94
include/archi: Fixes for I/O in control-pulp
2021-07-25 19:53:51 +02:00
aottaviano
e6ff1e329b
Merge commit '8d0d28cc9723b93dc1b732b8d2b99fa3df26d427' into cv32e40p
2021-07-24 15:15:52 +02:00
bluew
e8e33893cb
Merge pull request #23 from pulp-platform/control_pulp_dev
...
Add cv32e40p support for pulpissimo, pulp and control-pulp
2021-07-20 16:15:33 +02:00
aottaviano
8380fbdc6b
archi: Fix HW Loops encoding for pulp and pulpissimo with cv32e40p
2021-07-20 16:05:02 +02:00
aottaviano
8e25ece3c8
Remove trailing spaces
2021-07-20 16:05:02 +02:00
aottaviano
e4fa83f99e
Fix performance counters API
2021-07-20 16:05:02 +02:00
Luca Valente
8891d83838
target: Add pulp with cv32e40p
2021-07-20 16:04:59 +02:00
Luca Valente
9ad3c4f8d6
hal: Add cpu_perf_start for cv32e40p
2021-07-20 16:04:16 +02:00
Luca Valente
9eba7de59a
target: Add pulpissimo with cv32e40p
2021-07-20 16:03:12 +02:00
aottaviano
9bcaac54a6
rules: Update compiler version and flags for control_pulp
2021-07-19 17:11:27 +02:00
aottaviano
eafea63a1e
chips/control_pulp: Overhaul header inclusion for control_pulp
2021-07-19 12:14:04 +02:00
aottaviano
77ff2180bc
Merge commit '8cec6acff55639aee3950b90f2ed54c9afaf9a4b' into runtime
2021-07-16 08:30:46 +02:00
bluew
0512c8c478
Merge pull request #22 from pulp-platform/fix-cpulp-flags
...
Fix control-pulp compilation flags
2021-07-15 19:31:27 +02:00
aottaviano
8720ea32a1
rules: Fix control-pulp compilation flags
2021-07-15 11:04:55 +02:00
bluew
9e711638f4
Revert "treewide: Fix pulp-runtime parameters"
...
This partially reverts commit 03e26bc63aee68aec1f26a86d6b57ac8715d7e43.
2021-07-14 18:33:17 +02:00
bluew
9010282bcd
Revert "pulp-runtime: Fix default boot mode (JTAG)"
...
This reverts commit 3b770a890144a6ab1b919fd97bb1e940429933a3.
2021-07-14 18:33:16 +02:00
bluew
f75c3d5580
Revert "pulp-runtime: Allow boot mode as CLI argument"
...
This reverts commit a9649013fd6b40f6c74dae42bcc9a58216783053.
2021-07-14 18:33:16 +02:00
bluew
5f902eb101
Merge pull request #21 from pulp-platform/for-upstream
...
Add support for control-pulp
2021-07-14 16:24:54 +02:00
bluew
768f79d507
Add support for control-pulp
2021-07-13 17:33:01 +02:00
bluew
4cea7f6207
archi,hal: Add udma_hyper
2021-07-13 17:33:00 +02:00
bluew
b9fd4bdb7e
hal: Add apb_soc_v4
2021-07-13 17:33:00 +02:00
bluew
f38fa52b54
archi,hal: Add soc_eu_v3
2021-07-13 17:33:00 +02:00
bluew
04e97f6edd
Merge pull request #20 from pulp-platform/fpga_improvements
...
FPGA improvements
2021-07-13 17:19:32 +02:00
Manuel Eggimann
dc012f0c54
Add config for nexys FPGA board
2021-06-24 22:02:19 +02:00
Manuel Eggimann
763fa6f72b
Add SOC_FREQUENCY to fpga specific runtime configuration
2021-06-24 22:01:49 +02:00
bluew
9c397089b0
Merge pull request #19 from pulp-platform/bootmode_flags
...
Add SPI and HYPER flash support
2021-05-06 17:33:49 +02:00