Ross Thompson
a15889e0aa
Major cleanup of branch predictor.
2023-01-30 23:37:34 -06:00
Ross Thompson
42828e6ec4
Simplified gshare.
2023-01-30 19:27:18 -06:00
Ross Thompson
4cbefd9834
Minor gshare optimization.
2023-01-30 18:13:12 -06:00
David Harris
1121ff0fa7
Restored top-level modules without import statements
2023-01-30 12:54:40 -08:00
David Harris
4a4be04530
Moved out version of wally using package because synthesis isn't working yet
2023-01-30 12:48:52 -08:00
David Harris
a2f66313ea
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-01-30 11:00:51 -08:00
Ross Thompson
cc48cdc97b
Imperas found a real bug in virtual memory.
...
If the instruction address spilled across two pages and the second page misses the TLB,
the HPTW received a tlb miss at the address of the first page rather than the second.
After the walk the TLB was updated with the PTE from the first page at the address of the
second page.
Example bug
Instruction PCF = 0x2ffe
First page in 0x2ffe and second page in 0x3000.
The second page misses the TLB and generates HPTW request at 0x2ffe rather than 0x3000.
TLB is updated with PTE from 0x2ffe at 0x3000.
2023-01-30 11:47:51 -06:00
Ross Thompson
6040a45698
optimized branch predictor by removing unnecessary registers.
2023-01-29 22:39:37 -06:00
David Harris
173c6b635c
Moved WALLY-status-fp-enabled tests from a to priv suites
2023-01-29 17:19:53 -08:00
David Harris
e7883775f3
Moved shared constants into per-processor config and removed wally-constants
2023-01-29 15:55:37 -08:00
Ross Thompson
392716a608
Updated global history branch predictcor with the gshare improvements.
2023-01-29 16:26:44 -06:00
David Harris
234860d4e5
Merged PR#37 branch predictor
2023-01-29 14:25:28 -08:00
David Harris
9d44c59a38
Removed unused TESTSBP parameter
2023-01-29 14:19:24 -08:00
Ross Thompson
a9a7054e2f
Merge branch 'main' of https://github.com/openhwgroup/cvw
...
This merges the branch predictor improvements into the main repo.
2023-01-29 15:24:20 -06:00
Ross Thompson
d6ae1156d0
gshare cleanup.
2023-01-29 15:07:45 -06:00
Ross Thompson
ef874f3409
Gshare cleanup.
2023-01-29 15:06:35 -06:00
Ross Thompson
74b4f78099
Found bug in gshare.
2023-01-29 15:03:25 -06:00
David Harris
d1afc2f14a
Fixed configuration of ram to use macro when depth is corret
2023-01-29 11:35:17 -08:00
David Harris
be2dc6a774
Removed unused wally-harvard.do script
2023-01-29 11:34:35 -08:00
David Harris
5d2a48d5d8
Converted rv32ic to rv32imc
2023-01-29 11:33:54 -08:00
Ross Thompson
e1fd5925b0
Fixed typo in testbench branch logger.
2023-01-29 01:00:52 -06:00
Ross Thompson
f62fbedbe8
Fixed another bug with the branch logger.
2023-01-29 00:59:59 -06:00
Ross Thompson
8e73f6b467
Fixed bug in the branch logger.
2023-01-29 00:58:50 -06:00
Ross Thompson
65a31381da
Updated testbench for branch logger.
2023-01-29 00:56:11 -06:00
Ross Thompson
1044c290c2
Fixed bug with the btb's valid bit not beind held on a stall.
2023-01-29 00:49:23 -06:00
Ross Thompson
f93eaeef8e
Fixed another bug with the speculative gshare with instruction class prediction.
2023-01-29 00:33:40 -06:00
David Harris
99d12a5ef0
Removed unused BPRED file referenes from fpga config
2023-01-28 20:22:36 -08:00
David Harris
481cb8bad0
Renamed BPTYPE to BPRED_TYPE
2023-01-28 20:06:12 -08:00
David Harris
94daedeed6
Renamed DCACHE to DCACHE_SUPPORTED and ICACHE to ICACHE_SUPPORTED
2023-01-28 18:52:00 -08:00
David Harris
e4e7e827d6
Renamed BUS to BUS_SUPPORTED
2023-01-28 18:35:53 -08:00
David Harris
a0b4e7fb24
Config cleanup and renamed BPRED_ENABLED to BPRED_SUPPORTED
2023-01-28 18:17:42 -08:00
David Harris
33143e5958
Fixed typo in ram2p1r1wbe_1024x69 and renamed for consistency
2023-01-28 18:07:33 -08:00
David Harris
1bb1fc7604
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-01-28 17:55:08 -08:00
James Stine
a1d892703c
Modified changes as follows
...
* Add docs directory for Docker including Dockerfile
* Change to synthesis script to include fpu stuff
* Add wrappers for IP (may need some cleanup but will cleanup shortly)
2023-01-28 19:33:00 -06:00
Ross Thompson
f6aafd6bad
Fixed bug with the new csr.
2023-01-28 17:56:56 -06:00
Ross Thompson
6371d91b37
Added another performance counter to track overall branch miss-predictions.
2023-01-28 17:50:46 -06:00
Ross Thompson
57deb68fb3
Found an issue where the btb was not forwarding the valid bit!
2023-01-28 17:00:50 -06:00
Ross Thompson
6d9c463893
Possible workign instruction class prediction repair.
2023-01-28 16:42:19 -06:00
Ross Thompson
8a277f6b75
Possible fix for speculative gshare.
2023-01-28 16:14:19 -06:00
David Harris
08124b917f
Comment cleanup in subcachelineread
2023-01-28 11:00:05 -08:00
David Harris
0f5df3340f
removed unused memory model
2023-01-28 10:58:36 -08:00
David Harris
f9cfa7cdc2
Updated cvw to be consistent with configs
2023-01-28 10:58:02 -08:00
David Harris
9eb1938d41
Removed DEISGN_COMPILER configuration paramter
2023-01-28 10:51:39 -08:00
David Harris
6603cd9e09
Removed unneeded lint directive from core
2023-01-27 15:48:30 -08:00
David Harris
eaab1bfad4
Use CVW configuration in top-level
2023-01-27 15:47:36 -08:00
David Harris
3fea392875
Removed unused BMU, added CVW configuration
2023-01-27 15:47:15 -08:00
David Harris
ef83309ea9
Added missing PLIC_GPIO_ID to two config files
2023-01-27 15:23:32 -08:00
David Harris
d78f8d76cc
Fixed license header for config files to SolderPad
2023-01-27 15:17:17 -08:00
Ross Thompson
6d75e3c22b
Clarified gshare bp.
2023-01-27 16:40:20 -06:00
David Harris
3906e706fd
Removed integer from localparams
2023-01-27 14:40:06 -08:00
David Harris
5a81a26c9e
Removed int/integer from parameters)
2023-01-27 14:27:04 -08:00
Ross Thompson
857004c3a3
Removed pessimistic x propagation issue for wally32priv test in the branch predictor.
2023-01-27 15:28:31 -06:00
Ross Thompson
c1ae7c068e
Found issue with branch predictor.
2023-01-27 13:13:55 -06:00
David Harris
4b196736a5
Renamed ram2p1rw1be to match modeule name
2023-01-27 09:54:50 -08:00
Ross Thompson
a212960352
Very hacky. But I think gshare is now correct with respect to repair on instruction class miss prediction.
2023-01-27 11:34:45 -06:00
David Harris
237e3a620f
Removed suggestion about make allclean
2023-01-27 05:57:05 -08:00
David Harris
767cfdc8a5
Fixed typo in bpred preventing compiling
2023-01-27 05:55:53 -08:00
David Harris
c2139eba93
renamed brpred to bpred
2023-01-27 05:55:31 -08:00
David Harris
947713f1f3
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-01-26 14:52:25 -08:00
Ross Thompson
4fa2dcc2a5
Changed the performance counters to track different data.
...
Now rather than tracking jump(r) we track jump(r) and taken branches.
2023-01-26 13:21:28 -06:00
Ross Thompson
6025bbc9ae
Fixed another bug with the compressed instruction class decode.
2023-01-26 12:19:33 -06:00
Ross Thompson
a8d5ba1ea4
Fixed compressed branch class decode.
2023-01-26 11:07:47 -06:00
Ross Thompson
3577220625
Improved no class prediction mode.
2023-01-26 10:54:43 -06:00
Ross Thompson
19a964325a
Modified the RAS to correctly repair itself.
2023-01-25 23:33:03 -06:00
Ross Thompson
3dc441ff8c
Intermediate commit. Passes regression tests, but RAS is not correct.
2023-01-25 19:39:18 -06:00
Ross Thompson
63617b56cf
Fixed typos.
2023-01-25 18:51:09 -06:00
Ross Thompson
3b4d49a358
RAS is now compliant with our header and documentation guide.
2023-01-25 17:18:07 -06:00
Ross Thompson
5da1aeeef1
Improved RAS again.
2023-01-25 17:10:52 -06:00
Ross Thompson
2f0e40402b
Improved RAS.
2023-01-25 17:06:25 -06:00
Ross Thompson
724ae13cc2
More branch predictor improvements.
2023-01-25 16:03:02 -06:00
Ross Thompson
fd1f7d4d34
Cleaned up branch predictor.
2023-01-25 15:29:55 -06:00
Ross Thompson
56a24d02e8
Fixed subtle bug in btb.
2023-01-25 15:16:53 -06:00
Ross Thompson
16142eca59
Added logic to forward btb prediction results.
2023-01-25 13:02:20 -06:00
Ross Thompson
4550966678
More btb cleanup.
2023-01-25 12:14:18 -06:00
Ross Thompson
40b4811d2b
Found minor bug in gshare.
2023-01-25 12:08:54 -06:00
Ross Thompson
afdcfeb93b
BTB cleanup.
2023-01-25 12:05:13 -06:00
Ross Thompson
7e1363bfad
Optomized gshare.
2023-01-25 11:41:16 -06:00
Ross Thompson
b931110f2d
Renamed file missed from last commit.
2023-01-25 10:17:43 -06:00
Ross Thompson
ad6f7041b4
Fixed wrong header on optgshare.sv. Somehow it still had the old MIT license.
...
Renamed ram2p1rwbefix.sv to ram2p1rwbe.sv
2023-01-25 10:14:30 -06:00
Ross Thompson
56369f7641
Removed old versions of gshare.
2023-01-24 17:26:54 -06:00
Ross Thompson
1acbdaeca6
Removed the old two port ram and replaced it with the fixed version.
...
The fixed version is renamed to ram2p1r1wb.sv
2023-01-24 17:25:16 -06:00
Ross Thompson
1170dc7250
Moved and ranamed btb to btb.sv
...
Fixed btb to use the fixed port 2 sram.
2023-01-24 17:19:51 -06:00
Ross Thompson
7d1109fc24
Partial BTB cleanup.
2023-01-24 16:12:35 -06:00
Ross Thompson
2157970adf
Moved branch predictor files into separate sub-directory.
2023-01-24 16:00:27 -06:00
David Harris
490ca23c87
Merge remote-tracking branch 'upstream/main' into dev
2023-01-24 09:40:07 -08:00
David Harris
f28b0e5c1a
bpred input spacing cleanup
2023-01-24 06:14:31 -08:00
David Harris
5233117568
bpred tab cleanup
2023-01-24 05:42:34 -08:00
Ross Thompson
5494ee2159
Moved ebufsmarb into its own module.
2023-01-23 23:10:10 -06:00
Ross Thompson
a4d5ccc4d6
Added comments about needing move ebufsm into a new module.
2023-01-23 22:03:49 -06:00
Ross Thompson
1439ff02c7
Added comments to lrsc module.
2023-01-23 17:49:47 -06:00
Ross Thompson
e9f435bbda
Oups fixed bug from the last commit.
2023-01-23 17:38:30 -06:00
Ross Thompson
af6899472d
Another round of cleanup in the LSU.
2023-01-23 17:27:39 -06:00
David Harris
fc6cf1f198
formatting
2023-01-23 10:54:06 -08:00
David Harris
2d7f39672a
Repo cleanup
2023-01-23 10:37:33 -08:00
Ross Thompson
626bcd8608
Removed mark_debug from all source code.
2023-01-20 18:47:36 -06:00
David Harris
45218863af
test
2023-01-20 15:23:38 -08:00
David Harris
3d13683c07
Continued framework for B instructions
2023-01-20 14:27:13 -08:00
David Harris
a968ae2f66
Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main
2023-01-20 14:19:10 -08:00
David Harris
e87c2b2724
Started adding bit manipulation unit
2023-01-20 14:19:07 -08:00
Ross Thompson
0123776037
Updated figure cache references.
2023-01-20 15:01:54 -06:00