nextpnr/python/interactive.py
David Shah 2898d8182d Fix typo
Signed-off-by: David Shah <dave@ds0.me>
2019-11-11 09:44:11 +00:00

7 lines
273 B
Python

# Pass this file to one of the Python script arguments (e.g. --pre-place interactive.py)
# to drop to a 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())