data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl/processing_system7_bfm_v2_0_afi_slave.v
 line:215: before: "integer"
1: b'%Error: data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl/processing_system7_bfm_v2_0_afi_slave.v:91: Cannot find include file: processing_system7_bfm_v2_0_local_params.v\n  `include "processing_system7_bfm_v2_0_local_params.v" \n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl,data/full_repos/permissive/16708890/processing_system7_bfm_v2_0_local_params.v\n             data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl,data/full_repos/permissive/16708890/processing_system7_bfm_v2_0_local_params.v.v\n             data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl,data/full_repos/permissive/16708890/processing_system7_bfm_v2_0_local_params.v.sv\n             processing_system7_bfm_v2_0_local_params.v\n             processing_system7_bfm_v2_0_local_params.v.v\n             processing_system7_bfm_v2_0_local_params.v.sv\n             obj_dir/processing_system7_bfm_v2_0_local_params.v\n             obj_dir/processing_system7_bfm_v2_0_local_params.v.v\n             obj_dir/processing_system7_bfm_v2_0_local_params.v.sv\n%Error: data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl/processing_system7_bfm_v2_0_afi_slave.v:317: syntax error, unexpected \'@\'\n    @(posedge S_ACLK);\n    ^\n%Error: data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl/processing_system7_bfm_v2_0_afi_slave.v:319: syntax error, unexpected \'@\'\n    @(posedge S_ACLK);\n    ^\n%Error: data/full_repos/permissive/16708890/zybo-test1/zybo-test1.srcs/sources_1/bd/design_1/ip/design_1_processing_system7_0_1/hdl/processing_system7_bfm_v2_0_afi_slave.v:327: syntax error, unexpected \'@\'\n     repeat(2) @(posedge S_ACLK);\n               ^\n%Error: Exiting due to 4 error(s)\n'
function [31:0] get_rd_lat_number;
  input dummy;
  reg[1:0] temp;
  begin 
   case(latency_type)
    BEST_CASE   : get_rd_lat_number = afi_rd_min;            
    AVG_CASE    : get_rd_lat_number = afi_rd_avg;            
    WORST_CASE  : get_rd_lat_number = afi_rd_max;            
    default     : begin
                   temp = $random;
                   case(temp) 
                    2'b00   : get_rd_lat_number = ($random()%10+ afi_rd_min); 
                    2'b01   : get_rd_lat_number = ($random()%40+ afi_rd_avg); 
                    default : get_rd_lat_number = ($random()%60+ afi_rd_max); 
                   endcase        
                  end
   endcase
  end
  endfunction
function [31:0] get_rd_lat_number;

  input dummy;
  reg[1:0] temp;
  begin 
   case(latency_type)
    BEST_CASE   : get_rd_lat_number = afi_rd_min;            
    AVG_CASE    : get_rd_lat_number = afi_rd_avg;            
    WORST_CASE  : get_rd_lat_number = afi_rd_max;            
    default     : begin
                   temp = $random;
                   case(temp) 
                    2'b00   : get_rd_lat_number = ($random()%10+ afi_rd_min); 
                    2'b01   : get_rd_lat_number = ($random()%40+ afi_rd_avg); 
                    default : get_rd_lat_number = ($random()%60+ afi_rd_max); 
                   endcase        
                  end
   endcase
  end
  endfunction