data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp
 line:13: before: "parameter"
1: b"%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:12: Define or directive not defined: '`mname'\nmodule `mname`  #(\n       ^~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:12: syntax error, unexpected $undefined, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER\nmodule `mname`  #(\n             ^\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:14: syntax error, unexpected ')', expecting ';'\n) (\n^\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:23: Unsupported or unknown PLI call: $H\n  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in0,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:23: Unsupported or unknown PLI call: $N\n  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in0,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:24: Unsupported or unknown PLI call: $W\n  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in1,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:24: Unsupported or unknown PLI call: $N\n  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in1,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:25: Unsupported or unknown PLI call: $H\n  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in2,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:25: Unsupported or unknown PLI call: $N\n  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in2,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:26: Unsupported or unknown PLI call: $W\n  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in3,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:26: Unsupported or unknown PLI call: $N\n  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in3,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:28: Unsupported or unknown PLI call: $H\n  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out0,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:28: Unsupported or unknown PLI call: $N\n  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out0,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:29: Unsupported or unknown PLI call: $W\n  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out1,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:29: Unsupported or unknown PLI call: $N\n  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out1,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:30: Unsupported or unknown PLI call: $H\n  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out2,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:30: Unsupported or unknown PLI call: $N\n  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out2,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:31: Unsupported or unknown PLI call: $W\n  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out3,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:31: Unsupported or unknown PLI call: $N\n  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out3,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:34: Unsupported or unknown PLI call: $H\n  input        [`$H-1`:0][`$N-1`:0]              pin_in0_p,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:34: Unsupported or unknown PLI call: $N\n  input        [`$H-1`:0][`$N-1`:0]              pin_in0_p,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:35: Unsupported or unknown PLI call: $W\n  input        [`$W-1`:0][`$N-1`:0]              pin_in1_p,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:35: Unsupported or unknown PLI call: $N\n  input        [`$W-1`:0][`$N-1`:0]              pin_in1_p,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:36: Unsupported or unknown PLI call: $H\n  input        [`$H-1`:0][`$N-1`:0]              pin_in2_p,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:36: Unsupported or unknown PLI call: $N\n  input        [`$H-1`:0][`$N-1`:0]              pin_in2_p,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:37: Unsupported or unknown PLI call: $W\n  input        [`$W-1`:0][`$N-1`:0]              pin_in3_p,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:37: Unsupported or unknown PLI call: $N\n  input        [`$W-1`:0][`$N-1`:0]              pin_in3_p,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:39: Unsupported or unknown PLI call: $H\n  output logic [`$H-1`:0][`$N-1`:0]              pin_out0_p,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:39: Unsupported or unknown PLI call: $N\n  output logic [`$H-1`:0][`$N-1`:0]              pin_out0_p,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:40: Unsupported or unknown PLI call: $W\n  output logic [`$W-1`:0][`$N-1`:0]              pin_out1_p,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:40: Unsupported or unknown PLI call: $N\n  output logic [`$W-1`:0][`$N-1`:0]              pin_out1_p,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:41: Unsupported or unknown PLI call: $H\n  output logic [`$H-1`:0][`$N-1`:0]              pin_out2_p,\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:41: Unsupported or unknown PLI call: $N\n  output logic [`$H-1`:0][`$N-1`:0]              pin_out2_p,\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:42: Unsupported or unknown PLI call: $W\n  output logic [`$W-1`:0][`$N-1`:0]              pin_out3_p\n                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:42: Unsupported or unknown PLI call: $N\n  output logic [`$W-1`:0][`$N-1`:0]              pin_out3_p\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:134: syntax error, unexpected $undefined, expecting TYPE-IDENTIFIER\nlogic [`$N-1`:0][Width - 1:0] out0_`$x+1`_`$y`;\n       ^\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:134: Unsupported or unknown PLI call: $N\nlogic [`$N-1`:0][Width - 1:0] out0_`$x+1`_`$y`;\n        ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:134: Unsupported or unknown PLI call: $x\nlogic [`$N-1`:0][Width - 1:0] out0_`$x+1`_`$y`;\n                                    ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:134: Define or directive not defined: '`_'\nlogic [`$N-1`:0][Width - 1:0] out0_`$x+1`_`$y`;\n                                        ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:134: Unsupported or unknown PLI call: $y\nlogic [`$N-1`:0][Width - 1:0] out0_`$x+1`_`$y`;\n                                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:135: syntax error, unexpected $undefined, expecting TYPE-IDENTIFIER\nlogic [`$N-1`:0]              out0_p_`$x+1`_`$y`;\n       ^\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:135: Unsupported or unknown PLI call: $N\nlogic [`$N-1`:0]              out0_p_`$x+1`_`$y`;\n        ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:135: Unsupported or unknown PLI call: $x\nlogic [`$N-1`:0]              out0_p_`$x+1`_`$y`;\n                                      ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:135: Define or directive not defined: '`_'\nlogic [`$N-1`:0]              out0_p_`$x+1`_`$y`;\n                                          ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:135: Unsupported or unknown PLI call: $y\nlogic [`$N-1`:0]              out0_p_`$x+1`_`$y`;\n                                             ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:136: syntax error, unexpected $undefined, expecting TYPE-IDENTIFIER\nlogic [`$N-1`:0][Width - 1:0] out2_`$x`_`$y`;\n       ^\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:136: Unsupported or unknown PLI call: $N\nlogic [`$N-1`:0][Width - 1:0] out2_`$x`_`$y`;\n        ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:136: Unsupported or unknown PLI call: $x\nlogic [`$N-1`:0][Width - 1:0] out2_`$x`_`$y`;\n                                    ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:136: Define or directive not defined: '`_'\nlogic [`$N-1`:0][Width - 1:0] out2_`$x`_`$y`;\n                                      ^~\n%Error: data/full_repos/permissive/209644662/hardware/unused/array/rtl/test_top.svp:136: Unsupported or unknown PLI call: $y\nlogic [`$N-1`:0][Width - 1:0] out2_`$x`_`$y`;\n                                         ^~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n"
module `mname`  #(
  parameter Width   = 16
) (
  input               clk,
  input               rst_n,

  input        [15:0] cfg_d,
  input        [15:0] cfg_a,
  input               cfg_en,


  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in0,
  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in1,
  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in2,
  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in3,

  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out0,
  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out1,
  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out2,
  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out3,


  input        [`$H-1`:0][`$N-1`:0]              pin_in0_p,
  input        [`$W-1`:0][`$N-1`:0]              pin_in1_p,
  input        [`$H-1`:0][`$N-1`:0]              pin_in2_p,
  input        [`$W-1`:0][`$N-1`:0]              pin_in3_p,

  output logic [`$H-1`:0][`$N-1`:0]              pin_out0_p,
  output logic [`$W-1`:0][`$N-1`:0]              pin_out1_p,
  output logic [`$H-1`:0][`$N-1`:0]              pin_out2_p,
  output logic [`$W-1`:0][`$N-1`:0]              pin_out3_p
);


























































































