2023-12-20 01:22:54 +01:00
// DESCRIPTION: Verilator: Verilog Test module
//
2026-01-27 02:24:34 +01:00
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2005 Wilson Snyder
2023-12-20 01:22:54 +01:00
// SPDX-License-Identifier: CC0-1.0
`define STRINGIFY(x) `"x`"
2025-12-21 03:46:43 +01:00
// verilog_format: off
2023-12-20 01:22:54 +01:00
`define stop $stop
2025-12-21 03:46:43 +01:00
`define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0)
// verilog_format: on
2023-12-20 01:22:54 +01:00
module t ( /*AUTOARG*/
// Outputs
out_data
) ;
output [ 11 : 0 ] out_data ;
wire [ 11 : 0 ] out_data ;
wire [ 11 : 0 ] a ;
wire [ 2 : 0 ] b ;
assign a = 12 'h000 * * { b } ;
assign b = 3 'b0 ;
assign out_data = a ;
endmodule