2025-05-17 03:57:52 +02: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: 2025 Zhen Yan
2025-05-17 03:57:52 +02:00
// SPDX-License-Identifier: CC0-1.0
2025-12-21 03:46:43 +01:00
// verilog_format: off
2025-05-17 03:57:52 +02:00
`define stop $stop
`define checkd(gotv, expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__, `__LINE__, (gotv), (expv)); `stop; end while(0);
2025-12-21 03:46:43 +01:00
// verilog_format: on
2025-05-17 03:57:52 +02:00
2026-03-10 02:38:29 +01:00
module top (
out33
) ;
2025-05-17 03:57:52 +02:00
2026-03-10 02:38:29 +01:00
output wire [ 6 : 0 ] out33 ;
2025-05-17 03:57:52 +02:00
2026-03-10 02:38:29 +01:00
assign out33 = ( 7 'o66 < < < 32 'hFFFF _FFFF ) ;
2025-05-17 03:57:52 +02:00
2026-03-10 02:38:29 +01:00
initial begin
# 10 ;
`checkd ( out33 , '0 ) ;
$write ( " *-* All Finished *-* \n " ) ;
$finish ;
end
2025-05-17 03:57:52 +02:00
endmodule