Skip to content

I can't find the path of the file in the testbench. #4

Description

@GXY1207

The code in xql6/kernel/q6_paged_tb
where is this dat?

int main (int argc, char* argv[])
{
#if 0
// hard to use in HLS due to different cwd. Hardcoding data file instead.
if (argc != 2) {
std::cout << "Usage tup tupdata.dat" << std::endl;
return 100;
}

//std::string fnme = "tupdata.dat";
std::string fnme (argv [1]);
#endif
std::string fnme ("/wrk/xsjhdnobkup4/parik/pgdb/hls/host/tupdata.dat");
FILE *fp = fopen (fnme. c_str (), "rb");
if (!fp) {
std::cout << "Failed to open file " << fnme << std::endl;
return 100;
}
Host host (fp);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions