def METHOD_NAME(
    verilog_src: SourceType.String, data_path: SourceType.Path
):
    """
    Read input verilog to see if `icarus-verilog.data` needs to be set.
    """
    # If verilog.data exists, do nothing
    if not data_path.data and "readmemh" in verilog_src:
        raise errors.MissingDynamicConfiguration("verilog.data")