mirror of https://github.com/YosysHQ/nextpnr.git
7 lines
274 B
Python
7 lines
274 B
Python
|
|
# 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())
|