2020-04-28 00:38:30 +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: 2020 Wilson Snyder
|
2020-04-28 00:38:30 +02:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
2025-09-13 15:28:43 +02:00
|
|
|
module t;
|
2026-03-08 23:26:40 +01:00
|
|
|
wire signed [16:0] fft_oQ[6:0];
|
|
|
|
|
round round (.i_data(fft_oQ[6:0]));
|
2020-04-28 00:38:30 +02:00
|
|
|
endmodule
|
2026-03-08 23:26:40 +01:00
|
|
|
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]}}};
|
2020-04-28 00:38:30 +02:00
|
|
|
endmodule
|