mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-25 19:57:13 +00:00
python: Add interactive.py for a REPL during PnR
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
6
python/interactive.py
Normal file
6
python/interactive.py
Normal file
@@ -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())
|
||||
Reference in New Issue
Block a user