Skip to content

Commit

Permalink
Added differential taper parametric search
Browse files Browse the repository at this point in the history
  • Loading branch information
williamyang98 committed Feb 4, 2025
1 parent 754eef5 commit 54ba5af
Show file tree
Hide file tree
Showing 18 changed files with 3,506 additions and 2 deletions.
33 changes: 33 additions & 0 deletions simulations/differential_taper/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# gerber2ems outputs
ems/
ems_*/
output/
variants*/

# For PCBs designed using KiCad: https://www.kicad.org/
# Format documentation: https://kicad.org/help/file-formats/

# Temporary files
*.000
*.bak
*.bck
*.kicad_pcb-bak
*.kicad_sch-bak
*-backups
*.kicad_prl
*.sch-bak
*~
_autosave-*
*.tmp
*-save.pro
*-save.kicad_pcb
fp-info-cache
~*.lck
\#auto_saved_files#

# Netlist files (exported from Eeschema)
*.net

# Autorouter files (exported from Pcbnew)
*.dsn
*.ses
39 changes: 39 additions & 0 deletions simulations/differential_taper/differential.kicad_dru
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
(version 1)
(rule "Pad clearance"
(condition "A.type == 'pad'")
(constraint clearance (min 0.01mm))
)

(rule "Track clearance"
(condition "A.type == 'track' && B.type == 'track'")
(constraint clearance (min 0.01mm))
)

(rule "Track clearance"
(condition "A.type == 'track' && B.type == 'Via'")
(constraint clearance (min 0.01mm))
)

(rule "Track clearance"
(condition "A.type == 'Zone' && B.type == 'Via'")
(constraint clearance (min 0.01mm))
)

(rule "Zone Min Width Rule"
(condition "A.Type == 'Zone' && A.NetClass != B.NetClass")
(constraint physical_clearance (min 0.01mm))
(constraint track_width (min 0.01mm))
)

(rule "Annular via width"
(condition "A.NetClass != B.NetClass")
(constraint annular_width (min 0.01mm))
(constraint hole_clearance (min 0.01mm))
(constraint hole_to_hole (min 0.01mm))
(constraint physical_hole_clearance (min 0.01mm))
)

(rule "Prevent Via to Ground Plane"
(constraint zone_connection none)
(condition "A.Type == 'Via' && B.Type == 'Zone'")
)
Loading

0 comments on commit 54ba5af

Please sign in to comment.