tinsangbeeping/test_0609_1

This code models a small 10mm x 10mm PCB with a 1kΩ resistor (R1) and a 1000pF capacitor (C1) connected to form a simple RC circuit.

Version
0.0.1
License
unset
Stars
0

efr.tsx

import EFR32Power from "../symbols/efr_t2"

export default () => (
  <board width="50mm" height="50mm">
    <net name="DVDD" role="power" scope="global" />
    <net name="GND" role="ground" scope="global" />
    <net name="RESETN" role="reset" scope="global" />
    {/* // editorSchX={358} */}
    {/* // editorSchY={130} */}
    <EFR32Power
      name="U1C"
      symbolName="EFR32Power"
      symbolBounds="[object Object]"
      schX={17.9}
      schY={6.5}
      schRotation="0deg"
    />
    {/* // editorSchX={128} */}
    {/* // editorSchY={148} */}
    <resistor
      name="R1"
      resistance="NR"
      footprint="0402"
      schX={6.4}
      schY={7.4}
      schRotation="0deg"
    />
    {/* // editorSchX={120} */}
    {/* // editorSchY={194} */}
    <capacitor
      name="C2"
      capacitance="10uF"
      footprint="0402"
      schX={6}
      schY={9.7}
      schRotation="0deg"
    />
    {/* // editorSchX={156} */}
    {/* // editorSchY={194} */}
    <capacitor
      name="C3"
      capacitance="1uF"
      footprint="0402"
      schX={7.8}
      schY={9.7}
      schRotation="0deg"
    />
    {/* // editorSchX={156} */}
    {/* // editorSchY={264} */}
    <capacitor
      name="C8"
      capacitance="10uF"
      footprint="0402"
      schX={7.8}
      schY={13.2}
      schRotation="0deg"
    />
    {/* // editorSchX={196} */}
    {/* // editorSchY={264} */}
    <capacitor
      name="C9"
      capacitance="10nF"
      footprint="0402"
      schX={9.8}
      schY={13.2}
      schRotation="0deg"
    />
    {/* // editorSchX={192} */}
    {/* // editorSchY={350} */}
    <capacitor
      name="C10"
      capacitance="1uF"
      footprint="0402"
      schX={9.6}
      schY={17.5}
      schRotation="0deg"
    />
    {/* // editorSchX={238} */}
    {/* // editorSchY={350} */}
    <capacitor
      name="C11"
      capacitance="100nF"
      footprint="0402"
      schX={11.9}
      schY={17.5}
      schRotation="0deg"
    />
    {/* // editorSchX={632} */}
    {/* // editorSchY={186} */}
    <capacitor
      name="C1"
      capacitance="100nF"
      footprint="0402"
      schX={31.6}
      schY={9.3}
      schRotation="0deg"
    />
    {/* // editorSchX={642} */}
    {/* // editorSchY={120} */}
    <capacitor
      name="C5"
      capacitance="1uF"
      footprint="0402"
      schX={32.1}
      schY={6}
      schRotation="0deg"
    />
    <netlabel net="DVDD" schX={752} schY={314} netRole="power" />
    <netlabel net="GND" schX={370} schY={308} netRole="ground" />
    <netlabel net="RESETN" schX={356} schY={402} netRole="reset" />
    <trace from=".C1 > .pin2" to="net.GND" />
    <trace from=".C10 > .pin1" to="net.DVDD" />
    <trace from=".C11 > .pin1" to=".C10 > .pin1" />
    <trace from=".C11 > .pin2" to=".C10 > .pin2" />
    <trace from=".C2 > .pin2" to=".C3 > .pin2" />
    <trace from=".C2 > .pin2" to="net.GND" />
    <trace from=".C3 > .pin1" to=".C2 > .pin1" />
    <trace from=".C5 > .pin1" to="net.DVDD" />
    <trace from=".C5 > .pin2" to="net.GND" />
    <trace from=".C8 > .pin2" to=".C9 > .pin2" />
    <trace from=".C8 > .pin2" to="net.GND" />
    <trace from=".C9 > .pin1" to=".C8 > .pin1" />
    <trace from=".U1C > .AVDD" to=".C9 > .pin1" />
    <trace from=".U1C > .BODEN" to=".R1 > .pin2" />
    <trace from=".U1C > .DECOUPLE" to=".C1 > .pin1" />
    <trace from=".U1C > .DVDD" to=".C5 > .pin1" />
    <trace from=".U1C > .IOVDD_1" to=".C11 > .pin1" />
    <trace from=".U1C > .IOVDD_2" to=".C11 > .pin1" />
    <trace from=".U1C > .IOVDD_3" to=".C11 > .pin1" />
    <trace from=".U1C > .IOVDD_4" to=".C11 > .pin1" />
    <trace from=".U1C > .VREGVDD" to=".C3 > .pin1" />
    <trace from=".U1C > .VREGVSS_1" to="net.GND" />
    <trace from=".U1C > .VREGVSS_2" to="net.GND" />
    <trace from=".U1C > .VREGVSS_3" to="net.GND" />
    <trace from="net.DVDD" to=".C1 > .pin1" />
    <trace from="net.DVDD" to=".C2 > .pin1" />
    <trace from="net.DVDD" to=".C8 > .pin1" />
    <trace from="net.DVDD" to=".R1 > .pin1" />
    <trace from="net.GND" to=".C10 > .pin2" />
    <trace from="net.RESETN" to=".U1C > .RESETN" />
  </board>
)