| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| |
| // This adds interfaces that enable error injection in selected modules. |
| module top_earlgrey_error_injection_ifs_bind; |
| |
| // This is used to inject count errors in clkmgr. |
| bind tb.dut.top_earlgrey.u_clkmgr_aon.u_clk_main_aes_trans.u_idle_cnt prim_count_if |
| prim_count_if(.*); |
| // This is used to inject reset consistency errors in rstmgr. |
| bind rstmgr_leaf_rst rstmgr_cnsty_fault_if rstmgr_cnsty_fault_if (.*); |
| // This is used to inject host_gnt error in flash_ctrl. |
| bind tb.dut.top_earlgrey.u_flash_ctrl.u_eflash.gen_flash_cores[1].u_core |
| flash_ctrl_host_gnt_fault_if flash_ctrl_host_gnt_fault_if (.*); |
| endmodule |