pflib v2.7.0-1-gd371ab6a
Polarfire Interaction Library
pftool.h
1#ifndef PFTOOL_H
2#define PFTOOL_H
3
4#include <stdio.h>
5#include <stdlib.h>
6#include <sys/time.h>
7#include <algorithm>
8#include <fstream>
9#include <iostream>
10#include <sstream>
11#include <map>
12#include <iomanip>
13#include <stdlib.h>
14#include <unistd.h>
15#include <string>
16#include <exception>
17#include "pflib/PolarfireTarget.h"
18#include "pflib/Compile.h" // for parameter listing
19#ifdef PFTOOL_ROGUE
20#include "pflib/rogue/RogueWishboneInterface.h"
21#endif
22#ifdef PFTOOL_UHAL
23#include "pflib/uhal/uhalWishboneInterface.h"
24#endif
25#include "Menu.h"
26#include "Rcfile.h"
32bool file_exists(const std::string& fname);
33
38
44static std::string last_run_file;
45
46#endif /* PFTOOL_H */
Definition of compiling and decompiling functions between page numbers, register numbers,...
A menu to execute commands with a specific target.
Definition: Menu.h:210
bool file_exists(const std::string &fname)
Check if a file exists by attempting to open it for reading.
Definition: pftool.cc:29