aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-07 08:56:54 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-07 08:56:54 +0200
commitbdd93135823ae1ef293d4be3eb50d0ca6bdeee9e (patch)
tree286f8f2ead78b5b20afd8aa8feaffe7e97df9f7f /python
parentc18f0b1c2286d737f3ace47d4f843ef523ba4b97 (diff)
downloadnextpnr-bdd93135823ae1ef293d4be3eb50d0ca6bdeee9e.tar.gz
nextpnr-bdd93135823ae1ef293d4be3eb50d0ca6bdeee9e.tar.bz2
nextpnr-bdd93135823ae1ef293d4be3eb50d0ca6bdeee9e.zip
Allow loading and running Python files before GUI starts
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'python')
-rw-r--r--python/functions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/functions.py b/python/functions.py
new file mode 100644
index 00000000..4f005456
--- /dev/null
+++ b/python/functions.py
@@ -0,0 +1,2 @@
+def test_function():
+ print("Hello World!")