13 lines
304 B
Systemverilog
13 lines
304 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
// any use, without warranty, 2023 by Geza Lore.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module top(
|
|
input wire [1:0] i,
|
|
output wire [3:0] o
|
|
);
|
|
assign o = 4'd2 ** i;
|
|
endmodule
|