Commit graph

7424 commits

Author SHA1 Message Date
Florian Zaruba
2e1b70247a WIP: add dual commit and instruction tracer 2017-09-12 15:42:18 +02:00
Florian Zaruba
8697c11dd3 WIP: Add second commit port - not used right now 2017-09-12 15:08:25 +02:00
Florian Zaruba
cca1a0220f Remove branch delay slot 2017-09-12 11:47:10 +02:00
Florian Zaruba
b74d776a13 Remove access exception - everything is a PF 2017-09-10 18:34:31 +02:00
Florian Zaruba
e0de70e02b 🐛 Fix out-of-order LSU result 2017-09-08 09:47:21 +02:00
Florian Zaruba
b89924565c Flush branch-prediction when switching mode 2017-09-06 19:20:30 +02:00
Florian Zaruba
d59ed1ccc9 :fix: Pop faulting store from bypass 2017-09-05 17:02:04 +02:00
Florian Zaruba
95e36dc3e2 🐛 Fix problem with flushing the PTW 2017-09-05 12:44:20 +02:00
Florian Zaruba
7b631fef91 🐛 Fix interrupt delegation, and irq masking 2017-08-31 11:31:16 +02:00
Florian Zaruba
b095f6cb63 🐛 Potential out-of-order instruction fetch return 2017-08-30 12:38:07 +02:00
Florian Zaruba
26741b9b95 Implement and test hardware break-points 2017-08-30 12:29:28 +02:00
Florian Zaruba
f8d554dd47 Explicitly address hardware breakpoints 2017-08-29 16:08:48 +02:00
Florian Zaruba
2b97d2b4b9 🐛 Fix delivery of faulting address exception
The page table walker was unconditionally delivering
exceptions even when the instruction fetch stage
wasn't any longer interested in it.
2017-08-29 14:20:13 +02:00
Florian Zaruba
38ea32047b 🐛 Fix another load bug 2017-08-28 17:52:47 +02:00
Florian Zaruba
f6f695a2a0 :fix: Exception handling load unit 2017-08-28 17:36:53 +02:00
Florian Zaruba
bb9a67f8a3 Merge branch 'master' of iis-git.ee.ethz.ch:floce/ariane 2017-08-28 17:18:36 +02:00
Florian Zaruba
c0f7a36e66 🐛 Fix missed exception 2017-08-28 17:18:13 +02:00
Florian Zaruba
7ebf452869 Merge branch 'master' of iis-git.ee.ethz.ch:floce/ariane 2017-08-26 18:08:23 +02:00
Florian Zaruba
633a10d0c5 🐛 Fix issue in store buffer flush signal
The flush of the speculative store buffer wasn't performed when the
store buffer was full. I actually have no idea why I've added this in
the first place.
2017-08-26 18:07:22 +02:00
Florian Zaruba
d69af66fec Merge branch 'master' of iis-git.ee.ethz.ch:floce/ariane 2017-08-26 11:50:02 +02:00
Florian Zaruba
01f628d488 Also check for interrupt flag when halting debug 2017-08-26 11:49:50 +02:00
Florian Zaruba
b3abf7491c Report the last PC when debug not halted 2017-08-26 11:48:57 +02:00
Florian Zaruba
a569aede23 Flag excepting instruction as valid 2017-08-26 10:20:10 +02:00
Florian Zaruba
e2424c1cc2 WIP: Remove timing loop 2017-08-26 09:12:26 +02:00
Florian Zaruba
53e674aeb3 WIP: Disable CSR side-effects on exception 2017-08-26 08:59:24 +02:00
Florian Zaruba
940a586873 WIP: Improve interrupt handling 2017-08-26 08:29:30 +02:00
Florian Zaruba
6b74faa0d3 Change precedence of eret and exception 2017-08-26 07:37:01 +02:00
Florian Zaruba
ad5b711cf9 Revert "🐛 Potential bug, send correct/updated tag in PTW"
This reverts commit 40079f134e.
2017-08-26 07:36:44 +02:00
Florian Zaruba
40079f134e 🐛 Potential bug, send correct/updated tag in PTW 2017-08-26 06:35:05 +02:00
Florian Zaruba
b34b6532f9 Keep S-mode interrupts enabled when trapping to M 2017-08-25 18:28:14 +02:00
Florian Zaruba
7696d95dd0 Add fetch FIFO exception buffer 2017-08-22 12:35:21 +02:00
Florian Zaruba
a46773eae1 💚 Fix CI tests by disabling mult tests 2017-08-20 12:56:22 +02:00
Florian Zaruba
a34096ca00 Implement breakpoints correctly 2017-08-19 14:37:15 +02:00
Florian Zaruba
87b9831240 Check NPC for validity before using it 2017-08-17 19:08:06 +02:00
Florian Zaruba
25da717d83 Change semantic of single step instruction 2017-08-17 15:31:43 +02:00
Florian Zaruba
d6932fb517 Disable M extension for now 2017-08-17 10:58:14 +02:00
Florian Zaruba
682aac3e8c Activate multiplier for synthesis 2017-08-16 22:01:12 +02:00
Florian Zaruba
b475af93f3 Initialize npc reg with boot adress on start 2017-08-16 21:37:32 +02:00
Florian Zaruba
cd058f8028 🐛 Fix issues in debug unit 2017-08-16 20:37:43 +02:00
Florian Zaruba
ce56617937 Pump testbench version 2017-08-15 20:37:42 +02:00
Florian Zaruba
0597bd83de Fix assertions in store buffer and flush bug 2017-08-15 20:14:20 +02:00
Florian Zaruba
29c9062755 Rework debug unit's memory map (align to 64 bit) 2017-08-13 15:49:08 +02:00
Florian Zaruba
207809de66 🐛 Fix errors in debug module 2017-08-11 15:52:49 +02:00
Florian Zaruba
615b817641 🐛 Fix debug rvalid and also halt if not fetchen 2017-08-10 15:49:44 +02:00
Florian Zaruba
97b8b12a42 Also flush dcache on fence.i 2017-08-07 16:07:48 +02:00
Florian Zaruba
5f9d7a5ea0 Fix issue #22 2017-08-04 14:43:05 +02:00
Florian Zaruba
13a56b1ff6 Keep flush_req high until receiving an acknowledge 2017-08-04 14:14:46 +02:00
Florian Zaruba
964d5ab6fc Add comments in commit stage 2017-08-04 11:54:16 +02:00
Florian Zaruba
964c942cd3 Remove multw file 2017-08-04 11:18:21 +02:00
Florian Zaruba
b6753b08e9 Merge branch 'new-if' into 'master'
Merge new cache interfaces

See merge request !6
2017-08-04 11:11:07 +02:00