File: interactive.py

package info (click to toggle)
nextpnr 0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 40,064 kB
  • sloc: cpp: 176,747; python: 18,011; ansic: 10,558; pascal: 1,367; sh: 383; makefile: 223; vhdl: 44; objc: 42; tcl: 41
file content (6 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
# 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())