2021-11-26 16:51:11 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
|
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
|
|
|
// any use, without warranty, 2021 by Michael Lefebvre.
|
2023-01-21 02:42:30 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2021-11-26 16:51:11 +01:00
|
|
|
|
2025-08-30 13:42:41 +02:00
|
|
|
module t;
|
2021-11-26 16:51:11 +01:00
|
|
|
|
2025-08-30 13:42:41 +02:00
|
|
|
localparam int unsigned A3[2:0] = '{4, 5, 6};
|
2021-11-26 16:51:11 +01:00
|
|
|
|
2025-08-30 13:42:41 +02:00
|
|
|
// slicesel out of range should fail
|
|
|
|
|
localparam int unsigned B32_T[1:0] = A3[3:1];
|
2021-11-26 16:51:11 +01:00
|
|
|
|
|
|
|
|
endmodule
|