Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCS #677

Closed
wants to merge 149 commits into from
Closed

VCS #677

Changes from 1 commit
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
3168859
updated install tool chain file to use verilator v5.016
Thomas-J-Kidd Jan 5, 2024
981c3cc
updated gitignore file
Thomas-J-Kidd Jan 5, 2024
ea8f424
merged script install file
Thomas-J-Kidd Jan 5, 2024
d09e0b1
Updating from main cvw repository
Thomas-J-Kidd Jan 10, 2024
1839580
Merging and hopefully tests can be made without errorsMerge branch 'm…
Thomas-J-Kidd Jan 11, 2024
14a0004
mergingMerge branch 'main' of github.com:Thomas-J-Kidd/cvw
Thomas-J-Kidd Jan 16, 2024
7871b1a
mergingMerge branch 'main' of github.com:Thomas-J-Kidd/cvw
Thomas-J-Kidd Jan 22, 2024
9165541
merging
Thomas-J-Kidd Jan 25, 2024
8d9f520
adding nightly tests
Thomas-J-Kidd Jan 31, 2024
7c3ea51
Merge branch 'main' of github.com:Thomas-J-Kidd/cvw
Thomas-J-Kidd Jan 31, 2024
942a280
reverted the verilator checkout to checkout master
Thomas-J-Kidd Jan 31, 2024
85f214a
Revert "reverted the verilator checkout to checkout master"
Thomas-J-Kidd Feb 1, 2024
590f53f
Revert "updated gitignore file"
Thomas-J-Kidd Feb 1, 2024
735785d
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Feb 1, 2024
d2e606b
Revert "updated install tool chain file to use verilator v5.016"
Thomas-J-Kidd Feb 1, 2024
78db8c5
Revert "updated gitignore file"
Thomas-J-Kidd Feb 1, 2024
6398705
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Feb 12, 2024
190ef91
Replacing nightly_build folder with nightly_build.py and bash wrapper…
Thomas-J-Kidd Feb 13, 2024
484613f
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Feb 13, 2024
0cc0cde
initial seed of AES engine
stineje Feb 21, 2024
488583a
minor tweak
stineje Feb 21, 2024
93d9bb4
minor changes + date change on copyright
stineje Feb 21, 2024
2cf1d43
add aes instructions
stineje Feb 21, 2024
38348f9
Add SHA instructions
stineje Feb 21, 2024
32be225
add kmu instruction
stineje Feb 21, 2024
f700b7d
separate galois function SV per the style file
stineje Feb 21, 2024
3d65ea7
separate aes_shiftword per style file
stineje Feb 21, 2024
ac9068d
update aes_common with style on separate sv
stineje Feb 21, 2024
7097b17
update aes_instructions
stineje Feb 21, 2024
7cb170c
update on aes_instructions
stineje Feb 21, 2024
550f50d
Modify ALU to handle Zkne/K extension
stineje Feb 22, 2024
171da97
add config for K extensions (7 so far)
stineje Feb 22, 2024
c8468e9
slight tweak of names
stineje Feb 22, 2024
cdd2aa6
tweak of names
stineje Feb 22, 2024
4c84b9d
updated nightly build, but ran into buildroot errors
Thomas-J-Kidd Feb 23, 2024
e06bafe
Add alu + controller
stineje Feb 25, 2024
50cbe54
Add datapath.sv
stineje Feb 25, 2024
cd2a9b8
Add mux7 for K ext
stineje Feb 25, 2024
71cefdb
main cvw module
stineje Feb 25, 2024
ce975a6
Add ieu main module for k extension
stineje Feb 25, 2024
eb1780a
control for bitmanip
stineje Feb 25, 2024
0d4d996
add spike riscof items for K extension test
stineje Feb 25, 2024
01c45ab
Fixed K extension changes
KelvinTr Feb 28, 2024
88d93b3
Combined byteop and revop logic
KelvinTr Feb 29, 2024
e40ae12
Combined ZBC and ZBKC into one unit
KelvinTr Feb 29, 2024
9f53c54
Optimized Zbkx
KelvinTr Feb 29, 2024
c110d0b
Optimized Zbkx
KelvinTr Feb 29, 2024
c163069
Optimized mixcolumn
KelvinTr Mar 4, 2024
9ccc93f
over rides TIMEOUT on -nightly tag for regression since buildroot is …
Thomas-J-Kidd Mar 5, 2024
b2d0f71
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Mar 5, 2024
e6ffde6
fix module name to lc
stineje Mar 5, 2024
0d7ea36
fix module name to lc in aes_instructions
stineje Mar 5, 2024
7bbc641
fix spacing in sha_instructions for style
stineje Mar 5, 2024
5e247b9
fix some spacing in aes_common
stineje Mar 5, 2024
5aab40a
Missed some style module declarations
stineje Mar 5, 2024
6894ee4
Separate gm2.sv to be separate module
stineje Mar 5, 2024
5b44594
style file slight mods for sha_instructions
stineje Mar 5, 2024
22947e5
udpated readme by adding how to add crontab section
Thomas-J-Kidd Mar 5, 2024
baa29ea
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Mar 5, 2024
00b6139
Optimized Inverse Mixcolumn
KelvinTr Mar 5, 2024
b1830b1
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Mar 6, 2024
2c6588d
Timinig optimization for radix 4 division, added missing derived config
davidharrishmc Mar 6, 2024
eb87a4a
UM comments in fdivsqrtotfc
davidharrishmc Mar 6, 2024
24dffa3
Yay. David and I got our first Quad load/store instructions working!
rosethompson Mar 7, 2024
1872966
Progress.
rosethompson Mar 7, 2024
a85ace8
Sold progress towards a decent q test.
rosethompson Mar 7, 2024
402d71e
Added basic Quad testing.
rosethompson Mar 7, 2024
7f28c9d
Merge pull request #656 from ross144/main
davidharrishmc Mar 7, 2024
e870e81
Finished Wally rvvi tracer.
rosethompson Mar 8, 2024
f815d56
Fix typo in Makefile.
Mar 8, 2024
c71cafb
Add linux/buildroot to .gitignore to ignore the intermediate built fo…
Mar 8, 2024
6bf2f16
Merge pull request #660 from Karl-Han/update_gitignore
rosethompson Mar 9, 2024
f7fa1cd
Merge pull request #657 from ross144/main
davidharrishmc Mar 9, 2024
8821386
update removal of underscores from aes_common
stineje Mar 9, 2024
08c7ddd
update removal of underscores from aes_instructions
stineje Mar 9, 2024
4addee0
updated nightly runs with try statement in email sending
Thomas-J-Kidd Mar 9, 2024
26f75b6
Merge branch 'main' of github.com:Thomas-J-Kidd/cvw
Thomas-J-Kidd Mar 9, 2024
0e3341c
added argstrings to make it a better CLI tool
Thomas-J-Kidd Mar 9, 2024
3b16238
update removal of underscores from sha_instructions
stineje Mar 10, 2024
55e019c
update removal of underscores from kmu
stineje Mar 10, 2024
bd5741b
fix space at beginning of file in bmu
stineje Mar 10, 2024
d3b1ce4
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Mar 10, 2024
0caed8f
undo changing TIMEOUT duration for regression-wally
Thomas-J-Kidd Mar 10, 2024
c8df291
updated nightly runs with try statement in email sending
Thomas-J-Kidd Mar 9, 2024
ad12def
fix underscore in instantiation
stineje Mar 10, 2024
1aa1608
fix space in kmu
stineje Mar 10, 2024
7f65718
fixed documentation typo
Thomas-J-Kidd Mar 10, 2024
ac3aa82
fix underscore in bmu directory
stineje Mar 10, 2024
1573c89
Update bitmanipalu.sv for K extension
stineje Mar 10, 2024
54fec7c
fix bitmanipalu.sv typo on missing semicolon
stineje Mar 10, 2024
047291e
add header for bmuctrl.sv
stineje Mar 10, 2024
3cf6a19
Merge branch 'main' into main
rosethompson Mar 10, 2024
93d9af6
Merge pull request #640 from stineje/main
rosethompson Mar 10, 2024
93455e8
Added arch64i tests for fp configs
davidharrishmc Mar 11, 2024
39ca709
Merged AES changes
davidharrishmc Mar 11, 2024
34058dd
Crypto formatting cleanup
davidharrishmc Mar 11, 2024
e4724b8
Crypto formatting cleanup
davidharrishmc Mar 11, 2024
ea6846f
Crypto commenting cleanup
davidharrishmc Mar 11, 2024
955c131
Crypto rename inputs and outputs to a and y
davidharrishmc Mar 11, 2024
d0dd308
ZK simplification
davidharrishmc Mar 11, 2024
837abf1
ZK simplifcations
davidharrishmc Mar 11, 2024
2580d37
ZK cleanup, check no LLEN > XLEN without D$, add half and quad float …
davidharrishmc Mar 11, 2024
9a1fdba
Added more Zbkb tests shared with Zbb
davidharrishmc Mar 11, 2024
3d72cca
AES simplification
davidharrishmc Mar 11, 2024
f72e504
Defined rotate module and formatted AES modules more densely
davidharrishmc Mar 11, 2024
f950067
Shared middle and final round aes32 to cut size 50%
davidharrishmc Mar 11, 2024
b53e873
shared hardware for AES 64 decode
davidharrishmc Mar 11, 2024
d22306a
Shared haredware for aes64e
davidharrishmc Mar 11, 2024
7ee3145
Simplified muxing for AES64
davidharrishmc Mar 11, 2024
5257d3d
AES64 cleanup
davidharrishmc Mar 11, 2024
ef89679
Optimized out aes64im hardware; sharing with aes64d
davidharrishmc Mar 11, 2024
87ed778
Starting to merge decrypt and encrypt for AES64
davidharrishmc Mar 11, 2024
7d87c4f
AES64 simplification
davidharrishmc Mar 11, 2024
64d7f77
AES64 simplification
davidharrishmc Mar 11, 2024
b7f5ce6
AES64 simplification
davidharrishmc Mar 11, 2024
39c0d0c
AES64 simplification
davidharrishmc Mar 11, 2024
10d1ff6
Merged ZKNDEResult into a single BMU result mux input
davidharrishmc Mar 11, 2024
a714904
Simplifying AES32 logic
davidharrishmc Mar 11, 2024
8af25a4
AES32 sharing logic
davidharrishmc Mar 11, 2024
096f409
Final cleanup tonight
davidharrishmc Mar 11, 2024
019458a
Shared sbox between aes64ks1i and aes64e
davidharrishmc Mar 11, 2024
dbfe44a
Renamed aes and sha directories
davidharrishmc Mar 11, 2024
7132d30
Simplified ZKNH64
davidharrishmc Mar 11, 2024
ef2c003
Merge pull request #663 from davidharrishmc/dev
rosethompson Mar 11, 2024
55863bd
Update K extension in SHA to remove redundant logic and optimize hier…
stineje Mar 12, 2024
d11afcf
Merge pull request #666 from stineje/main
davidharrishmc Mar 12, 2024
41ab94c
fix elements forgot to delete from zknh32.sv
stineje Mar 12, 2024
4695418
Merge pull request #667 from stineje/main
davidharrishmc Mar 12, 2024
640dae6
System independent setup.sh file
rosethompson Mar 12, 2024
c027fd3
Added site-setup.csh for cshell systems.
rosethompson Mar 12, 2024
f642043
Fixed typos in site-setup.csh.
rosethompson Mar 12, 2024
700dfcc
Merge pull request #668 from ross144/site-setup
davidharrishmc Mar 12, 2024
a459f70
Merge pull request #669 from Karl-Han/fix_makefile_typo
rosethompson Mar 13, 2024
32763ab
Merge branch 'openhwgroup:main' into main
Thomas-J-Kidd Mar 13, 2024
e568f93
typo fixes
Thomas-J-Kidd Mar 13, 2024
b5419cc
Increase number of jobs in riscof to speedup building.
Mar 13, 2024
5e3ff3e
Merge pull request #671 from Karl-Han/increase_riscof_jobs
davidharrishmc Mar 13, 2024
90026a5
showing commands used for executing each specific test
Thomas-J-Kidd Mar 14, 2024
7ed2d0c
typo fix for displaying commands in email
Thomas-J-Kidd Mar 14, 2024
efc1d66
Merge pull request #673 from Thomas-J-Kidd/main
davidharrishmc Mar 14, 2024
cbd61d0
fix size of CVTLEN to support fcvtmod.w.d; add max macro to config-sh…
jordancarlin Mar 14, 2024
c3a0310
Merge pull request #674 from jordancarlin/main
davidharrishmc Mar 14, 2024
b476707
add derived configs directory to wally.do
jordancarlin Mar 14, 2024
36e45a0
Merge pull request #675 from jordancarlin/main
davidharrishmc Mar 14, 2024
4c30865
Update VCS Testbench run setup in Makefile
Divya2030 Mar 16, 2024
914a523
Merge remote-tracking branch 'origin/vcs' into vcs
Divya2030 Mar 16, 2024
5993de7
removing empty.sv file
Divya2030 Mar 23, 2024
f2cd1bf
run_vcs.sh script
Divya2030 Mar 23, 2024
c8a5c50
add run_xcellium
Divya2030 Mar 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add run_xcellium
  • Loading branch information
