Skip to content

Commit 4ff6e03

Browse files
committed
[test] Use HyperDebug for most CW310 tests
The only tests which do not use HyperDebug are the PMOD tests. Signed-off-by: James Wainwright <[email protected]>
1 parent dc0f483 commit 4ff6e03

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -448,26 +448,26 @@ jobs:
448448
# CW310 FPGA jobs.
449449
execute_test_rom_fpga_tests_cw310:
450450
name: CW310 Test ROM Tests
451-
needs: chip_earlgrey_cw310
451+
needs: chip_earlgrey_cw310_hyperdebug
452452
uses: ./.github/workflows/fpga.yml
453453
secrets: inherit
454454
with:
455455
job_name: execute_test_rom_fpga_tests_cw310
456-
bitstream: chip_earlgrey_cw310
456+
bitstream: chip_earlgrey_cw310_hyperdebug
457457
board: cw310
458-
interface: cw310
458+
interface: hyper310
459459
tag_filters: cw310_test_rom
460460

461461
execute_rom_fpga_tests_cw310:
462462
name: CW310 ROM Tests
463-
needs: chip_earlgrey_cw310
463+
needs: chip_earlgrey_cw310_hyperdebug
464464
uses: ./.github/workflows/fpga.yml
465465
secrets: inherit
466466
with:
467467
job_name: execute_rom_fpga_tests_cw310
468-
bitstream: chip_earlgrey_cw310
468+
bitstream: chip_earlgrey_cw310_hyperdebug
469469
board: cw310
470-
interface: cw310
470+
interface: hyper310
471471
tag_filters: "cw310_rom_with_fake_keys,cw310_rom_with_real_keys,-manuf"
472472
timeout: 90
473473

.github/workflows/nightly.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,43 +48,43 @@ jobs:
4848

4949
execute_fpga_cw310_test_rom_tests:
5050
name: CW310 Test ROM Tests
51-
needs: chip_earlgrey_cw310
51+
needs: chip_earlgrey_cw310_hyperdebug
5252
uses: ./.github/workflows/fpga.yml
5353
secrets: inherit
5454
with:
5555
job_name: execute_fpga_cw310_test_rom_tests
56-
bitstream: chip_earlgrey_cw310
56+
bitstream: chip_earlgrey_cw310_hyperdebug
5757
board: cw310
58-
interface: cw310
58+
interface: hyper310
5959
tag_filters: cw310_test_rom,-broken,-manual
6060
add_default_filters: false
6161
cache_test_results: false
6262

6363
execute_fpga_cw310_rom_tests:
6464
name: CW310 ROM Tests
65-
needs: chip_earlgrey_cw310
65+
needs: chip_earlgrey_cw310_hyperdebug
6666
uses: ./.github/workflows/fpga.yml
6767
secrets: inherit
6868
with:
6969
job_name: execute_fpga_cw310_rom_tests
70-
bitstream: chip_earlgrey_cw310
70+
bitstream: chip_earlgrey_cw310_hyperdebug
7171
board: cw310
72-
interface: cw310
72+
interface: hyper310
7373
tag_filters: cw310_rom_with_fake_keys,-broken,-manual
7474
add_default_filters: false
7575
cache_test_results: false
7676
timeout: 240
7777

7878
execute_fpga_cw310_rom_ext_tests:
7979
name: CW310 ROM_EXT Tests
80-
needs: chip_earlgrey_cw310
80+
needs: chip_earlgrey_cw310_hyperdebug
8181
uses: ./.github/workflows/fpga.yml
8282
secrets: inherit
8383
with:
8484
job_name: execute_fpga_cw310_rom_ext_tests
85-
bitstream: chip_earlgrey_cw310
85+
bitstream: chip_earlgrey_cw310_hyperdebug
8686
board: cw310
87-
interface: cw310
87+
interface: hyper310
8888
tag_filters: cw310_rom_ext,-broken,-manual
8989
add_default_filters: false
9090
cache_test_results: false

hw/top_earlgrey/BUILD

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,12 @@ fpga_cw310(
9393
"//conditions:default": [],
9494
}),
9595
base = ":fpga_cw310",
96-
base_bitstream = "//hw/bitstream:bitstream",
96+
base_bitstream = "//hw/bitstream/hyperdebug:bitstream",
9797
exec_env = "fpga_cw310_test_rom",
98-
mmi = "//hw/bitstream:cw310_mmi",
99-
openocd_adapter_config = "//third_party/openocd:jtag_olimex_cfg",
98+
mmi = "//hw/bitstream/hyperdebug:mmi",
10099
otp = "//hw/top_earlgrey/data/otp:img_rma",
101100
param = {
102-
"interface": "cw310",
101+
"interface": "hyper310",
103102
"exit_success": DEFAULT_TEST_SUCCESS_MSG,
104103
"exit_failure": DEFAULT_TEST_FAILURE_MSG,
105104
},
@@ -162,7 +161,7 @@ fpga_cw310(
162161
manifest = "//sw/device/silicon_owner:manifest",
163162
otp = "//sw/device/silicon_creator/rom_ext/e2e:otp_img_secret2_locked_rma",
164163
param = {
165-
"interface": "cw310",
164+
"interface": "hyper310",
166165
"exit_success": DEFAULT_TEST_SUCCESS_MSG,
167166
"exit_failure": DEFAULT_TEST_FAILURE_MSG,
168167
"assemble": "{rom_ext}@0 {firmware}@0x10000",

0 commit comments

Comments
 (0)