Olof Kindgren
e4b773c17b
Syntax fixes
2021-01-18 22:47:28 +01:00
Olof Kindgren
aa16bc40b6
Move ibus_cyc handling to serv_state
2020-12-02 16:19:34 +01:00
Olof Kindgren
fd79a2ea0c
Use cnt0 in serv_ctrl
2020-12-01 22:40:52 +01:00
Olof Kindgren
bbe3e56ab2
Decouple ibus_cyc and ibus_ack
2020-11-30 23:13:11 +01:00
Olof Kindgren
90ce4ff1af
Syntax and reset fixes for ModelSim
2020-11-10 15:16:19 +01:00
Olof Kindgren
c1b8471678
Add reset_strategy parameter
...
The reset_strategy parameter controls how much reset to apply to
SERV. It can be set to MINI for the default behaviour, or NONE to
only apply reset where absolutely needed and rely on POR to clear
FFs
2020-11-10 15:16:19 +01:00
Olof Kindgren
25e86fdd3c
Small optimization of instruction fetching logic
2020-08-26 16:45:40 +02:00
Olof Kindgren
9606e3503d
Inline shift_reg
2020-05-26 22:43:23 +02:00
Olof Kindgren
1d311edb7d
Make counter internal in serv_state
2020-04-15 10:29:50 +02: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
afb7e641dd
Inline adders
2020-02-19 11:00:55 +01:00
Olof Kindgren
36746d3890
Remove unused signals
2020-02-17 23:01:49 +01:00
Olof Kindgren
75decc8251
Bring back old immediate decoder
...
This was originally thrown out since it was slow and cost too much
resources. Due to other changes in the core, it is now cheaper
than the other one
2019-10-29 21:54:22 +01:00
Olof Kindgren
7425128dd8
Pass imm offsets through bufreg
2019-09-13 23:30:46 +02:00
Olof Kindgren
e107627e71
Reduce warnings
2019-06-24 15:22:08 +02:00
Olof Kindgren
bad78b0bd7
Declare wires before use
2019-06-24 13:18:34 +02:00
Olof Kindgren
b0a062ae21
Speed up instruction fetching
2019-04-12 08:15:08 +02:00
Olof Kindgren
9a97c535bd
Use ring buffer for counter LSBs
2019-01-15 08:00:32 +01:00
Olof Kindgren
3a68cc0e77
Improve critical path in ctrl
2019-01-15 08:00:32 +01:00
Olof Kindgren
3f5c25d8f2
Silence LSE warnings
2018-12-12 21:20:44 +01:00
Olof Kindgren
09bb05071e
Fix bugs and missing resets to pass formal
2018-12-11 22:05:32 +01:00
Olof Kindgren
a974320f46
Further optimizations
2018-11-23 21:26:49 +01:00
Olof Kindgren
fa8def6e7a
Rewrite immediate decoding
2018-11-22 13:02:51 +01:00
Olof Kindgren
9df2a0060b
Use custom interconnect. Runs on hw
2018-11-21 13:15:33 +01:00
Olof Kindgren
7666ac4092
synthesized netlist works
2018-11-18 13:05:38 +01:00
Olof Kindgren
f66f82a57a
Add explicit wire defs to ports
2018-11-17 21:30:03 +01:00
Olof Kindgren
34fc93ba09
Fix misaligned jumps
2018-11-15 12:50:40 +01:00
Olof Kindgren
aa0e3aa77e
Handle misaligned jal
2018-11-15 08:49:29 +01:00
Olof Kindgren
a92c933af1
csr, verilator, traps
2018-11-14 12:16:20 +01:00
Olof Kindgren
3c98d35766
Change to wb interface
2018-11-09 21:26:13 +01:00
Olof Kindgren
d4bbe17e78
jalr, blt
2018-10-31 14:51:28 +01:00
Olof Kindgren
d4b2697761
auipc, sub
2018-10-30 23:33:28 +01:00
Olof Kindgren
c2030a95fd
jal, addi, lui, lb
2018-10-26 22:52:39 +02:00
Olof Kindgren
e10c41be8d
Initial commit
2018-10-23 23:45:41 +02:00