Divya2030 committed Mar 23, 2024
commit c8a5c50465255ff25266e2b68b81f2c8c9a6e07e
37 changes: 37 additions & 0 deletions sim/run_xcellium.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash

# Ensure IMPERAS_HOME is set
if [ -z "$IMPERAS_HOME" ]; then
echo "IMPERAS_HOME is not set"
exit 1
fi

# Set CONFIG_VARIANT from the first script argument
CONFIG_VARIANT="$1"
# Set TESTSUITE from the second script argument
TESTSUITE="$2"

# Define source and simulation files paths
SOURCE_PATH="+incdir+../config/${CONFIG_VARIANT} +incdir+../config/deriv/${CONFIG_VARIANT} +incdir+../config/shared +incdir+../testbench +incdir+/${IMPERAS_HOME}/ImpProprietary/include/host +incdir+/${IMPERAS_HOME}/ImpPublic/source/host/rvvi +incdir+${IMPERAS_HOME}/ImpPublic/include/host +define+INCLUDE_TRACE2COV +define+COVER_BASE_RV64I +define+COVER_LEVEL_DV_PR_EXT +define+COVER_RV64I +define+COVER_RV64C +define+COVER_RV64M +incdir+${IMPERAS_HOME}/ImpProprietary/include/host +incdir+${IMPERAS_HOME}/ImpProprietary/source/host/riscvISACOV/source"
SIMFILES="${IMPERAS_HOME}/ImpPublic/source/host/rvvi/rvviApiPkg.sv ${IMPERAS_HOME}/ImpPublic/source/host/rvvi/rvviTrace.sv ${IMPERAS_HOME}/ImpProprietary/source/host/idv/idvApiPkg.sv ${IMPERAS_HOME}/ImpProprietary/source/host/idv/idvPkg.sv ${IMPERAS_HOME}/ImpProprietary/source/host/idv/idvApiPkg.sv ${IMPERAS_HOME}/ImpProprietary/source/host/idv/trace2api.sv ${IMPERAS_HOME}/ImpProprietary/source/host/idv/trace2log.sv ${IMPERAS_HOME}/ImpProprietary/source/host/idv/trace2bin.sv ../src/cvw.sv ../testbench/testbench.sv ../src/*/*.sv ../src/*/*/*.sv ../testbench/common/*.sv"

# Function to clean up generated files
clean() {
rm -rf obj_dir work transcript vsim.wlf *.vcd csrc ucli.key vc_hdrs.h program.out
rm -rf simv* *.daidir dve *.vpd *.dump DVEfiles/ verdi* novas* *fsdb* *.vg *.rep *.db *.chk *.log *.out profileReport* simprofile_dir*
}

# Clean up before running
clean

# Command to run Xcelium (xrun) simulation
xrun -sv -uvm -access +rwc -timescale 1ns/1ns +define+TEST=$TESTSUITE $SOURCE_PATH $SIMFILES -R | tee program.out

# Check for errors in command execution
if [ $? -ne 0 ]; then
echo "Error: Xcelium (xrun) simulation failed."
exit 1
else
echo "Xcelium (xrun) simulation completed successfully."
fi