refactor: separate tech specific code

Make the codebase more PDK-agnostic by moving tech-specific code to `tech.py` and tech specific files (e.g. def files, tile_sizes.yaml) to `tech/<pdkname>` subdirectory.
This commit is contained in:
Uri Shaked
2025-09-13 20:28:48 +03:00
parent c67d54ee54
commit 28fd25f684
57 changed files with 264 additions and 271 deletions
+67
View File
@@ -0,0 +1,67 @@
{
"categories" : [
"AND",
"OR",
"NAND",
"NOR",
"Clock",
"Flip Flops",
"Multiplexer",
"Latch",
"Inverter",
"Buffer",
"Fill",
"Tap",
"Diode",
"Combo Logic",
"Misc"
],
"map" : {
"a21o" : 13,
"a21oi" : 13,
"a22oi" : 13,
"a221oi" : 13,
"and2" : 0,
"and3" : 0,
"and4" : 0,
"antennanp" : 12,
"buf" : 9,
"decap" : 10,
"dfrbp" : 5,
"dlhq" : 7,
"dlhr" : 7,
"dlhrq" : 7,
"dllr" : 7,
"dllrq" : 7,
"dlygate4sd1" : 14,
"dlygate4sd2" : 14,
"dlygate4sd3" : 14,
"ebufn" : 14,
"einvn" : 14,
"fill" : 10,
"inv" : 8,
"lgcp" : 4,
"mux2" : 6,
"mux4" : 6,
"nand2" : 2,
"nand2b" : 2,
"nand3" : 2,
"nand3b" : 2,
"nand4" : 2,
"nor2" : 3,
"nor2b" : 3,
"nor3" : 3,
"nor4" : 3,
"o21ai" : 13,
"or2" : 1,
"or3" : 1,
"or4" : 1,
"sdfbbp" : 5,
"sighold" : 14,
"slgcp" : 4,
"tiehi" : 14,
"tielo" : 14,
"xnor2" : 3,
"xor2" : 1
}
}