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

Added YosysJS wrapper

This commit is contained in:
Clifford Wolf 2015-02-16 12:41:48 +01:00
parent 0748ef638d
commit 33e80b96c7
6 changed files with 273 additions and 5 deletions

View file

@ -93,7 +93,9 @@ void run(const char *command)
const char *prompt()
{
return create_prompt(yosys_get_design(), 0);
const char *p = create_prompt(yosys_get_design(), 0);
while (*p == '\n') p++;
return p;
}
#else /* EMSCRIPTEN */