3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

Added memory_bram (not functional yet)

This commit is contained in:
Clifford Wolf 2014-12-31 16:53:53 +01:00
parent 1e08621e7e
commit 94e6b70736
4 changed files with 307 additions and 1 deletions

View file

@ -199,7 +199,7 @@ inline void memhasher() { if (memhasher_active) memhasher_do(); }
std::string stringf(const char *fmt, ...) YS_ATTRIBUTE(format(printf, 1, 2));
std::string vstringf(const char *fmt, va_list ap);
int readsome(std::istream &f, char *s, int n);
std::string next_token(std::string &text, const char *sep);
std::string next_token(std::string &text, const char *sep = " \t\r\n");
bool patmatch(const char *pattern, const char *string);
int run_command(const std::string &command, std::function<void(const std::string&)> process_line = std::function<void(const std::string&)>());
std::string make_temp_file(std::string template_str = "/tmp/yosys_XXXXXX");