Commit graph

203 commits

Author SHA1 Message Date
Olof Kindgren
e1932dc8b6
Add files via upload 2020-05-20 14:20:48 +00:00
Olof Kindgren
40b018af66 Align RISC-V compliance test target code with upstream changes 2020-05-08 23:30:16 +02:00
Iñigo Muguruza
dd65d6097a
Update alhambra board (#29)
* update pll out and add quotation marks to avoid parse error

* Update Alhambra II baud rate

* Update nextpnr freq option to 32
2020-05-08 13:38:33 +02:00
Olof Kindgren
794748dac4 Add support for LX9 Microboard 2020-05-06 20:51:55 +02:00
Gwenhael Goavec-Merou
95c5c027a1 Add Saanlima pipistrello spartan6 LX45 2020-05-06 20:24:41 +02:00
Gwenhael Goavec-Merou
2a76adc8db Add compatibility with Xilinx ISE 2020-05-06 20:19:52 +02:00
Olof Kindgren
c0fc72b353 Add upduino2 servant target 2020-04-27 13:58:42 +02:00
Iñigo Muguruza
6ddf4b5a46
Add Alhambra board to repo (#23)
* Add Alhambra preliminary pcf

* Add Alhambra to targets

* Fix uart pin number

* Update synth values

* Fix clock values

* Add Alhambra board to Readme

* Make small explanation about Alhambra baud rate
2020-04-23 09:07:28 +02:00
Olof Kindgren
a4eb6c01fe Add ulx3s 85k servant target 2020-04-23 00:10:08 +02:00
Olof Kindgren
b2004f741a Update README 2020-04-21 12:28:42 +02:00
Olof Kindgren
4f902829a3 Bump core version 2020-04-19 23:06:54 +02:00
Olof Kindgren
fda7dd288a Optimize enable signal for mem_if buffers 2020-04-15 22:48:28 +02:00
Olof Kindgren
1d311edb7d Make counter internal in serv_state 2020-04-15 10:29:50 +02:00
Olof Kindgren
3829d05786 Add zcu106 support to servant 2020-04-15 10:18:06 +02:00
Olof Kindgren
09c7d6dbbf Remove FSM from serv_state 2020-04-05 00:22:44 +02:00
Olof Kindgren
8dd75fa752 Stop using states in logic expressions 2020-04-04 23:44:29 +02:00
Olof Kindgren
9a8dcde030 Simplify o_dbus_adr assignment 2020-04-03 22:58:24 +02:00
Olof Kindgren
4f855602fa Add serving SoClet 2020-03-27 09:08:02 +01:00
Olof Kindgren
6b0e4fb3ea Disable misalignment traps when CSR is disabled 2020-03-27 08:55:34 +01:00
Olof Kindgren
726e520cce Fix lint warnings when CSR is disabled 2020-03-25 23:32:12 +01:00
Olof Kindgren
b4a0015dc4 Fix linker script 2020-03-25 23:32:12 +01:00
dh73
2a7596b51d Declare variables/nets before referenced 2020-03-25 23:31:55 +01:00
Olof Kindgren
eff17d2f7c Prepare for release 2020-03-04 22:34:46 +01:00
Olof Kindgren
3e9e25e984 Avoid resetting bufreg 2020-03-03 09:21:55 +01:00
Olof Kindgren
c9a3c883f1 Refactor testbench
Introduce an intermediate common simulation toplevel for verilator
and other sims
2020-03-03 09:15:50 +01:00
Olof Kindgren
3468958f1e Whitespace fixes 2020-03-02 21:20:51 +01:00
Olof Kindgren
e2147776f2 servant: Rename some wires 2020-03-02 16:29:01 +01:00
Olof Kindgren
b48b02b8df Add parameter to disable CSR/interrupts
Also disables timer in servant if CSR/interrupts are disabled
2020-03-02 16:17:26 +01:00
Olof Kindgren
fca1527dd7 Add cyc1000 target 2020-02-29 15:29:07 +01:00
Olof Kindgren
e39b4770fd Add quartus-friendly RAM implementation 2020-02-29 15:26:17 +01:00
Olof Kindgren
ea1936710e Inline ser_lt 2020-02-19 13:15:18 +01:00
Olof Kindgren
afb7e641dd Inline adders 2020-02-19 11:00:55 +01:00
Olof Kindgren
7f16f17ca5 Optimize CSR immediate handling 2020-02-19 10:02:48 +01:00
Olof Kindgren
badcd7ea55 Remove duplicate signals in serv_state 2020-02-17 23:48:39 +01:00
Olof Kindgren
36746d3890 Remove unused signals 2020-02-17 23:01:49 +01:00
Olof Kindgren
5aa1fbe709 Stop depending on run state 2019-12-08 22:51:28 +01:00
Olof Kindgren
6067b0e684 Use one-hot encoding for ALU rd sel 2019-12-07 23:36:36 +01:00
Olof Kindgren
eb5d25ea1c Move op_b mux to alu 2019-12-07 23:09:04 +01:00
Olof Kindgren
b516c10d72 Prepare for RF write on RF read request and optimize state FSM 2019-12-07 23:01:24 +01:00
Olof Kindgren
31c138e4a1 Create RAM and RF IF with configurable widths 2019-12-05 22:35:53 +01:00
Olof Kindgren
68d8af71f2 Use serv_rf_top in default and lint targets 2019-12-05 22:35:14 +01:00
Olof Kindgren
e93fd0d30e Fix compile errors with RISCV_FORMAL 2019-12-04 23:42:40 +01:00
Olof Kindgren
3179cfb107 Optimize alu eq_r and lt_r 2019-12-03 10:28:27 +01:00
Olof Kindgren
8b82c85fb6 Create toplevel without RF 2019-11-20 18:26:04 +01:00
Olof Kindgren
4532c8dafd Move rd selection to rf_if 2019-11-20 18:26:04 +01:00
Olof Kindgren
04037c4354 Split out RF to separate module 2019-11-20 18:26:04 +01:00
Olof Kindgren
fc348f3a22 Fix wen delays in rf 2019-11-20 18:26:04 +01:00
Olof Kindgren
a7d7d6475b Update Zephyr port to v1.14 2019-11-19 13:44:17 +01:00
Olof Kindgren
40000cbeb9 Fix IRQ
This contains a lot of fixes as IRQ support was broken on both
RTL and zephyr side

* Interrupts are now synced to instruction lifetimes
* Interrupts are disabled on traps and mie is pushed to mpie
* Zephyr applications regenerated from rewritten Zephyr port
* Timer is 32-bit to avoid wrapping around too often
* MEPC was not read properly from CSR storage
2019-11-19 11:06:50 +01:00
Olof Kindgren
603c168d9b Allow readback of GPIO signal 2019-11-19 10:46:30 +01:00