3 module svinterface_at_top_tb;
12 logic [15:0] passThrough;
15 logic interfaceInstanceAtTop_setting;
16 logic [2:0] interfaceInstanceAtTop_other_setting;
17 logic [1:0] interfaceInstanceAtTop_mysig_out;
18 logic [15:0] interfaceInstanceAtTop_passThrough;
27 .passThrough(passThrough),
28 .interfaceInstanceAtTop_setting(interfaceInstanceAtTop_setting),
29 .interfaceInstanceAtTop_other_setting(interfaceInstanceAtTop_other_setting),
30 .interfaceInstanceAtTop_mysig_out(interfaceInstanceAtTop_mysig_out),
31 .interfaceInstanceAtTop_passThrough(interfaceInstanceAtTop_passThrough),
44 outfile = $fopen("output.txt");
46 interfaceInstanceAtTop_setting = 0;
53 for(int j=0;j<2;j++) begin
54 for(int i=0;i<20;i++) begin
64 always @(negedge clk) begin
65 $fdisplay(outfile, "%d %d %d %d", outOther, sig_out, passThrough, interfaceInstanceAtTop_mysig_out);