| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| # RDC stands for reset domain crossing. This script uses Meridian RDC, |
| # which is an RDC linting tool. |
| # Usage: To run rdc_lint on module foo, type |
| # Here are three examples: |
| # rdc_lint prim_fifo_async |
| # set LINT_TOP env variable |
| # use fusesoc to generate file list |
| fusesoc --cores-root .. run --target=sim --setup --build formal > /dev/null 2>&1 |
| mrdc -i rdc_lint.tcl -wait -log rdc.log |