18 lines
507 B
Systemverilog
18 lines
507 B
Systemverilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
// SPDX-FileCopyrightText: 2020 Wilson Snyder
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
module t;
|
|
wire signed [16:0] fft_oQ [6:0];
|
|
round round(
|
|
.i_data(fft_oQ[6:0])
|
|
);
|
|
endmodule
|
|
module round(
|
|
input wire signed [16:0] i_data // Misdeclared, not a vector
|
|
);
|
|
wire signed [15:0] w_convergent = {10'b0, {6{~i_data[7]}}};
|
|
endmodule
|