data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl/processing_system7_bfm_v2_0_axi_slave.v
 line:215: before: "integer"
1: b'%Error: data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl/processing_system7_bfm_v2_0_axi_slave.v:91: Cannot find include file: processing_system7_bfm_v2_0_5_local_params.v\n  `include "processing_system7_bfm_v2_0_5_local_params.v" \n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl,data/full_repos/permissive/161931498/processing_system7_bfm_v2_0_5_local_params.v\n             data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl,data/full_repos/permissive/161931498/processing_system7_bfm_v2_0_5_local_params.v.v\n             data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl,data/full_repos/permissive/161931498/processing_system7_bfm_v2_0_5_local_params.v.sv\n             processing_system7_bfm_v2_0_5_local_params.v\n             processing_system7_bfm_v2_0_5_local_params.v.v\n             processing_system7_bfm_v2_0_5_local_params.v.sv\n             obj_dir/processing_system7_bfm_v2_0_5_local_params.v\n             obj_dir/processing_system7_bfm_v2_0_5_local_params.v.v\n             obj_dir/processing_system7_bfm_v2_0_5_local_params.v.sv\n%Error: data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl/processing_system7_bfm_v2_0_axi_slave.v:294: syntax error, unexpected \'@\'\n     repeat(2) @(posedge S_ACLK);\n               ^\n%Error: data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl/processing_system7_bfm_v2_0_axi_slave.v:393: syntax error, unexpected \'@\'\n    @(posedge S_ACLK);\n    ^\n%Error: data/full_repos/permissive/161931498/project/DMA_video/Miz_sys.ip_user_files/ipstatic/processing_system7_bfm_v2_0/hdl/processing_system7_bfm_v2_0_axi_slave.v:395: syntax error, unexpected \'@\'\n    @(posedge S_ACLK);\n    ^\n%Error: Exiting due to 4 error(s)\n'
function [axi_rsp_width-1:0] calculate_resp;
  input rd_wr;
  input [addr_width-1:0] awaddr; 
  input [axi_prot_width-1:0] awprot;
  reg [axi_rsp_width-1:0] rsp;
  begin
    rsp = AXI_OK;

    if(decode_address(awaddr) === INVALID_MEM_TYPE) begin
     rsp = AXI_SLV_ERR;
     $display("[%0d] : %0s : %0s : AXI Access to Invalid location(0x%0h) ",$time, DISP_ERR, slave_name, awaddr);
    end
    if(!rd_wr && decode_address(awaddr) === REG_MEM) begin
     rsp = AXI_SLV_ERR;
     $display("[%0d] : %0s : %0s : AXI Write to Register Map(0x%0h) is not supported ",$time, DISP_ERR, slave_name, awaddr);
    end
    if(secure_access_enabled && awprot[1])
     rsp = AXI_DEC_ERR;
    calculate_resp = rsp;
  end
  endfunction
function [axi_rsp_width-1:0] calculate_resp;

  input rd_wr;
  input [addr_width-1:0] awaddr; 
  input [axi_prot_width-1:0] awprot;
  reg [axi_rsp_width-1:0] rsp;
  begin
    rsp = AXI_OK;

    if(decode_address(awaddr) === INVALID_MEM_TYPE) begin
     rsp = AXI_SLV_ERR;
     $display("[%0d] : %0s : %0s : AXI Access to Invalid location(0x%0h) ",$time, DISP_ERR, slave_name, awaddr);
    end
    if(!rd_wr && decode_address(awaddr) === REG_MEM) begin
     rsp = AXI_SLV_ERR;
     $display("[%0d] : %0s : %0s : AXI Write to Register Map(0x%0h) is not supported ",$time, DISP_ERR, slave_name, awaddr);
    end
    if(secure_access_enabled && awprot[1])
     rsp = AXI_DEC_ERR;
    calculate_resp = rsp;
  end
  endfunction