Skip to content

Commit

Permalink
[sival, i2c] Link speed test in testplan
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Reis <[email protected]>
  • Loading branch information
engdoreis committed Jan 23, 2024
1 parent 854b931 commit d27d10b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions hw/top_earlgrey/data/ip/chip_i2c_testplan.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
features: ["I2C.MODE.HOST", "I2C.MODE.TARGET", "I2C.SPEED.STANDARD", "I2C.SPEED.FAST", "I2C.SPEED.FASTPLUS"]
stage: V3
si_stage: SV3
bazel: ["//sw/device/tests/pmod:i2c_host_fram_test"]
tests: []
}
{
Expand Down
8 changes: 8 additions & 0 deletions sw/device/tests/pmod/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

load(
"//rules/opentitan:defs.bzl",
"EARLGREY_SILICON_OWNER_ROM_EXT_ENVS",
"cw310_params",
"opentitan_test",
"silicon_params",
)

package(default_visibility = ["//visibility:public"])
Expand Down Expand Up @@ -315,8 +317,14 @@ opentitan_test(
),
exec_env = {
"//hw/top_earlgrey:fpga_cw310_sival": None,
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": "silicon_owner",
"//hw/top_earlgrey:fpga_cw310_test_rom": None,
},
silicon_owner = silicon_params(
tags = [
"pmod",
], # Requires the PMOD::BoB.
),
deps = [
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//sw/device/lib/arch:device",
Expand Down
1 change: 1 addition & 0 deletions sw/device/tests/sival/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,6 @@ test_suite(
"//sw/device/tests:sram_ctrl_sleep_sram_ret_contents_no_scramble_test",
"//sw/device/tests:sram_ctrl_subword_access_test",
"//sw/device/tests/autogen:alert_test",
"//sw/device/tests/pmod:i2c_host_fram_test",
],
)

0 comments on commit d27d10b

Please sign in to comment.