data/full_repos/permissive/138961980/powlib_ip.v
Syntax Error
1: b'%Error: data/full_repos/permissive/138961980/powlib_ip.v:5: Cannot find include file: powlib_std.vh\n`include "powlib_std.vh" \n         ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/138961980,data/full_repos/permissive/138961980/powlib_std.vh\n             data/full_repos/permissive/138961980,data/full_repos/permissive/138961980/powlib_std.vh.v\n             data/full_repos/permissive/138961980,data/full_repos/permissive/138961980/powlib_std.vh.sv\n             powlib_std.vh\n             powlib_std.vh.v\n             powlib_std.vh.sv\n             obj_dir/powlib_std.vh\n             obj_dir/powlib_std.vh.v\n             obj_dir/powlib_std.vh.sv\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:6: Cannot find include file: powlib_ip.vh\n`include "powlib_ip.vh" \n         ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:31: Cannot find include file: powlib_std.vh\n`include "powlib_std.vh" \n         ^~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:32: Cannot find include file: powlib_ip.vh\n`include "powlib_ip.vh" \n         ^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:9: Define or directive not defined: \'`POWLIB_BW\'\n  localparam                  B_DW    = `POWLIB_BW*B_BPD;\n                                        ^~~~~~~~~~\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:9: syntax error, unexpected \'*\', expecting TYPE-IDENTIFIER\n  localparam                  B_DW    = `POWLIB_BW*B_BPD;\n                                                  ^\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:11: Define or directive not defined: \'`POWLIB_OPW\'\n  localparam                  B_OPW   = `POWLIB_OPW;\n                                        ^~~~~~~~~~~\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:11: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  localparam                  B_OPW   = `POWLIB_OPW;\n                                                   ^\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:35: Define or directive not defined: \'`POWLIB_BW\'\n  localparam                  B_DW                  = `POWLIB_BW*B_BPD;\n                                                      ^~~~~~~~~~\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:35: syntax error, unexpected \'*\', expecting TYPE-IDENTIFIER\n  localparam                  B_DW                  = `POWLIB_BW*B_BPD;\n                                                                ^\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:37: Define or directive not defined: \'`POWLIB_OPW\'\n  localparam                  B_OPW                 = `POWLIB_OPW;\n                                                      ^~~~~~~~~~~\n%Error: data/full_repos/permissive/138961980/powlib_ip.v:37: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n  localparam                  B_OPW                 = `POWLIB_OPW;\n                                                                 ^\n%Error: Exiting due to 12 error(s)\n'
module powlib_ippackintr0(rddata,wrdata,wrbe,wrop);

`include "powlib_std.vh"
`include "powlib_ip.vh"

  parameter                   B_BPD                 = 4;
  localparam                  B_DW                  = `POWLIB_BW*B_BPD;
  localparam                  B_BEW                 = B_BPD;
  localparam                  B_OPW                 = `POWLIB_OPW;
  localparam                  OFF_0                 = 0;
  localparam                  OFF_1                 = OFF_0+B_DW;
  localparam                  OFF_2                 = OFF_1+B_BEW;
  localparam                  OFF_3                 = OFF_2+B_OPW;
  localparam                  B_WW                  = OFF_3;
 
  output     wire [B_WW-1:0]  rddata;
  input      wire [B_DW-1:0]  wrdata;
  input      wire [B_BEW-1:0] wrbe;  
  input      wire [B_OPW-1:0] wrop;
  assign                      rddata[OFF_0+:B_DW]  = wrdata;
  assign                      rddata[OFF_1+:B_BEW] = wrbe;
  assign                      rddata[OFF_2+:B_OPW] = wrop;

endmodule
module powlib_ippackintr0(rddata,wrdata,wrbe,wrop);


`include "powlib_std.vh"
`include "powlib_ip.vh"

  parameter                   B_BPD                 = 4;
  localparam                  B_DW                  = `POWLIB_BW*B_BPD;
  localparam                  B_BEW                 = B_BPD;
  localparam                  B_OPW                 = `POWLIB_OPW;
  localparam                  OFF_0                 = 0;
  localparam                  OFF_1                 = OFF_0+B_DW;
  localparam                  OFF_2                 = OFF_1+B_BEW;
  localparam                  OFF_3                 = OFF_2+B_OPW;
  localparam                  B_WW                  = OFF_3;
 
  output     wire [B_WW-1:0]  rddata;
  input      wire [B_DW-1:0]  wrdata;
  input      wire [B_BEW-1:0] wrbe;  
  input      wire [B_OPW-1:0] wrop;
  assign                      rddata[OFF_0+:B_DW]  = wrdata;
  assign                      rddata[OFF_1+:B_BEW] = wrbe;
  assign                      rddata[OFF_2+:B_OPW] = wrop;

endmodule