<@U06H50VMDPU> Can we find a klayout or magic deck...
# chipignite
t
@Anton Maurovic (efabless support) Can we find a klayout or magic deck with updated rules somewhere ? Including the new density limits.
d
@tnt We should be able to make the rules public. I added to my topic list for today. I'll post back when I have more information.
👌 1
t
Great thanks.
d
@tnt Here are the new DRC rules. This is pulled from a bash script I run them with. FILE=$1 TOP_CELL=$2 INPUT_GDS=$FILE OUTPUT_PATH=$RUN_DIR LOG_PATH=$RUN_DIR tech_mr=sky130A_mr.drc echo "" echo "Running FEOL" klayout -b \ -r $tech_mr \ -rd input=$INPUT_GDS \ -rd topcell=$TOP_CELL \ -rd report=${OUTPUT_PATH}/klayout_feol_check.xml \ -rd thr=12 \ -rd feol=true >& ${LOG_PATH}/klayout_feol_check.log echo "Running BEOL" klayout -b \ -r $tech_mr \ -rd input=$INPUT_GDS \ -rd topcell=$TOP_CELL \ -rd report=${OUTPUT_PATH}/klayout_beol_check.xml \ -rd thr=12 \ -rd beol=true >& ${LOG_PATH}/klayout_beol_check.log echo "Running Offgrid" klayout -b \ -r $tech_mr \ -rd input=$INPUT_GDS \ -rd topcell=$TOP_CELL \ -rd report=${OUTPUT_PATH}/klayout_offgrid_check.xml \ -rd thr=12 \ -rd offgrid=true >& ${LOG_PATH}/klayout_offgrid_check.log
Here are the density rule decks. I run them similar to the above script. You might have to pass
step=70
to klayout.
t
@David Lindley Thanks !
@David Lindley Mmm, that sky130A_mr.drc is the same as in mpw_precheck AFAICT, so I don't see anything in there aboit HVI 0.84u min width and the 0.38u nwell overlap of lvtn.
d
Those two rules are extras not in the drawn layers.
t
wdym not in drawn layers ? They're not drawn in magic, but (1) they are in klayout and (2) it's not a rare occasion for magic to generate some layers wrong and needing
MASKHINTS_xxx
fixups, I gotta do that for PSDM/NSDM half the time ... so finding out those issue early is pretty important if they're going to end up causing the final design to be rejected.
d
@tnt there are rules that apply to combination of layers that are not public. I am not at liberty to describe these rules more than that at this time. We are working to get this changed, but that’s the situation now. By making those changes in TT08 blocks downstream errors were fixed.