| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| // dofile for LEC script lec_sv2v |
| //----------------------------------------------------------------- |
| // read in golden (SystemVerilog) and revised (Verilog) |
| //----------------------------------------------------------------- |
| // black box all instantiated modules (so only top-module is used) |
| set undefined cell black_box |
| read design -golden -sv09 \ |
| $LEC_DIR/prim_assert.sv \ |
| read design -revised -verilog \ |
| //----------------------------------------------------------------- |
| //----------------------------------------------------------------- |
| //----------------------------------------------------------------- |
| //----------------------------------------------------------------- |
| set parallel option -threads 4 |
| analyze datapath -merge -verbose -effort ultra |
| //----------------------------------------------------------------- |
| //----------------------------------------------------------------- |
| report compare data -class nonequivalent -class abort -class notcompared |
| report verification -verbose |