Sunday, March 5, 2023

Electra Design Rule - class_class

Example class to class rule for Electra

define (class_class (classes LV HV (rule (limit_way 2000))))

define (class_class (classes LV HV (rule (clearance 300 (type pin_pin)))))
define (class_class (classes LV HV (rule (clearance 300 (type pin_via)))))
define (class_class (classes LV HV (rule (clearance 300 (type pin_wire)))))
define (class_class (classes LV HV (rule (clearance 300 (type pin_smd)))))
define (class_class (classes LV HV (rule (clearance 300 (type pin_area)))))
define (class_class (classes LV HV (rule (clearance 300 (type via_via)))))
define (class_class (classes LV HV (rule (clearance 300 (type via_wire)))))
define (class_class (classes LV HV (rule (clearance 300 (type via_smd)))))
define (class_class (classes LV HV (rule (clearance 300 (type via_area)))))
define (class_class (classes LV HV (rule (clearance 300 (type wire_wire)))))
define (class_class (classes LV HV (rule (clearance 300 (type wire_smd)))))
define (class_class (classes LV HV (rule (clearance 300 (type wire_area)))))
define (class_class (classes LV HV (rule (clearance 300 (type smd_smd)))))
define (class_class (classes LV HV (rule (clearance 300 (type smd_area)))))
define (class_class (classes LV HV (rule (clearance 10 (type area_area)))))
define (class_class (classes LV HV (rule (clearance 5 (type smd_via_same_net)))))

Example class_class_layer

define (class_class (classes LV HV (layer_rule BottomLayer (clearance 150))))


Example for using high cost to minimize routing on a specific layer

cost layer LayerName high (type length)

That's it !

No comments:

Post a Comment