File: interactive.py

package info (click to toggle)
nextpnr 0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,452 kB
  • sloc: cpp: 197,882; python: 18,478; ansic: 10,271; sh: 748; makefile: 466; tcl: 116; vhdl: 44; objc: 42
file content (6 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (3)
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())