From 0cbc25f74aab1c08463e3bdbc5eb62fc4767a802 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 11 Nov 2019 09:42:22 +0000 Subject: python: Add interactive.py for a REPL during PnR Signed-off-by: David Shah --- python/interactive.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 python/interactive.py diff --git a/python/interactive.py b/python/interactive.py new file mode 100644 index 00000000..c8c359f0 --- /dev/null +++ b/python/interactive.py @@ -0,0 +1,6 @@ +# Pass this file to one of the Python script arguments (e.g. --pre-place interactive.py) +# to drop to an command-line interactive Python session in the middle of place and route + +import code +print("Press Ctrl+D to finish interactive session") +code.interact(local=locals()) -- cgit v1.2.3