verilator/test_regress/t/t_pp_circdef_bad.v

15 lines
462 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2011 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0
//
// bug445
// verilog_format: off
`define WIDTH 12
`define SEL_NUM_BITS `WIDTH-`SEL_NUM_BITS +: `SEL_NUM_BITS
`define SEL_BITS `WIDTH-`SEL_NUM_BITS +: `SEL_NUM_BITS
`define ADDR_BITS 0 +: `WIDTH-`SEL_NUM_BITS
typedef logic [`SEL_NUM_BITS-1:0] d_t;