2006-08-26 11:35:28 +00:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
//
|
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
|
|
// without warranty, 2003 by Wilson Snyder.
|
|
|
|
|
2008-08-06 21:09:33 +00:00
|
|
|
// Also check that SystemC is ordering properly
|
|
|
|
// verilator lint_on IMPERFECTSCH
|
|
|
|
|
2006-08-26 11:35:28 +00:00
|
|
|
module t (/*AUTOARG*/
|
2008-09-23 13:35:00 +00:00
|
|
|
// Outputs
|
|
|
|
o1, o8, o16, o32, o64, o65,
|
2006-08-26 11:35:28 +00:00
|
|
|
// Inputs
|
2008-09-23 13:35:00 +00:00
|
|
|
clk, i1, i8, i16, i32, i64, i65
|
2006-08-26 11:35:28 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
input clk;
|
|
|
|
|
|
|
|
input i1;
|
|
|
|
input [7:0] i8;
|
|
|
|
input [15:0] i16;
|
|
|
|
input [31:0] i32;
|
|
|
|
input [63:0] i64;
|
|
|
|
input [64:0] i65;
|
|
|
|
|
|
|
|
output o1;
|
|
|
|
output [7:0] o8;
|
|
|
|
output [15:0] o16;
|
|
|
|
output [31:0] o32;
|
|
|
|
output [63:0] o64;
|
|
|
|
output [64:0] o65;
|
|
|
|
|
|
|
|
always @ (posedge clk) begin
|
|
|
|
o1 <= i1;
|
|
|
|
o8 <= i8;
|
|
|
|
o16 <= i16;
|
|
|
|
o32 <= i32;
|
|
|
|
o64 <= i64;
|
|
|
|
o65 <= i65;
|
|
|
|
end
|
|
|
|
|
|
|
|
endmodule
|