forked from github/verilator
29 lines
573 B
Systemverilog
29 lines
573 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
// any use, without warranty, 2020 by Wilson Snyder.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module t (/*AUTOARG*/
|
|
// Outputs
|
|
ov,
|
|
// Inputs
|
|
clk, iv
|
|
);
|
|
|
|
parameter N = 4;
|
|
|
|
input clk;
|
|
input [63:0] iv[N-1:0];
|
|
output logic [63:0] ov[N-1:0];
|
|
|
|
genvar i;
|
|
generate
|
|
always @(posedge clk) begin
|
|
for (i=0; i<N; i=i+1) begin
|
|
ov[i] <= iv[i];
|
|
end
|
|
end
|
|
endgenerate
|
|
endmodule
|