2025-09-26 15:19:48 +02:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module for SystemVerilog 'alias'
|
|
|
|
|
//
|
|
|
|
|
// Alias width check error test.
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain
|
|
|
|
|
// SPDX-FileCopyrightText: 2025 Antmicro
|
2025-09-26 15:19:48 +02:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
|
|
module t ( /*AUTOARG*/
|
|
|
|
|
// Inputs
|
|
|
|
|
clk
|
|
|
|
|
);
|
|
|
|
|
input clk;
|
|
|
|
|
|
|
|
|
|
wire [1:0] a;
|
|
|
|
|
wire [2:0] b;
|
|
|
|
|
|
|
|
|
|
alias a = b;
|
|
|
|
|
|
|
|
|
|
endmodule
|