| #################################################################################################### |
| ## Copyright lowRISC contributors. ## |
| ## Licensed under the Apache License, Version 2.0, see LICENSE for details. ## |
| ## SPDX-License-Identifier: Apache-2.0 ## |
| #################################################################################################### |
| ## Makefile option groups that can be enabled by test Makefile / command line. ## |
| ## These are generic set of option groups that apply to all testbenches. ## |
| ## These are meant to be simulator agnostic ## |
| ## Please add tool specific options with appropriate ifeq's ## |
| #################################################################################################### |
| # uvm specific - set default widths |
| BUILD_OPTS += +define+UVM_NO_DEPRECATED |
| BUILD_OPTS += +define+UVM_REGEX_NO_DPI |
| BUILD_OPTS += +define+UVM_REG_ADDR_WIDTH=${TL_AW} |
| BUILD_OPTS += +define+UVM_REG_DATA_WIDTH=${TL_DW} |
| BUILD_OPTS += +define+UVM_REG_BYTENABLE_WIDTH=${TL_DBW} |
| # Enable UVM trace options |
| RUN_OPTS += +UVM_PHASE_TRACE |
| RUN_OPTS += +UVM_CONFIG_DB_TRACE |
| RUN_OPTS += +UVM_OBJECTION_TRACE |
| # Options for generating waves / debugging. |
| # Enable simulation profiling |