mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
22 lines
429 B
Verilog
22 lines
429 B
Verilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2010 by Wilson Snyder.
|
|
|
|
interface ifc;
|
|
logic [3:0] value;
|
|
logic reset;
|
|
modport counter_mp (input reset, output value);
|
|
modport core_mp (output reset, input value);
|
|
endinterface
|
|
|
|
module t
|
|
(// Inputs
|
|
input clk,
|
|
ifc.counter_mp c_data
|
|
);
|
|
|
|
integer cyc=1;
|
|
|
|
endmodule
|