<@U0172QZ342D>: You can use OpenLane to do that, s...
# mpw-one-clean-short
@User: You can use OpenLane to do that, starting rc7 (going to the v0.x). You can run it interactively:
Copy code
./flow.tcl -it
package require openlane
set ::env(TAKE_LAYOUT_SCROT) 1
set ::env(KLAYOUT_TECH) <point to the .lyt file in the open_pdks/sky130/klayout directory or the sky130A/libs.tech/klayout>
set ::env(klayout_log_file_tag) <where to print the logs>
set ::env(TERMINAL_OUTPUT) /dev/null
scrot_klayout -layout <point to your layout>
You can control the width and height of the image by changing these values: https://github.com/efabless/openlane/blob/b5b0cc5542a2f4cfcc2656823da89b857d35c9ae/scripts/klayout/scrotLayout.py#L19 https://github.com/efabless/openlane/blob/b5b0cc5542a2f4cfcc2656823da89b857d35c9ae/scripts/klayout/scrotLayout.py#L20 They are not exposed as configuration variables at the moment.
👍 1