Skip to content

Commit 208fd14

Browse files
defined as alias
1 parent 4b6234f commit 208fd14

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

spec/std/isa/csr/scountinhibit.layout

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ definedBy:
2222
fields:
2323
CY:
2424
location: 0
25+
alias: mcountinhibit.CY
2526
description: |
2627
Cycle inhibit. When 1, the cycle counter does not increment. Only meaningful if
2728
mcycle is delegated to S-mode; otherwise reads as 0.
@@ -43,6 +44,7 @@ fields:
4344
return csr_value.CY;
4445
IR:
4546
location: 2
47+
alias: mcountinhibit.IR
4648
description: |
4749
Instructions-retired inhibit. When 1, the instret counter does not increment. Only
4850
meaningful if minstret is delegated to S-mode; else reads 0.
@@ -65,6 +67,7 @@ fields:
6567
<%- (3..31).each do |hpm_num| -%>
6668
HPM<%= hpm_num %>:
6769
location: <%= hpm_num %>
70+
alias: mcountinhibit.HPM<%= hpm_num %>
6871
description:
6972
- id: csr-field-hpmcounter<%= hpm_num %>.COUNT-effect
7073
normative: true

spec/std/isa/csr/scountinhibit.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ definedBy:
2323
fields:
2424
CY:
2525
location: 0
26+
alias: mcountinhibit.CY
2627
description: |
2728
Cycle inhibit. When 1, the cycle counter does not increment. Only meaningful if
2829
mcycle is delegated to S-mode; otherwise reads as 0.
@@ -44,6 +45,7 @@ fields:
4445
return csr_value.CY;
4546
IR:
4647
location: 2
48+
alias: mcountinhibit.IR
4749
description: |
4850
Instructions-retired inhibit. When 1, the instret counter does not increment. Only
4951
meaningful if minstret is delegated to S-mode; else reads 0.
@@ -65,6 +67,7 @@ fields:
6567
return csr_value.IR;
6668
HPM3:
6769
location: 3
70+
alias: mcountinhibit.HPM3
6871
description:
6972
- id: csr-field-hpmcounter3.COUNT-effect
7073
normative: true
@@ -102,6 +105,7 @@ fields:
102105
return csr_value.HPM3;
103106
HPM4:
104107
location: 4
108+
alias: mcountinhibit.HPM4
105109
description:
106110
- id: csr-field-hpmcounter4.COUNT-effect
107111
normative: true
@@ -139,6 +143,7 @@ fields:
139143
return csr_value.HPM4;
140144
HPM5:
141145
location: 5
146+
alias: mcountinhibit.HPM5
142147
description:
143148
- id: csr-field-hpmcounter5.COUNT-effect
144149
normative: true
@@ -176,6 +181,7 @@ fields:
176181
return csr_value.HPM5;
177182
HPM6:
178183
location: 6
184+
alias: mcountinhibit.HPM6
179185
description:
180186
- id: csr-field-hpmcounter6.COUNT-effect
181187
normative: true
@@ -213,6 +219,7 @@ fields:
213219
return csr_value.HPM6;
214220
HPM7:
215221
location: 7
222+
alias: mcountinhibit.HPM7
216223
description:
217224
- id: csr-field-hpmcounter7.COUNT-effect
218225
normative: true
@@ -250,6 +257,7 @@ fields:
250257
return csr_value.HPM7;
251258
HPM8:
252259
location: 8
260+
alias: mcountinhibit.HPM8
253261
description:
254262
- id: csr-field-hpmcounter8.COUNT-effect
255263
normative: true
@@ -287,6 +295,7 @@ fields:
287295
return csr_value.HPM8;
288296
HPM9:
289297
location: 9
298+
alias: mcountinhibit.HPM9
290299
description:
291300
- id: csr-field-hpmcounter9.COUNT-effect
292301
normative: true
@@ -324,6 +333,7 @@ fields:
324333
return csr_value.HPM9;
325334
HPM10:
326335
location: 10
336+
alias: mcountinhibit.HPM10
327337
description:
328338
- id: csr-field-hpmcounter10.COUNT-effect
329339
normative: true
@@ -361,6 +371,7 @@ fields:
361371
return csr_value.HPM10;
362372
HPM11:
363373
location: 11
374+
alias: mcountinhibit.HPM11
364375
description:
365376
- id: csr-field-hpmcounter11.COUNT-effect
366377
normative: true
@@ -398,6 +409,7 @@ fields:
398409
return csr_value.HPM11;
399410
HPM12:
400411
location: 12
412+
alias: mcountinhibit.HPM12
401413
description:
402414
- id: csr-field-hpmcounter12.COUNT-effect
403415
normative: true
@@ -435,6 +447,7 @@ fields:
435447
return csr_value.HPM12;
436448
HPM13:
437449
location: 13
450+
alias: mcountinhibit.HPM13
438451
description:
439452
- id: csr-field-hpmcounter13.COUNT-effect
440453
normative: true
@@ -472,6 +485,7 @@ fields:
472485
return csr_value.HPM13;
473486
HPM14:
474487
location: 14
488+
alias: mcountinhibit.HPM14
475489
description:
476490
- id: csr-field-hpmcounter14.COUNT-effect
477491
normative: true
@@ -509,6 +523,7 @@ fields:
509523
return csr_value.HPM14;
510524
HPM15:
511525
location: 15
526+
alias: mcountinhibit.HPM15
512527
description:
513528
- id: csr-field-hpmcounter15.COUNT-effect
514529
normative: true
@@ -546,6 +561,7 @@ fields:
546561
return csr_value.HPM15;
547562
HPM16:
548563
location: 16
564+
alias: mcountinhibit.HPM16
549565
description:
550566
- id: csr-field-hpmcounter16.COUNT-effect
551567
normative: true
@@ -583,6 +599,7 @@ fields:
583599
return csr_value.HPM16;
584600
HPM17:
585601
location: 17
602+
alias: mcountinhibit.HPM17
586603
description:
587604
- id: csr-field-hpmcounter17.COUNT-effect
588605
normative: true
@@ -620,6 +637,7 @@ fields:
620637
return csr_value.HPM17;
621638
HPM18:
622639
location: 18
640+
alias: mcountinhibit.HPM18
623641
description:
624642
- id: csr-field-hpmcounter18.COUNT-effect
625643
normative: true
@@ -657,6 +675,7 @@ fields:
657675
return csr_value.HPM18;
658676
HPM19:
659677
location: 19
678+
alias: mcountinhibit.HPM19
660679
description:
661680
- id: csr-field-hpmcounter19.COUNT-effect
662681
normative: true
@@ -694,6 +713,7 @@ fields:
694713
return csr_value.HPM19;
695714
HPM20:
696715
location: 20
716+
alias: mcountinhibit.HPM20
697717
description:
698718
- id: csr-field-hpmcounter20.COUNT-effect
699719
normative: true
@@ -731,6 +751,7 @@ fields:
731751
return csr_value.HPM20;
732752
HPM21:
733753
location: 21
754+
alias: mcountinhibit.HPM21
734755
description:
735756
- id: csr-field-hpmcounter21.COUNT-effect
736757
normative: true
@@ -768,6 +789,7 @@ fields:
768789
return csr_value.HPM21;
769790
HPM22:
770791
location: 22
792+
alias: mcountinhibit.HPM22
771793
description:
772794
- id: csr-field-hpmcounter22.COUNT-effect
773795
normative: true
@@ -805,6 +827,7 @@ fields:
805827
return csr_value.HPM22;
806828
HPM23:
807829
location: 23
830+
alias: mcountinhibit.HPM23
808831
description:
809832
- id: csr-field-hpmcounter23.COUNT-effect
810833
normative: true
@@ -842,6 +865,7 @@ fields:
842865
return csr_value.HPM23;
843866
HPM24:
844867
location: 24
868+
alias: mcountinhibit.HPM24
845869
description:
846870
- id: csr-field-hpmcounter24.COUNT-effect
847871
normative: true
@@ -879,6 +903,7 @@ fields:
879903
return csr_value.HPM24;
880904
HPM25:
881905
location: 25
906+
alias: mcountinhibit.HPM25
882907
description:
883908
- id: csr-field-hpmcounter25.COUNT-effect
884909
normative: true
@@ -916,6 +941,7 @@ fields:
916941
return csr_value.HPM25;
917942
HPM26:
918943
location: 26
944+
alias: mcountinhibit.HPM26
919945
description:
920946
- id: csr-field-hpmcounter26.COUNT-effect
921947
normative: true
@@ -953,6 +979,7 @@ fields:
953979
return csr_value.HPM26;
954980
HPM27:
955981
location: 27
982+
alias: mcountinhibit.HPM27
956983
description:
957984
- id: csr-field-hpmcounter27.COUNT-effect
958985
normative: true
@@ -990,6 +1017,7 @@ fields:
9901017
return csr_value.HPM27;
9911018
HPM28:
9921019
location: 28
1020+
alias: mcountinhibit.HPM28
9931021
description:
9941022
- id: csr-field-hpmcounter28.COUNT-effect
9951023
normative: true
@@ -1027,6 +1055,7 @@ fields:
10271055
return csr_value.HPM28;
10281056
HPM29:
10291057
location: 29
1058+
alias: mcountinhibit.HPM29
10301059
description:
10311060
- id: csr-field-hpmcounter29.COUNT-effect
10321061
normative: true
@@ -1064,6 +1093,7 @@ fields:
10641093
return csr_value.HPM29;
10651094
HPM30:
10661095
location: 30
1096+
alias: mcountinhibit.HPM30
10671097
description:
10681098
- id: csr-field-hpmcounter30.COUNT-effect
10691099
normative: true
@@ -1101,6 +1131,7 @@ fields:
11011131
return csr_value.HPM30;
11021132
HPM31:
11031133
location: 31
1134+
alias: mcountinhibit.HPM31
11041135
description:
11051136
- id: csr-field-hpmcounter31.COUNT-effect
11061137
normative: true

0 commit comments

Comments
 (0)