mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-07 19:56:44 +02:00
split out basic suite tests with refs to new core suite
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
module example(
|
||||
input wire [7:0] inp,
|
||||
output wire [7:0] out
|
||||
);
|
||||
assign out = ~inp;
|
||||
endmodule
|
||||
|
||||
module top;
|
||||
reg [7:0] arr1 [1:0];
|
||||
reg [7:0] arr2 [1:0][1:0];
|
||||
wire [7:0] out1, out2;
|
||||
example e1(arr1[0], out1);
|
||||
example e2(arr2[0][0], out2);
|
||||
initial begin
|
||||
#1 arr1[0] = 8'hAD;
|
||||
#1 arr2[0][0] = 8'h42;
|
||||
end
|
||||
endmodule
|
||||
Reference in New Issue
Block a user