blob: cbb88ad4bd1ed420271462f5f2618edd61ea2964 [file] [log] [blame] [edit]
module pli_test;
wire [15:0] a = 16'h4321;
wire [ 7:0] b = a[15:8];
integer rc;
initial
begin
$display("Passing parameter to PLI routine: 0x%x",a[15:8]);
rc = $pli_test(a[15:8]);
$display("Passing parameter to PLI routine: 0x%x",b);
rc = $pli_test(b);
end
endmodule