mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-08-29 17:38:26 +02:00
python: Add interactive.py for a REPL during PnR
Signed-off-by: David Shah <[email protected]>
This commit is contained in:
@@ -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