2012-02-24 02:37:49 +00:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
//
|
2020-03-21 15:24:24 +00:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
|
|
// any use, without warranty, 2011 by Wilson Snyder.
|
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2012-02-24 02:37:49 +00:00
|
|
|
//
|
|
|
|
// bug445
|
|
|
|
|
|
|
|
`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;
|