2019-11-02 21:35:50 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
2020-03-21 16:24:24 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
|
|
|
// any use, without warranty, 2019 by Wilson Snyder.
|
|
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2019-11-02 21:35:50 +01:00
|
|
|
// ======================================================================
|
|
|
|
|
|
2025-12-21 03:46:43 +01:00
|
|
|
module sub #(
|
|
|
|
|
parameter type TYPE_t = logic
|
|
|
|
|
) (
|
|
|
|
|
input TYPE_t in,
|
|
|
|
|
output TYPE_t out
|
|
|
|
|
);
|
2019-11-02 21:35:50 +01:00
|
|
|
|
2025-07-04 02:43:13 +02:00
|
|
|
// Some simple logic
|
|
|
|
|
always_comb out = ~in;
|
2019-11-02 21:35:50 +01:00
|
|
|
|
|
|
|
|
endmodule
|