data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v
1: b'%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:1: Cannot find include file: anton_common.vh\n`include "anton_common.vh" \n         ^~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/143344034/hdl,data/full_repos/permissive/143344034/anton_common.vh\n             data/full_repos/permissive/143344034/hdl,data/full_repos/permissive/143344034/anton_common.vh.v\n             data/full_repos/permissive/143344034/hdl,data/full_repos/permissive/143344034/anton_common.vh.sv\n             anton_common.vh\n             anton_common.vh.v\n             anton_common.vh.sv\n             obj_dir/anton_common.vh\n             obj_dir/anton_common.vh.v\n             obj_dir/anton_common.vh.sv\n%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:9: Define or directive not defined: \'`BUFFER_END_DEFAULT\'\n  parameter BUFFER_END = `BUFFER_END_DEFAULT,  \n                         ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:9: syntax error, unexpected \',\', expecting TYPE-IDENTIFIER\n  parameter BUFFER_END = `BUFFER_END_DEFAULT,  \n                                            ^\n%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:14: Define or directive not defined: \'`RESET_DELAY_DEFAULT\'\n  parameter RESET_DELAY = `RESET_DELAY_DEFAULT\n                          ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:15: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n)(\n^\n%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:38: syntax error, unexpected assign\n  assign apbPready  = 1\'d1;  \n  ^~~~~~\n%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:47: syntax error, unexpected IDENTIFIER\n  anton_neopixel_module #(\n  ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143344034/hdl/anton_neopixel_apb_top.v:48: Define or directive not defined: \'`SANITIZE_BUFFER_END\'\n    .BUFFER_END(`SANITIZE_BUFFER_END(BUFFER_END))\n                ^~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 8 error(s)\n'
module anton_neopixel_apb_top #(


  parameter BUFFER_END = `BUFFER_END_DEFAULT,




  parameter RESET_DELAY = `RESET_DELAY_DEFAULT
)(
  input         clk6_4mhz,
  input         syncStart,
  output        neoData,
  output        neoState,

  input         apbPenable,
  input  [15:0] apbPaddr,
  input  [7:0]  apbPwData,
  input         apbPclk,
  input         apbPselx,
  input         apbPresern,
  input         apbPwrite,

  output [7:0]  apbPrData,
  output        apbPready,
  output        apbPslverr
);

  wire        wrEnable;
  wire        rdEnable;
  wire [13:0] address;

  assign apbPready  = 1'd1;
  assign apbPslverr = 1'd0;
  
  assign wrEnable   = (apbPenable && apbPwrite && apbPselx);
  assign rdEnable   = (!apbPwrite && apbPselx);
  assign address    = apbPaddr[15:2];

  reg [2:0]  testUnit;

  anton_neopixel_module #(
    .BUFFER_END(`SANITIZE_BUFFER_END(BUFFER_END))
  ) neopixel(
    .clk6_4mhz(clk6_4mhz),
    .syncStart(syncStart),
    .neoData(neoData),
    .neoState(neoState),
    .busAddr(address),
    .busDataIn(apbPwData),
    .busClk(apbPclk),
    .busWrite(wrEnable),
    .busRead(rdEnable),
    .busDataOut(apbPrData)
  );

endmodule
module anton_neopixel_apb_top #(


  parameter BUFFER_END = `BUFFER_END_DEFAULT,




  parameter RESET_DELAY = `RESET_DELAY_DEFAULT
)(
  input         clk6_4mhz,
  input         syncStart,
  output        neoData,
  output        neoState,

  input         apbPenable,
  input  [15:0] apbPaddr,
  input  [7:0]  apbPwData,
  input         apbPclk,
  input         apbPselx,
  input         apbPresern,
  input         apbPwrite,

  output [7:0]  apbPrData,
  output        apbPready,
  output        apbPslverr
);


  wire        wrEnable;
  wire        rdEnable;
  wire [13:0] address;

  assign apbPready  = 1'd1;
  assign apbPslverr = 1'd0;
  
  assign wrEnable   = (apbPenable && apbPwrite && apbPselx);
  assign rdEnable   = (!apbPwrite && apbPselx);
  assign address    = apbPaddr[15:2];

  reg [2:0]  testUnit;

  anton_neopixel_module #(
    .BUFFER_END(`SANITIZE_BUFFER_END(BUFFER_END))
  ) neopixel(
    .clk6_4mhz(clk6_4mhz),
    .syncStart(syncStart),
    .neoData(neoData),
    .neoState(neoState),
    .busAddr(address),
    .busDataIn(apbPwData),
    .busClk(apbPclk),
    .busWrite(wrEnable),
    .busRead(rdEnable),
    .busDataOut(apbPrData)
  );

endmodule