data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp
 line:18: before: "input"
1: b"%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:17: Define or directive not defined: '`mname'\nmodule `mname` (\n       ^~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:17: syntax error, unexpected $undefined, expecting IDENTIFIER or PACKAGE-IDENTIFIER or TYPE-IDENTIFIER\nmodule `mname` (\n             ^\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:25: Unsupported or unknown PLI call: $config_data_width\n  input [`$config_data_width-1`:0] config_data,\n          ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:26: Unsupported or unknown PLI call: $config_addr_width\n  input [`$config_addr_width-1`:0] config_addr,\n          ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:39: Unsupported or unknown PLI call: $num_ios_per_group\n  input  [`$num_ios_per_group-1`:0] f2p_wide_`$side`_`$i`,\n           ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:39: Unsupported or unknown PLI call: $side\n  input  [`$num_ios_per_group-1`:0] f2p_wide_`$side`_`$i`,\n                                              ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:39: Define or directive not defined: '`_'\n  input  [`$num_ios_per_group-1`:0] f2p_wide_`$side`_`$i`,\n                                                   ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:39: Unsupported or unknown PLI call: $i\n  input  [`$num_ios_per_group-1`:0] f2p_wide_`$side`_`$i`,\n                                                      ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:40: Unsupported or unknown PLI call: $num_ios_per_group\n  input  [`$num_ios_per_group-1`:0] f2p_1bit_`$side`_`$i`,\n           ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:40: Unsupported or unknown PLI call: $side\n  input  [`$num_ios_per_group-1`:0] f2p_1bit_`$side`_`$i`,\n                                              ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:40: Define or directive not defined: '`_'\n  input  [`$num_ios_per_group-1`:0] f2p_1bit_`$side`_`$i`,\n                                                   ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:40: Unsupported or unknown PLI call: $i\n  input  [`$num_ios_per_group-1`:0] f2p_1bit_`$side`_`$i`,\n                                                      ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:42: Unsupported or unknown PLI call: $num_ios_per_group\n  inout  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`,\n           ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:42: Unsupported or unknown PLI call: $side\n  inout  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`,\n                                          ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:42: Define or directive not defined: '`_'\n  inout  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`,\n                                               ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:42: Unsupported or unknown PLI call: $i\n  inout  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`,\n                                                  ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:44: Unsupported or unknown PLI call: $num_ios_per_group\n  input  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_in,\n           ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:44: Unsupported or unknown PLI call: $side\n  input  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_in,\n                                          ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:44: Define or directive not defined: '`_'\n  input  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_in,\n                                               ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:44: Unsupported or unknown PLI call: $i\n  input  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_in,\n                                                  ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:44: Define or directive not defined: '`_in'\n  input  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_in,\n                                                    ^~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:45: Unsupported or unknown PLI call: $num_ios_per_group\n  output [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_out,\n           ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:45: Unsupported or unknown PLI call: $side\n  output [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_out,\n                                          ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:45: Define or directive not defined: '`_'\n  output [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_out,\n                                               ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:45: Unsupported or unknown PLI call: $i\n  output [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_out,\n                                                  ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:45: Define or directive not defined: '`_out'\n  output [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_out,\n                                                    ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:47: Unsupported or unknown PLI call: $num_ios_per_group\n  output [`$num_ios_per_group-1`:0] p2f_`$side`_`$i`,\n           ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:47: Unsupported or unknown PLI call: $side\n  output [`$num_ios_per_group-1`:0] p2f_`$side`_`$i`,\n                                         ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:47: Define or directive not defined: '`_'\n  output [`$num_ios_per_group-1`:0] p2f_`$side`_`$i`,\n                                              ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:47: Unsupported or unknown PLI call: $i\n  output [`$num_ios_per_group-1`:0] p2f_`$side`_`$i`,\n                                                 ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:51: Unsupported or unknown PLI call: $config_data_width\n  output reg [`$config_data_width-1`:0] read_data\n               ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:54: syntax error, unexpected $undefined, expecting TYPE-IDENTIFIER\nwire [`$config_data_width-1`:0] read_data_group [`($num_groups_per_side * 4)-1`:0];\n      ^\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:54: Unsupported or unknown PLI call: $config_data_width\nwire [`$config_data_width-1`:0] read_data_group [`($num_groups_per_side * 4)-1`:0];\n       ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:54: Unsupported or unknown PLI call: $num_groups_per_side\nwire [`$config_data_width-1`:0] read_data_group [`($num_groups_per_side * 4)-1`:0];\n                                                   ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:65: Unsupported or unknown PLI call: $io_group_obj\n`$io_group_obj->instantiate()` (\n ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:72: Unsupported or unknown PLI call: $side\n  .f2p_wide(f2p_wide_`$side`_`$i`),\n                      ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:72: Define or directive not defined: '`_'\n  .f2p_wide(f2p_wide_`$side`_`$i`),\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:72: Unsupported or unknown PLI call: $i\n  .f2p_wide(f2p_wide_`$side`_`$i`),\n                              ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:73: Unsupported or unknown PLI call: $side\n  .f2p_1bit(f2p_1bit_`$side`_`$i`),\n                      ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:73: Define or directive not defined: '`_'\n  .f2p_1bit(f2p_1bit_`$side`_`$i`),\n                           ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:73: Unsupported or unknown PLI call: $i\n  .f2p_1bit(f2p_1bit_`$side`_`$i`),\n                              ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:75: Unsupported or unknown PLI call: $side\n  .pads(pads_`$side`_`$i`),\n              ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:75: Define or directive not defined: '`_'\n  .pads(pads_`$side`_`$i`),\n                   ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:75: Unsupported or unknown PLI call: $i\n  .pads(pads_`$side`_`$i`),\n                      ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:77: Unsupported or unknown PLI call: $side\n  .pads_in(pads_`$side`_`$i`_in),\n                 ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:77: Define or directive not defined: '`_'\n  .pads_in(pads_`$side`_`$i`_in),\n                      ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:77: Unsupported or unknown PLI call: $i\n  .pads_in(pads_`$side`_`$i`_in),\n                         ^~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:77: Define or directive not defined: '`_in'\n  .pads_in(pads_`$side`_`$i`_in),\n                           ^~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:78: Unsupported or unknown PLI call: $side\n  .pads_out(pads_`$side`_`$i`_out),\n                  ^~~~~\n%Error: data/full_repos/permissive/209644662/hardware/generator_z/pad_ring/pad_ring.svp:78: Define or directive not defined: '`_'\n  .pads_out(pads_`$side`_`$i`_out),\n                       ^~\n%Error: Exiting due to too many errors encountered; --error-limit=50\n"
module `mname` (
  input clk_pad,
  input reset_pad,
  input tck_pad,
  input tms_pad,
  input tdi_pad,
  input trst_n_pad,
  output tdo_pad,
  input [`$config_data_width-1`:0] config_data,
  input [`$config_addr_width-1`:0] config_addr,
  input config_read,
  input config_write,
  output clk,
  output reset,
  output tck,
  output tdi,
  output tms,
  output trst_n,
  input tdo,



  input  [`$num_ios_per_group-1`:0] f2p_wide_`$side`_`$i`,
  input  [`$num_ios_per_group-1`:0] f2p_1bit_`$side`_`$i`,

  inout  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`,

  input  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_in,
  output [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_out,

  output [`$num_ios_per_group-1`:0] p2f_`$side`_`$i`,



  output reg [`$config_data_width-1`:0] read_data
);

wire [`$config_data_width-1`:0] read_data_group [`($num_groups_per_side * 4)-1`:0];










`$io_group_obj->instantiate()` (
  .clk(clk),
  .reset(reset),
  .config_data(config_data),
  .config_addr(config_addr),
  .config_read(config_read),
  .config_write(config_write),
  .f2p_wide(f2p_wide_`$side`_`$i`),
  .f2p_1bit(f2p_1bit_`$side`_`$i`),

  .pads(pads_`$side`_`$i`),

  .pads_in(pads_`$side`_`$i`_in),
  .pads_out(pads_`$side`_`$i`_out),

  .p2f(p2f_`$side`_`$i`),
  .read_data(read_data_group[`$group`])
);





always @(*) begin
  read_data = 0;
  for (integer i=0; i < `$num_groups_per_side * 4`; i++)
    read_data = read_data | read_data_group[i];
end




`$clk_input_obj->instantiate()` (
  .pad(clk_pad),
  .p2f(clk)
); 



`$reset_input_obj->instantiate()` (
  .pad(reset_pad),
  .p2f(reset)
);
 


`$tck_input_obj->instantiate()` (
  .pad(tck_pad),
  .p2f(tck)
); 



`$tdi_input_obj->instantiate()` (
  .pad(tdi_pad),
  .p2f(tdi)
); 



`$tms_input_obj->instantiate()` (
  .pad(tms_pad),
  .p2f(tms)
); 



`$trst_n_input_obj->instantiate()` (
  .pad(trst_n_pad),
  .p2f(trst_n)
);



`$tdo_output_obj->instantiate()` (
  .pad(tdo_pad),
  .f2p(tdo)
); 
 
endmodule
module `mname` (
  input clk_pad,
  input reset_pad,
  input tck_pad,
  input tms_pad,
  input tdi_pad,
  input trst_n_pad,
  output tdo_pad,
  input [`$config_data_width-1`:0] config_data,
  input [`$config_addr_width-1`:0] config_addr,
  input config_read,
  input config_write,
  output clk,
  output reset,
  output tck,
  output tdi,
  output tms,
  output trst_n,
  input tdo,



  input  [`$num_ios_per_group-1`:0] f2p_wide_`$side`_`$i`,
  input  [`$num_ios_per_group-1`:0] f2p_1bit_`$side`_`$i`,

  inout  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`,

  input  [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_in,
  output [`$num_ios_per_group-1`:0] pads_`$side`_`$i`_out,

  output [`$num_ios_per_group-1`:0] p2f_`$side`_`$i`,



  output reg [`$config_data_width-1`:0] read_data
);


wire [`$config_data_width-1`:0] read_data_group [`($num_groups_per_side * 4)-1`:0];










`$io_group_obj->instantiate()` (
  .clk(clk),
  .reset(reset),
  .config_data(config_data),
  .config_addr(config_addr),
  .config_read(config_read),
  .config_write(config_write),
  .f2p_wide(f2p_wide_`$side`_`$i`),
  .f2p_1bit(f2p_1bit_`$side`_`$i`),

  .pads(pads_`$side`_`$i`),

  .pads_in(pads_`$side`_`$i`_in),
  .pads_out(pads_`$side`_`$i`_out),

  .p2f(p2f_`$side`_`$i`),
  .read_data(read_data_group[`$group`])
);





always @(*) begin
  read_data = 0;
  for (integer i=0; i < `$num_groups_per_side * 4`; i++)
    read_data = read_data | read_data_group[i];
end




`$clk_input_obj->instantiate()` (
  .pad(clk_pad),
  .p2f(clk)
); 



`$reset_input_obj->instantiate()` (
  .pad(reset_pad),
  .p2f(reset)
);
 


`$tck_input_obj->instantiate()` (
  .pad(tck_pad),
  .p2f(tck)
); 



`$tdi_input_obj->instantiate()` (
  .pad(tdi_pad),
  .p2f(tdi)
); 



`$tms_input_obj->instantiate()` (
  .pad(tms_pad),
  .p2f(tms)
); 



`$trst_n_input_obj->instantiate()` (
  .pad(trst_n_pad),
  .p2f(trst_n)
);



`$tdo_output_obj->instantiate()` (
  .pad(tdo_pad),
  .f2p(tdo)
); 
 
endmodule