@@ -27,6 +27,7 @@ CALIPTRA_ROOT ?= $(THIRD_PARTY_DIR)/caliptra-rtl## Path: caliptra-rtl repo
27
27
UVM_DIR ?= $(VERILATOR_UVM_DIR ) /# # Select UVM version
28
28
SIMULATOR ?= verilator# # Supported: verilator, dsim, questa, vcs
29
29
REPO_URL ?= https://github.com/chipsalliance/i3c-core/tree/main/
30
+ DOCS_URL ?= https://chipsalliance.github.io/i3c-core/
30
31
31
32
# Path to directory with XMLs with tests' results
32
33
TESTS_RESULTS_DIR ?= $(COCOTB_VERIF_DIR )
@@ -142,8 +143,8 @@ tests-tool: ## Run all tool tests
142
143
BLOCKS_VERIFICATION_PLANS = $(shell find $(TESTPLAN_DIR ) -type f -name "* .hjson" ! -name "target* .hjson" | sort)
143
144
CORE_VERIFICATION_PLANS = $(shell find $(TESTPLAN_DIR ) -type f -name "* target* .hjson" | sort)
144
145
verification-docs :
145
- testplanner $(BLOCKS_VERIFICATION_PLANS ) -ot $(TESTPLAN_DIR ) /generated/testplans_blocks.md --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL )
146
- testplanner $(CORE_VERIFICATION_PLANS ) -ot $(TESTPLAN_DIR ) /generated/testplans_core.md --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL )
146
+ testplanner $(BLOCKS_VERIFICATION_PLANS ) -ot $(TESTPLAN_DIR ) /generated/testplans_blocks.md --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL ) --docs-url-prefix $( DOCS_URL )
147
+ testplanner $(CORE_VERIFICATION_PLANS ) -ot $(TESTPLAN_DIR ) /generated/testplans_core.md --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL ) --docs-url-prefix $( DOCS_URL )
147
148
148
149
VERIFICATION_SIM_RESULTS_XMLS = $(shell find $(TESTS_RESULTS_DIR ) -type f -name "* .xml" | sort)
149
150
cocotbxml-to-hjson-sim-results :
@@ -153,8 +154,8 @@ cocotbxml-to-hjson-sim-results:
153
154
BLOCKS_VERIFICATION_SIM_RESULTS = $(shell find $(TESTS_RESULTS_DIR ) -type f -name "* .hjson" ! -name "target* .hjson" | sort)
154
155
CORE_VERIFICATION_SIM_RESULTS = $(shell find $(TESTS_RESULTS_DIR ) -type f -name "* target* .hjson" | sort)
155
156
verification-docs-with-sim : cocotbxml-to-hjson-sim-results
156
- testplanner $(BLOCKS_VERIFICATION_PLANS ) -s $(BLOCKS_VERIFICATION_SIM_RESULTS ) -ot $(TESTPLAN_DIR ) /generated/testplans_blocks.md -os $(TESTPLAN_DIR ) /generated/sim-results --output-summary-title " Tests for individual blocks" --output-summary $(TESTPLAN_DIR ) /generated/sim-results/index-blocks.html --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL )
157
- testplanner $(CORE_VERIFICATION_PLANS ) -s $(CORE_VERIFICATION_SIM_RESULTS ) -ot $(TESTPLAN_DIR ) /generated/testplans_core.md -os $(TESTPLAN_DIR ) /generated/sim-results --output-summary-title " Tests for the core" --output-summary $(TESTPLAN_DIR ) /generated/sim-results/index-top.html --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL )
157
+ testplanner $(BLOCKS_VERIFICATION_PLANS ) -s $(BLOCKS_VERIFICATION_SIM_RESULTS ) -ot $(TESTPLAN_DIR ) /generated/testplans_blocks.md -os $(TESTPLAN_DIR ) /generated/sim-results --output-summary-title " Tests for individual blocks" --output-summary $(TESTPLAN_DIR ) /generated/sim-results/index-blocks.html --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL ) --docs-url-prefix $( DOCS_URL )
158
+ testplanner $(CORE_VERIFICATION_PLANS ) -s $(CORE_VERIFICATION_SIM_RESULTS ) -ot $(TESTPLAN_DIR ) /generated/testplans_core.md -os $(TESTPLAN_DIR ) /generated/sim-results --output-summary-title " Tests for the core" --output-summary $(TESTPLAN_DIR ) /generated/sim-results/index-top.html --project-root $(I3C_ROOT_DIR ) --testplan-file-map $(TESTPLAN_DIR ) /source-maps.yml --source-url-prefix $(REPO_URL ) --docs-url-prefix $( DOCS_URL )
158
159
cat $(TESTPLAN_DIR ) /generated/sim-results/index-blocks.html $(TESTPLAN_DIR ) /generated/sim-results/index-top.html > $(TESTPLAN_DIR ) /generated/sim-results/index.html
159
160
#
160
161
# Utilities
0 commit comments