KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_setup_rules_help_5examples.h File Reference

Go to the source code of this file.

Functions

 _HKI ("### Examples\n" "\n" " (version 1)\n" "\n" " (rule HV\n" " (constraint clearance (min 1.5mm))\n" " (condition \"A.hasNetclass('HV')\"))\n" "\n" "\n" " (rule HV\n" " (layer outer)\n" " (constraint clearance (min 1.5mm))\n" " (condition \"A.hasNetclass('HV')\"))\n" "\n" "\n" " (rule HV_HV\n" " # wider clearance between HV tracks\n" " (constraint clearance (min \"1.5mm + 2.0mm\"))\n" " (condition \"A.hasNetclass('HV') && B.hasNetclass('HV')\"))\n" "\n" "\n" " (rule HV_unshielded\n" " (constraint clearance (min 2mm))\n" " (condition \"A.hasNetclass('HV') && !A.enclosedByArea('Shield*')\"))\n" "\n" "\n" " (rule heavy_thermals\n" " (constraint thermal_spoke_width (min 0.5mm))\n" " (condition \"A.hasNetclass('HV')\"))\n" "\n" " # Total routed length across every net in chain SIG_A\n" " (rule sig_group_length\n" " (constraint net_chain_length (min 40mm) (max 60mm))\n" " (condition \"A.Net.NetChain == 'SIG_A'\") )\n" "\n" " # Total propagation delay across every net in chain CLK_GRP\n" " (rule sig_group_delay\n" " (constraint net_chain_length (min 180ps) (max 220ps) (time_domain yes))\n" " (condition \"A.Net.NetChain == 'CLK_GRP'\") )\n" "\n" " # --- Net chain rules: multi-net signals through series passives ---\n" "\n" " # Same effect as sig_group_length, scoped via inNetChain() instead.\n" " (rule \"DDR_DQ chain length\"\n" " (constraint net_chain_length (min 40mm) (max 60mm))\n" " (condition \"A.inNetChain('DDR_DQ*')\") )\n" "\n" " # Stub branches off the trunk of any DDR chain may not exceed 2 mm.\n" " (rule \"DDR stub length\"\n" " (constraint stub_length (max 2mm))\n" " (condition \"A.inNetChain('DDR_*')\") )\n" "\n" " # Every chain in the HighSpeed class needs an unbroken B.Cu return.\n" " (rule \"HS return path\"\n" " (constraint return_path (layer \"B.Cu\"))\n" " (condition \"A.inNetChainClass('HighSpeed')\") )\n" "\n" " # Tighter clearance for any net that belongs to a chain.\n" " (rule \"chain members tighter clearance\"\n" " (constraint clearance (min 0.2mm))\n" " (condition \"A.hasNetChain()\") )\n" "<br><br>\n" "\n" "\n" "")
 

Function Documentation

◆ _HKI()

_HKI ( "### Examples\n" "\n" " (version 1)\n" "\n" " (rule HV\n" " (constraint clearance (min 1.5mm))\n" " (condition \"A.hasNetclass('HV')\"))\n" "\n" "\n" " (rule HV\n" " (layer outer)\n" " (constraint clearance (min 1.5mm))\n" " (condition \"A.hasNetclass('HV')\"))\n" "\n" "\n" " (rule HV_HV\n" " # wider clearance between HV tracks\n" " (constraint clearance (min \"1.5mm + 2.0mm\"))\n" " (condition \"A.hasNetclass('HV') && B.hasNetclass('HV')\"))\n" "\n" "\n" " (rule HV_unshielded\n" " (constraint clearance (min 2mm))\n" " (condition \"A.hasNetclass('HV') && !A.enclosedByArea('Shield*')\"))\n" "\n" "\n" " (rule heavy_thermals\n" " (constraint thermal_spoke_width (min 0.5mm))\n" " (condition \"A.hasNetclass('HV')\"))\n" "\n" " # Total routed length across every net in chain SIG_A\n" " (rule sig_group_length\n" " (constraint net_chain_length (min 40mm) (max 60mm))\n" " (condition \"A.Net.NetChain == 'SIG_A'\") )\n" "\n" " # Total propagation delay across every net in chain CLK_GRP\n" " (rule sig_group_delay\n" " (constraint net_chain_length (min 180ps) (max 220ps) (time_domain yes))\n" " (condition \"A.Net.NetChain == 'CLK_GRP'\") )\n" "\n" " # --- Net chain rules: multi-net signals through series passives ---\n" "\n" " # Same effect as sig_group_length,
scoped via inNetChain() instead.\n" "(rule \"DDR_DQ chain length\"\n" " (constraint net_chain_length (min 40mm) (max 60mm))\n" " (condition \"A.inNetChain('DDR_DQ*')\") )\n" "\n" " # Stub branches off the trunk of any DDR chain may not exceed 2 mm.\n" " (rule \"DDR stub length\"\n" " (constraint stub_length (max 2mm))\n" " (condition \"A.inNetChain('DDR_*')\") )\n" "\n" " # Every chain in the HighSpeed class needs an unbroken B.Cu return.\n" " (rule \"HS return path\"\n" " (constraint return_path (layer \"B.Cu\"))\n" " (condition \"A.inNetChainClass('HighSpeed')\") )\n" "\n" " # Tighter clearance for any net that belongs to a chain.\n" " (rule \"chain members tighter clearance\"\n" " (constraint clearance (min 0.2mm))\n" " (condition \"A.hasNetChain()\") )\n" "<br><br>\n" "\n" "\n" ""  )