File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 22
22
- name : Setup repository
23
23
uses : actions/checkout@v4
24
24
25
+ - name : Generate VP
26
+ run : |
27
+ export I3C_ROOT_DIR="`pwd`"
28
+ pip3 install git+https://github.com/antmicro/testplanner.git
29
+ make verification-docs
30
+
25
31
- name : Build Docs
26
32
run : |
27
33
pushd testplans-template
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ BLOCK_VERIF_DIR := $(COCOTB_VERIF_DIR)/block
15
15
TOP_VERIF_DIR := $(COCOTB_VERIF_DIR ) /top
16
16
TOOL_VERIF_DIR := $(VERIFICATION_DIR ) /tools/
17
17
UVM_VERIF_DIR := $(VERIFICATION_DIR ) /uvm_i3c/
18
+ TESTPLAN_DIR := $(VERIFICATION_DIR ) /testplan
18
19
19
20
TOOL_DIR := $(I3C_ROOT_DIR ) /tools/
20
21
UVM_TOOL_DIR := $(TOOL_DIR ) /uvm/
@@ -132,6 +133,10 @@ tests-uvm-debug: config ## Run debugging I3C Core UVM tests with nox
132
133
tests-tool : # # Run all tool tests
133
134
cd $(TOOL_VERIF_DIR ) && $(PYTHON ) -m nox -k " verify" --no-venv
134
135
136
+ VERIFICATION_PLANS = $(shell find $(TESTPLAN_DIR ) -type f -name "* .hjson" -printf "% P\n")
137
+ verification-docs :
138
+ cd $(TESTPLAN_DIR ) && testplanner $(VERIFICATION_PLANS ) -o $(TESTPLAN_DIR ) /generated
139
+
135
140
#
136
141
# Utilities
137
142
#
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ cocotb-coverage==1.2.0
11
11
cocotb-test == 0.2.5
12
12
cocotbext-axi == 0.1.24
13
13
-e git+https://github.com/alexforencich/cocotbext-i2c@3b32eedc15302f1299a23bb35aa669fffad2ca22#egg=cocotbext_i2c
14
+ git+https://github.com/antmicro/testplanner.git@bbf374a
14
15
-e ${I3C_ROOT_DIR}/third_party/cocotbext-i3c
15
16
-e ${I3C_ROOT_DIR}/tools/nox_utils
16
17
-e ${I3C_ROOT_DIR}/tools/cocotb_helpers
You can’t perform that action at this time.
0 commit comments