Skip to content

Commit f74a1fd

Browse files
feat: adding certificate and CTP for RVI20 (riscv-software-src#889)
Fixes riscv-software-src#881
1 parent 99832a9 commit f74a1fd

File tree

5 files changed

+85
-1
lines changed

5 files changed

+85
-1
lines changed

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,10 @@ task :portfolios do
489489
Rake::Task["#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.pdf"].invoke
490490
portfolio_start_msg("MockProfileRelease")
491491
Rake::Task["#{$root}/gen/profile/pdf/MockProfileRelease.pdf"].invoke
492+
portfolio_start_msg("RVI20-32-CTP")
493+
Rake::Task["#{$root}/gen/proc_ctp/pdf/RVI20-32-CTP.pdf"].invoke
494+
portfolio_start_msg("RVI20-64-CTP")
495+
Rake::Task["#{$root}/gen/proc_ctp/pdf/RVI20-64-CTP.pdf"].invoke
492496
portfolio_start_msg("MC100-32-CTP")
493497
Rake::Task["#{$root}/gen/proc_ctp/pdf/MC100-32-CTP.pdf"].invoke
494498
portfolio_start_msg("MC100-32-CRD")
@@ -534,6 +538,8 @@ task "MockCTP": "#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.pdf"
534538
task "MockProcessorCTP": "#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.pdf"
535539
task "MockCTP-HTML": "#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.html"
536540
task "MockProcessorCTP-HTML": "#{$root}/gen/proc_ctp/pdf/MockProcessor-CTP.html"
541+
task "RVI20-32-CTP": "#{$root}/gen/proc_ctp/pdf/RVI20-32-CTP.pdf"
542+
task "RVI20-64-CTP": "#{$root}/gen/proc_ctp/pdf/RVI20-64-CTP.pdf"
537543
task "MC100-32-CTP": "#{$root}/gen/proc_ctp/pdf/MC100-32-CTP.pdf"
538544
task "MC100-32-CTP-HTML": "#{$root}/gen/proc_ctp/pdf/MC100-32-CTP.html"
539545
task "MC100-32-CRD": "#{$root}/gen/proc_crd/pdf/MC100-32-CRD.pdf"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2+
# SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+
# yaml-language-server: $schema=../../schemas/proc_cert_class_schema.json
5+
6+
$schema: proc_cert_class_schema.json#
7+
kind: processor certificate class
8+
processor_kind: Generic Unprivileged
9+
name: RVI
10+
long_name: RVI Certificate Class
11+
12+
introduction: |
13+
The RVI certificate class corresponds to the RVI Profile Family.
14+
This certificate class only includes the RISC-V Unprivileged ISA.
15+
Certificates for the RVI certificate class are intended for internal
16+
use by the RVCP (RISC-V Certification Program).
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2+
# SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+
# yaml-language-server: $schema=../../schemas/proc_cert_model_schema.json
5+
6+
$schema: proc_cert_model_schema.json#
7+
kind: processor certificate model
8+
name: RVI20-32
9+
long_name: 32-bit RVI20 Certificate
10+
class:
11+
$ref: proc_cert_class/RVI.yaml#
12+
13+
# MXLEN
14+
base: 32
15+
16+
# Semantic versions within the model
17+
versions:
18+
- version: "1.0.0"
19+
20+
revision_history:
21+
- revision: "0.1.0"
22+
date: "2025-07-03"
23+
changes:
24+
- Created
25+
26+
introduction: |
27+
The RVI20-32 processor certificate corresponds to the RVI20U32 profile.
28+
29+
# Specification versions
30+
tsc_profile_release:
31+
$ref: profile_release/RVI20.yaml#
32+
unpriv_isa_manual_revision: "20240411"
33+
34+
in_scope_priv_modes:
35+
- U
36+
37+
extensions:
38+
$inherits:
39+
- "profile/RVI20U32.yaml#/extensions"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
2+
# SPDX-License-Identifier: BSD-3-Clause-Clear
3+
4+
# yaml-language-server: $schema=../../schemas/proc_cert_model_schema.json
5+
6+
$schema: proc_cert_model_schema.json#
7+
kind: processor certificate model
8+
name: RVI20-64
9+
long_name: 64-bit RVI20 Certificate
10+
class:
11+
$ref: proc_cert_class/RVI.yaml#
12+
13+
$inherits: "proc_cert_model/RVI20-32.yaml#"
14+
15+
# MXLEN
16+
base: 64
17+
18+
introduction: |
19+
The RVI20-64 processor certificate corresponds to the RVI20U64 profile.

tools/scripts/deploy.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ parallel ::: \
130130
"./do gen:proc_crd_pdf[MC200-64]" \
131131
"./do gen:proc_crd_pdf[MC300-32]" \
132132
"./do gen:proc_crd_pdf[MC300-64]" \
133+
"./do gen:proc_ctp_pdf[RVI20-32]" \
134+
"./do gen:proc_ctp_pdf[RVI20-64]" \
133135
"./do gen:proc_ctp_pdf[MC100-32]" \
134136
"./do gen:proc_ctp_pdf[MockProcessor]"
135137

@@ -160,7 +162,7 @@ for crd in AC100 AC200 MC100-32 MC100-64 MC200-32 MC200-64 MC300-32 MC300-64; do
160162
deploy_cp gen/proc_crd/pdf/${crd}-CRD.pdf $DEPLOY_DIR/pdfs
161163
done
162164

163-
for ctp in MC100-32 MockProcessor; do
165+
for ctp in RVI20-32 RVI20-64 MC100-32 MockProcessor; do
164166
deploy_log "Copy ${ctp}-CTP PDF"
165167
deploy_cp gen/proc_ctp/pdf/${ctp}-CTP.pdf $DEPLOY_DIR/pdfs
166168
done
@@ -244,6 +246,8 @@ cat <<- EOF > $DEPLOY_DIR/index.html
244246
<br/>
245247
<h3>CSC CTPs (Certification Test Plans)</h3>
246248
<ul>
249+
<li><a href="$PAGES_URL/pdfs/RVI20-32-CTP.pdf">RVI20-32 CTP</a></li>
250+
<li><a href="$PAGES_URL/pdfs/RVI20-64-CTP.pdf">RVI20-64 CTP</a></li>
247251
<li><a href="$PAGES_URL/pdfs/MC100-32-CTP.pdf">MC100-32 CTP</a></li>
248252
<li><a href="$PAGES_URL/pdfs/MockProcessor-CTP.pdf">MockProcessor CTP (for UDB testing)</a></li>
249253
</ul>

0 commit comments

Comments
 (0)