logic [`$N-1`:0][Width - 1:0] out0_`$x+1`_`$y`;
logic [`$N-1`:0]              out0_p_`$x+1`_`$y`;
logic [`$N-1`:0][Width - 1:0] out2_`$x`_`$y`;
logic [`$N-1`:0]              out2_p_`$x`_`$y`;



logic [`$N-1`:0][Width - 1:0] out1_`$x`_`$y+1`;
logic [`$N-1`:0]              out1_p_`$x`_`$y+1`;
logic [`$N-1`:0][Width - 1:0] out3_`$x`_`$y`;
logic [`$N-1`:0]              out3_p_`$x`_`$y`;





`$tile->mname()` #(.Width(Width)) `$tile->iname()`
(
  .clk      (clk),
  .rst_n    (rst_n),


  .cfg_d    (cfg_d),
  .cfg_a    (cfg_a[9:0]),
  .cfg_en   (cfg_en  & (cfg_a[15:10]==(`($x+1)*($y+1)`))),

  .in0      (`$in0`),
  .in1      (`$in1`),
  .in2      (`$in2`),
  .in3      (`$in3`),

  .out0     (`$out0`),
  .out1     (`$out1`),
  .out2     (`$out2`),
  .out3     (`$out3`),

  .in0_p    (`$in0_p`),
  .in1_p    (`$in1_p`),
  .in2_p    (`$in2_p`),
  .in3_p    (`$in3_p`),

  .out0_p   (`$out0_p`),
  .out1_p   (`$out1_p`),
  .out2_p   (`$out2_p`),
  .out3_p   (`$out3_p`)
);






endmodule
module `mname`  #(
  parameter Width   = 16
) (
  input               clk,
  input               rst_n,

  input        [15:0] cfg_d,
  input        [15:0] cfg_a,
  input               cfg_en,


  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in0,
  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in1,
  input        [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_in2,
  input        [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_in3,

  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out0,
  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out1,
  output logic [`$H-1`:0][`$N-1`:0][Width - 1:0] pin_out2,
  output logic [`$W-1`:0][`$N-1`:0][Width - 1:0] pin_out3,


  input        [`$H-1`:0][`$N-1`:0]              pin_in0_p,
  input        [`$W-1`:0][`$N-1`:0]              pin_in1_p,
  input        [`$H-1`:0][`$N-1`:0]              pin_in2_p,
  input        [`$W-1`:0][`$N-1`:0]              pin_in3_p,

  output logic [`$H-1`:0][`$N-1`:0]              pin_out0_p,
  output logic [`$W-1`:0][`$N-1`:0]              pin_out1_p,
  output logic [`$H-1`:0][`$N-1`:0]              pin_out2_p,
  output logic [`$W-1`:0][`$N-1`:0]              pin_out3_p
);



























































































logic [`$N-1`:0][Width - 1:0] out0_`$x+1`_`$y`;
logic [`$N-1`:0]              out0_p_`$x+1`_`$y`;
logic [`$N-1`:0][Width - 1:0] out2_`$x`_`$y`;
logic [`$N-1`:0]              out2_p_`$x`_`$y`;



logic [`$N-1`:0][Width - 1:0] out1_`$x`_`$y+1`;
logic [`$N-1`:0]              out1_p_`$x`_`$y+1`;
logic [`$N-1`:0][Width - 1:0] out3_`$x`_`$y`;
logic [`$N-1`:0]              out3_p_`$x`_`$y`;





`$tile->mname()` #(.Width(Width)) `$tile->iname()`
(
  .clk      (clk),
  .rst_n    (rst_n),


  .cfg_d    (cfg_d),
  .cfg_a    (cfg_a[9:0]),
  .cfg_en   (cfg_en  & (cfg_a[15:10]==(`($x+1)*($y+1)`))),

  .in0      (`$in0`),
  .in1      (`$in1`),
  .in2      (`$in2`),
  .in3      (`$in3`),

  .out0     (`$out0`),
  .out1     (`$out1`),
  .out2     (`$out2`),
  .out3     (`$out3`),

  .in0_p    (`$in0_p`),
  .in1_p    (`$in1_p`),
  .in2_p    (`$in2_p`),
  .in3_p    (`$in3_p`),

  .out0_p   (`$out0_p`),
  .out1_p   (`$out1_p`),
  .out2_p   (`$out2_p`),
  .out3_p   (`$out3_p`)
);






endmodule