Kevin Kim
9307f8b7d5
added divremsqrtunit macro
2023-05-28 15:19:01 -07:00
Kevin Kim
43f6b7cfa3
fixed bug in testvector extract script
...
- old script skips first 2 lines in rv32m case, new script only skips first line
2023-05-28 11:48:41 -07:00
Kevin Kim
9b3a876656
fixed bug in rv32M test vector generation code
...
- prior code skipped every other line in the reference file, so it only generated half the test vectors, with half of them having the wrong answer
- prior code also opened test vector file to be written to in "append" mode, and I changed to write mode (so that the script overwrites instead of adding to an existing file)
2023-05-28 11:40:51 -07:00
David Harris
aa95d1957b
Merge pull request #303 from ross144/main
...
Merges Lim's changes for parameterization. Replaces the `define with parameters
2023-05-26 16:32:49 -07:00
Ross Thompson
903f2f9063
Merge branch 'param-lim-merge'
2023-05-26 16:25:35 -05:00
Ross Thompson
b8474b208e
Uncore is now parameterized.
2023-05-26 16:24:12 -05:00
Ross Thompson
340aac0934
Got the branch predictor parameterized using Lim's method. Also had to add a global enum included in both cvw.sv and the configs which defines the branch predictor types. This should be synthesizable, but I'll need to double check.
2023-05-26 16:00:14 -05:00
Jacob Pease
2ad9c72acc
The Vivado-RISC-V SDC works. Wally is now booting through it.
2023-05-26 15:42:33 -05:00
Ross Thompson
e6d25b7f70
Finished fpu parameterization using Lim's method.
2023-05-26 14:40:06 -05:00
Ross Thompson
ef2bb7df93
fdiv is now parameterized using Lim's method.
2023-05-26 14:25:14 -05:00
Ross Thompson
c76eb315bc
Parameterized fpu's unpack and fma using Lim's method.
2023-05-26 14:12:25 -05:00
Ross Thompson
923c00b928
I think I've solved the slow down issue. Parameters can't be mixed with cvw_t and other types.
2023-05-26 13:56:51 -05:00
Ross Thompson
8aba897386
Update top level parameterized. Simulation slowed down to 4.5 minutes.
2023-05-26 12:13:11 -05:00
Ross Thompson
d47951fb51
The privileged unit is parameterized using Lim's method.
2023-05-26 12:03:46 -05:00
Ross Thompson
dd7c7f0a39
Completed LSU parameterization based on Lim's changes.
2023-05-26 11:26:09 -05:00
Ross Thompson
0c2a54540b
Subwordread now parameterized.
2023-05-26 11:22:44 -05:00
Ross Thompson
3765ebfb9f
PMA checker's address decoder is now parameterized. I did not see bit slicing in Lim's code. I'm not sure how they got around this issue.
2023-05-26 11:06:48 -05:00
Ross Thompson
60bcd3d21a
Progress on LSU.
2023-05-26 10:47:09 -05:00
Ross Thompson
7c364d5a77
Updated mmu's tlb and hptw to use Lim's parameterization.
2023-05-24 18:02:22 -05:00
Ross Thompson
438c955d1c
PM(P/A) checkers parameterized based on Lim's work.
2023-05-24 17:20:55 -05:00
Ross Thompson
febb2442db
Partial parameterization into mmu.
2023-05-24 16:12:41 -05:00
Ross Thompson
7fc53226ac
MDU and hazard unit now also parameterized. Based on Lim's work. Again I want to clarify this their work. Not mine. I'm just doing this because the merge had an issue.
2023-05-24 15:01:35 -05:00
Ross Thompson
8f9151b125
More parameterization. Based on Lim's work. EBU, IFU (except bpred), and IEU done.
2023-05-24 14:56:02 -05:00
Ross Thompson
e33db7f9a7
More parameterization. Copied Lim. Still no slow down.
2023-05-24 14:49:22 -05:00
Ross Thompson
d3123fc00a
Updated a large number of the source files to use parameters rather than `defines. Based on Lim's work. So far there is no simulation slow down.
2023-05-24 14:05:44 -05:00
David Harris
addcf9d3cd
Merge pull request #300 from ross144/main
...
Local history predictor and performance counter fixes
2023-05-24 11:21:40 -07:00
Ross Thompson
3de3a42f97
Merged changes.
2023-05-24 13:15:52 -05:00
Ross Thompson
6509463f3d
Merge branch 'main' of https://github.com/openhwgroup/cvw
2023-05-24 13:00:50 -05:00
Ross Thompson
b28a75f32a
Updated headers to local branch history predictors.
2023-05-24 12:52:42 -05:00
Ross Thompson
c5aeb08e5c
Trying to figure out why the parameterization slowed down modelsim so much.
2023-05-24 12:44:42 -05:00
Ross Thompson
6163fc29e1
Adds local history predictor.
...
Fixes performance counters, but not coremark.
2023-05-23 18:53:46 -05:00
Ross Thompson
502836b2ff
Merge pull request #299 from davidharrishmc/dev
...
Changed timeout for riscof and removed imperas tests from coverage
2023-05-23 18:53:34 -04:00
David Harris
46e0bd2b7f
Merge branch 'dev' of https://github.com/davidharrishmc/cvw into dev
2023-05-23 15:45:42 -07:00
David Harris
8d03905e4b
Added fulladder coverage script example
2023-05-23 15:45:32 -07:00
David Harris
ee3660b0f2
Removed unnecessary imperas tests from coverage
2023-05-23 15:43:11 -07:00
David Harris
e2c990f47d
Increased timeout for riscof because it is so slow
2023-05-23 15:37:09 -07:00
Ross Thompson
05b54d40b3
Merge pull request #298 from davidharrishmc/dev
...
Start Verilate
2023-05-22 16:51:31 -04:00
David Harris
c223c18f34
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
2023-05-22 11:27:57 -07:00
David Harris
6e8a313930
Verilate start
2023-05-22 10:30:39 -07:00
Ross Thompson
485508274e
Merge pull request #297 from davidharrishmc/dev
...
Verilator testbench changes
2023-05-22 13:29:54 -04:00
David Harris
533ddf5eb3
Removed force from branch predictor initialization
2023-05-22 09:57:41 -07:00
David Harris
f257259045
Initial testbench cleanup for Verilator
2023-05-22 09:51:46 -07:00
Ross Thompson
2adc1c969c
Fixed coremark performance counters to match the updated counter changes from a month ago.
2023-05-22 10:38:23 -05:00
Ross Thompson
1dc7fb567b
Merge branch 'localhistory'
...
Repair to wave file.
Created implementations of local history. Part of my Ph.D. research.
2023-05-22 10:13:31 -05:00
Ross Thompson
c68dae0b0e
Repaired wave file.
2023-05-22 10:09:33 -05:00
Ross Thompson
81b33fb48e
Fixes load and store stall counters.
2023-05-22 10:08:49 -05:00
Ross Thompson
cae4448808
Merge branch 'main' of https://github.com/openhwgroup/cvw
2023-05-22 10:06:42 -05:00
Ross Thompson
0be8ec966c
Merge pull request #296 from davidharrishmc/main
...
riscof fixes
2023-05-22 11:05:34 -04:00
Ross Thompson
d57a33fb6b
Repaired wave file.
2023-05-22 09:50:34 -05:00
Ross Thompson
71e5372373
Merge branch 'main' of https://github.com/openhwgroup/cvw
2023-05-22 09:38:57 -05:00