| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| module ${dut.name}_bind_fpv; |
| <% params = dut.get_param_style("parameter") %> |
| bind ${dut.name} ${dut.name}_assert_fpv #( |
| % for k, param in enumerate(params): |
| <% comma = "" if (k == len(params)-1) else "," %> .${param.name}(${param.name})${comma} |
| ) i_${dut.name}_assert_fpv ( |
| bind ${dut.name} ${dut.name}_assert_fpv i_${dut.name}_assert_fpv ( |
| % for k, port in enumerate(dut.ports): |
| <% comma = "" if (k == len(dut.ports)-1) else "," %> .${port.name}${comma} |
| bind ${dut.name} tlul_assert #( |
| bind ${dut.name} ${dut.name}_csr_assert_fpv i_${dut.name}_csr_assert_fpv ( |
| endmodule : ${dut.name}_bind_fpv |