diff options
author | David Shah <davey1576@gmail.com> | 2018-12-14 18:29:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 18:29:54 +0000 |
commit | 7fa13295084e65c7824834094abe9c6c3122c4c8 (patch) | |
tree | 79b6bc1d50c75b6b7bb78b5d842d9c75178c4a09 /gui/pythontab.cc | |
parent | 19cffde375fe63e36bfd880727bdc0a04a2ccf32 (diff) | |
parent | e0b4a2eeab91696e54d9ff3acc319d99ab9b96f9 (diff) | |
download | nextpnr-7fa13295084e65c7824834094abe9c6c3122c4c8.tar.gz nextpnr-7fa13295084e65c7824834094abe9c6c3122c4c8.tar.bz2 nextpnr-7fa13295084e65c7824834094abe9c6c3122c4c8.zip |
Merge pull request #180 from YosysHQ/python_execute_gui
Add GUI for executing python file
Diffstat (limited to 'gui/pythontab.cc')
-rw-r--r-- | gui/pythontab.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/pythontab.cc b/gui/pythontab.cc index 80d731e9..827f1907 100644 --- a/gui/pythontab.cc +++ b/gui/pythontab.cc @@ -114,4 +114,6 @@ void PythonTab::clearBuffer() { console->clear(); } void PythonTab::info(std::string str) { console->displayString(str.c_str()); }
+void PythonTab::execute_python(std::string filename) { console->execute_python(filename); }
+
NEXTPNR_NAMESPACE_END
|