-
Notifications
You must be signed in to change notification settings - Fork 40
/
soc_ifc_environment.yaml
executable file
·106 lines (94 loc) · 4.17 KB
/
soc_ifc_environment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
uvmf:
environments:
soc_ifc:
imports:
- name: "rw_txn_pkg"
agents:
- name: soc_ifc_ctrl_agent
type: soc_ifc_ctrl
initiator_responder: "INITIATOR"
- name: cptra_ctrl_agent
type: cptra_ctrl
initiator_responder: "INITIATOR"
- name: soc_ifc_status_agent
type: soc_ifc_status
initiator_responder: "RESPONDER"
- name: cptra_status_agent
type: cptra_status
initiator_responder: "RESPONDER"
- name: mbox_sram_agent
type: mbox_sram
initiator_responder: "RESPONDER"
analysis_components:
- name: soc_ifc_pred
type: soc_ifc_predictor
- name: soc_ifc_sb
type: soc_ifc_scoreboard
# analysis_exports :
# - name: "ahb_master_0_export"
# trans_type: "rw_txn"
# connected_to: "soc_ifc_pred.ahb_master_0_ae"
# - name: "apb5_master_0_export"
# trans_type: "rw_txn"
# connected_to: "soc_ifc_pred.apb5_master_0_ae"
analysis_ports: []
config_constraints: []
config_vars: []
parameters: []
scoreboards: []
# - name: soc_ifc_sb
# sb_type: uvmf_in_order_scoreboard
# trans_type: soc_ifc_status_transaction
subenvs: []
qvip_subenvs :
- { name: "qvip_ahb_lite_slave_subenv", type: "qvip_ahb_lite_slave" }
- { name: "qvip_apb5_slave_subenv", type: "qvip_apb5_slave" }
qvip_connections :
- driver: "qvip_ahb_lite_slave_subenv.ahb_lite_slave_0"
ap_key: "burst_transfer"
receiver: "soc_ifc_pred.ahb_slave_0_ae"
validate: "false"
- driver: "qvip_apb5_slave_subenv.apb5_master_0"
ap_key: "trans_ap"
receiver: "soc_ifc_pred.apb5_slave_0_ae"
validate: "false"
tlm_connections:
############# Predictor connections ############
- driver: soc_ifc_ctrl_agent.monitored_ap # SOC IFC Control
receiver: soc_ifc_pred.soc_ifc_ctrl_agent_ae #
- driver: cptra_ctrl_agent.monitored_ap # Caliptra Control
receiver: soc_ifc_pred.cptra_ctrl_agent_ae #
- driver: mbox_sram_agent.monitored_ap # Mailbox SRAM i/f
receiver: soc_ifc_pred.mbox_sram_agent_ae #
# - driver: qvip_ahb_lite_master_subenv.ahb_master_0.export_rw # AHB
# receiver: soc_ifc_pred.ahb_master_0_ae #
# - driver: qvip_apb5_master_subenv.apb5_master_0.export_rw # APB
# receiver: soc_ifc_pred.apb5_master_0_ae #
############# Scoreboard connections ############
# Expected
- driver: soc_ifc_pred.soc_ifc_sb_ap #
receiver: soc_ifc_sb.expected_analysis_export #
- driver: soc_ifc_pred.cptra_sb_ap #
receiver: soc_ifc_sb.expected_cptra_analysis_export #
- driver: soc_ifc_pred.soc_ifc_sb_ahb_ap #
receiver: soc_ifc_sb.expected_ahb_analysis_export #
- driver: soc_ifc_pred.soc_ifc_sb_apb_ap #
receiver: soc_ifc_sb.expected_apb_analysis_export #
# Actual
- driver: soc_ifc_status_agent.monitored_ap #
receiver: soc_ifc_sb.actual_analysis_export #
- driver: cptra_status_agent.monitored_ap #
receiver: soc_ifc_sb.actual_cptra_analysis_export #
# - driver: 'qvip_ahb_lite_slave_subenv_ahb_lite_slave_0_ap["burst_transfer_sb"]' #
# receiver: soc_ifc_sb.actual_ahb_analysis_export #
# - driver: 'qvip_apb5_slave_subenv_apb5_master_0_ap["trans_ap_sb"]' #
# receiver: soc_ifc_sb.actual_apb_analysis_export #
register_model:
use_adapter: "True"
use_explicit_prediction: "True"
reg_block_class: soc_ifc_reg_model_top
reg_model_package: soc_ifc_reg_model_top_pkg
maps:
- name: "fixme_map"
interface: "qvip_ahb_lite_slave_subenv.ahb_lite_slave_0"
qvip_agent: "True"