Commit graph

82 commits

Author SHA1 Message Date
Florian Zaruba
ad223cfd9f Clean-up naming to distinguish OP from GP Ariane (#193)
* Clean-up naming to distinguish  OP from GP Ariane

* Rename wb to wt in hidden CI files

* Fix verilator install script
2019-03-18 11:51:58 +01:00
Florian Zaruba
a5f3184a65 Improve Tandem Simulation, switch-able caches and fix a cache-bug (#192)
* Add spike isa sim

* Fix AMO problem in verilator

* 🎨 Tidy up FPU wrapper

* Bump axi_exclusive submodule

* Refactor serpent AXI adapter, bump dbg and atomics submodules, add separate bootrom for linux on OpenPiton (#190)

* Refactor serpent AXI adapter

* Disable FPU in OpenPiton by default

* Bump dbg and atomics submodules

* Fix cache testbenches (interface change)

* FPGA bootrom changes for OpenPiton SDHC

* Introduce two bootroms, one for baremetal apps (pitonstream), and one for linux boot from SD

* Testing barrier-based synchronisation instead of CLINT-based

* This bootrom works for 2 core on g2 and if you change MAX_HARTS to 4, then 4 cores on vc707

* Add MAX_HARTS switch to makefile

* Fix gitlab CI

* Revert standard FPGA bootrom

* Update Flist

* Make UART_FREQ a parameter

* Fix typo in tb.list and an error in define switch in ariane_pkg

* Copy over SD-driver in bootloader from @leon575777642

* Fix compilation issues of bootrom

* Change signal name in serpent periph portlist

* Correct generate statement in serpent dcache memory

* Add Piton SD Controller, FPGA fixes

* Fix race condition in dcache misshandler

* Add tandem spike to Make flow

* Remove OpenPiton SD Card controller again
2019-03-18 11:51:58 +01:00
Florian Zaruba
a4e49fc872 Fix AMO problem in verilator 2019-03-18 11:51:58 +01:00
msfschaffner
07df142624 Maturity fixes and AXI extensions for write-through cache system (#188)
* : Fix PITON_ARIANE define issues
* Fix write-back / cache read collision issue in serpent dcache.
* Add separate bootrom / device tree for openpiton (hardcoded for 1x1 tile config at the moment).
* Bootrom generation update (better compatibility with older python versions), new bootrom for OpenPiton+Ariane.
* Fix assertion in icache.
* Correct JTAG timing constraints.
* Fix parameter type in fpga toplevel (fix #168).
* Remove conflicting bootrom from fpga file list.
* This flushs the branch predictors when entering exception handlers in order to avoid speculative fetches from virtual addresses (to be improved with PMAs).
* Fix byte offset of IPIs in CLINT
* Disable DCache flushes on fence for write-through cache (not needed in that case)
* Fix blocking assignments in ff process.
* Fix register access issue in debug mode, only affects A0 (fix #179).
* Fix multiple driver issue in PLIC
* Do not assume replicated data in serpent dcache when reading from an NC region.
* Another byte offset fix in IPIs (CLINT)
* Add AXI64 compliance switch to dcache_mem
* Fix genesys 2 constraints
* Map serpent atomic requests onto AXI atomic/exclusive transactions.
* Cleanup of AXI memory plumbing, add separate AXI adapter module.
* Remove unneeded interface signals, increase wbuffer #pending tx
* Fix verilator compilation issues in AXI adapter.
* Delete unnecessary constraint
* Delete duplicate module instance
* Update gitlab CI script
* Small fixes to make riscv atomics work with serpent_axi_adapter.
* Update travis and gitlab-ci scripts
* Register b responses for better timing.
* Remove fpu div submodule, update Makefile paths and src lists
* Constant bits in haltsum reduction must be 1 (AND reduction).
* Switch to DTM from riscv-dbg submodule
* Further cleanup fixes in AXI/serpent atomics
* Bump riscv-dbg version
2019-03-18 11:51:58 +01:00
Florian Zaruba
843300302f Add Exclusive Adapter (#187)
* Add atomic adapter as submodule

* Change UART frequency

* Add atomic memory adapter

* Bump AXI exclusive submodule version

* Re-name ariane_next to ariane-dev

* Switch to official `atop` branch on `axi_node`
2019-03-18 11:51:58 +01:00
Florian Zaruba
b1bdc0c02c Add System Verilog FPU (#163)
* Change reset strategy in ariane_verilog_wrap.sv, remove unneeded sigs in serpent_peripherals.

* saving...

* ⬆️ Updates for new FPU

* Add sv fpu to FPGA flow

* Use multi-threading capabilities of verilator

- Deactivate non-standard floating point arguments
- Make multi-threading conditional on the availability of verilator 4

* Remove DPI threadsafety

* Reduce FPGA clock frequency

- Remove couple of -v- tests to reduce test-time

* Fix documentation and fpga flow

- Fix cycle time to accommodate FPU
- Fix FPGA constraints

* Change UART frequency
2019-03-18 11:51:58 +01:00
jrrk
3ca3a28aa5 Adjust Memory size to Genesys2 maximum (1GByte) (#177) 2019-02-15 19:45:26 +01:00
Jonathan Richard Robert Kimmitt
40bc4de924 Correct mdio_oe naming, streamline to allow 1GHz capability 2019-02-06 09:32:40 +00:00
Moritz Schneider
a43ebc15ae
Bugfix in FPGA bootrom
Thanks @janhoogerbrugge
2019-02-05 11:19:46 +01:00
Jonathan Richard Robert Kimmitt
0ab318ad4f Disable ILAs by default 2019-01-31 10:46:45 +00:00
Michael Schaffner
40be845580
Rerouting RISC-V DTM JTAG from PMOD header to 2nd channel of FTDI chip. 2019-01-30 11:36:34 +01:00
Jonathan Richard Robert Kimmitt
0cdd6ae5a4 Update device tree source and associated FSBL code 2019-01-29 11:30:59 +00:00
Jonathan Richard Robert Kimmitt
12a3b742e8 Correct spelling in README.md and add backup~ files to .gitignore 2019-01-29 09:11:01 +00:00
Jonathan Richard Robert Kimmitt
4a62b8c2ba Update Makefile with path to ethernet submodule Verilog files 2019-01-29 08:51:23 +00:00
Jonathan Richard Robert Kimmitt
b5ab439a96 Update .dts for Linux driver recognition 2019-01-28 17:09:01 +00:00
Jonathan Richard Robert Kimmitt
3b2c97b2e2 Move RGMII modules to submodule 2019-01-28 16:59:14 +00:00
Jonathan Richard Robert Kimmitt
1311a8da0b Remove unused modules from Ethernet hierarchy 2019-01-23 14:50:15 +00:00
Jonathan Richard Robert Kimmitt
24d37830db Remove obsolete Xilinx Ethernet Lite 2019-01-23 14:34:51 +00:00
Jonathan Richard Robert Kimmitt
ef37d20fad Adapt rgmii ethernet core from Alex Forencich for Ariane on Genesys2 2019-01-23 13:53:50 +00:00
Moritz Schneider
91fa9db96d
Update the SD card howto 2018-11-28 15:56:38 +01:00
Florian Zaruba
7c09143664
FPGA build flow clean-up 2018-11-28 13:44:59 +01:00
Florian Zaruba
f0d267c363
Move UART to interrupt 0 2018-11-28 13:39:01 +01:00
Florian Zaruba
dcfb31df77
Include ethernet peripheral in dependency list 2018-11-27 18:49:40 +01:00
Florian Zaruba
c1c67b276b
Streamline FPGA flow 2018-11-27 16:40:49 +01:00
Florian Zaruba
a957685f24
Merge branch 'ariane_next' of github.com:pulp-platform/ariane into ariane_next 2018-11-26 17:56:16 +01:00
Florian Zaruba
91d7babc87
🐛 Fix potential AXI ordering issue 2018-11-26 17:55:10 +01:00
Moritz Schneider
afc9bd51f7 🐛 Bootrom was too small to fit new ZSBL
* Better error reporting in the ZSBL
* Increase the ROM size
2018-11-26 16:04:29 +01:00
Florian Zaruba
45c1234dbf
[GPIO] Connect unconnected pins (clk, rst and last) 2018-11-25 23:29:13 +01:00
Florian Zaruba
6381b3d3ee
Add ILA and GPIO peripheral 2018-11-25 21:22:51 +01:00
Florian Zaruba
9907da6e6b
Fix FPGA flow (broken after openpiton merge) 2018-11-25 15:53:36 +01:00
Florian Zaruba
603c74da2d
Fix signaling issue in rgmii converter 2018-11-25 14:46:31 +01:00
Florian Zaruba
785577d37a
🐛 Fix reset strategy in TB 2018-11-23 19:04:37 +01:00
Florian Zaruba
846d99e3e8
Merge branch 'ariane_next' of github.com:pulp-platform/ariane into ariane_next 2018-11-23 17:38:18 +01:00
Moritz Schneider
7066474b52 🐛 fix bootrom build process 2018-11-23 17:27:10 +01:00
Florian Zaruba
fe39689058
Merge branch 'ariane_next' of github.com:pulp-platform/ariane into ariane_next 2018-11-23 17:19:44 +01:00
Florian Zaruba
3e3d266078
Ethernet fixes, instantiate RGMII to MII converter 2018-11-23 17:18:44 +01:00
Moritz Schneider
44ba444ed6 Add new bootloader
The new bootloader supports booting from SD card
2018-11-23 17:14:40 +01:00
Moritz Schneider
44d0f28c4d Update the SPI perihperal 2018-11-23 15:45:31 +01:00
Florian Zaruba
7baea9612f
Merge remote-tracking branch 'origin/rgmii-converter' into ariane_next 2018-11-23 11:38:55 +01:00
Florian Zaruba
4558960b88
Small pre-release clean-up 2018-11-23 11:37:14 +01:00
Florian Zaruba
7c7643ab18
Add mii to rgmii converter 2018-11-23 11:32:38 +01:00
Florian Zaruba
db4f99e2ad
Ethernet preparation, fpga fixes 2018-11-20 19:02:52 +01:00
Florian Zaruba
bb821300f1
Put batch flow in place (incl small flow fixes) 2018-11-19 19:24:31 +01:00
Florian Zaruba
9733876bfe
FPGA folder clean-up 2018-11-18 15:32:41 +01:00
Florian Zaruba
cb54ccfb7a
Merge remote-tracking branch 'origin/fpga_dev_phy' into fpga_dev 2018-11-18 13:28:56 +01:00
Florian Zaruba
84f695ff34
Add ethernet_lite phy 2018-11-18 13:27:55 +01:00
Florian Zaruba
3c40965e8a
Merge remote-tracking branch 'origin/ariane_next' into fpga_dev 2018-11-17 22:38:54 +01:00
Florian Zaruba
8d63b7c2bf
Fix axi_node commit 2018-11-17 19:45:47 +01:00
Florian Zaruba
ddf983cbb7
Add stdout over ns16750 to fpga dts 2018-11-16 18:03:41 +01:00
Florian Zaruba
99a2fae447
Enable D$ by default and extend README 2018-11-16 17:20:58 +01:00