(kicad_sch
  (version 20230121)
  (generator eeschema)
  (uuid 1c98474a-0e23-4a7a-b411-081afb8c79f6)
  (paper "A4")
  (title_block
    (title "Square Wave")
    (company "EETree 电子森林 · CircuitJS 示例转换"))
  (lib_symbols
    (symbol "power:GND"
      (power)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "#PWR"
        (at 0 -6.35 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Value" "GND"
        (at 0 -3.81 0)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "global power"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "GND_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 -1.27)
            (xy 1.27 -1.27)
            (xy 0 -2.54)
            (xy -1.27 -1.27)
            (xy 0 -1.27))
          (stroke (width 0) (type default))
          (fill (type none))))
      (symbol "GND_1_1"
        (pin power_in line hide
          (at 0 0 270)
          (length 0)
          (name "GND" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))))
    (symbol "Device:Memristor"
      (pin_numbers hide)
      (pin_names (offset 0))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "MR"
        (at 2.54 0 90)
        (effects (font (size 1.27 1.27))))
      (property "Value" "Memristor"
        (at -2.54 0 90)
        (effects (font (size 1.27 1.27))))
      (property "Footprint" ""
        (at -1.778 0 90)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "~"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_keywords" "memristor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Memristor"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "Memristor_0_0"
        (polyline
          (pts
            (xy 0 2.54)
            (xy 1.27 2.54)
            (xy 1.27 1.27)
            (xy -1.27 1.27)
            (xy -1.27 0)
            (xy 1.27 0)
            (xy 1.27 -1.27)
            (xy -1.27 -1.27)
            (xy -1.27 -2.54)
            (xy 0 -2.54))
          (stroke (width 0.254) (type default))
          (fill (type none))))
      (symbol "Memristor_1_1"
        (pin passive line
          (at 0 3.81 270)
          (length 1.27)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 0 -3.81 90)
          (length 1.27)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27)))))))
    (symbol "Simulation_SPICE:VPULSE"
      (pin_numbers hide)
      (pin_names (offset 0.0254))
      (in_bom yes)
      (on_board yes)
      (property "Reference" "V"
        (at 2.54 2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Value" "VPULSE"
        (at 2.54 0 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "Footprint" ""
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Independent_Sources_for"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Pins" "1=+ 2=-"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Type" "PULSE"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "Sim.Device" "V"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) (justify left) hide))
      (property "Sim.Params" "y1=0 y2=1 td=2n tr=2n tf=2n tw=50n per=100n"
        (at 2.54 -2.54 0)
        (effects (font (size 1.27 1.27)) (justify left)))
      (property "ki_keywords" "simulation"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (property "ki_description" "Voltage source, pulse"
        (at 0 0 0)
        (effects (font (size 1.27 1.27)) hide))
      (symbol "VPULSE_0_0"
        (polyline
          (pts
            (xy -2.032 -0.762)
            (xy -1.397 -0.762)
            (xy -1.143 0.762)
            (xy -0.127 0.762)
            (xy 0.127 -0.762)
            (xy 1.143 -0.762)
            (xy 1.397 0.762)
            (xy 2.032 0.762))
          (stroke (width 0) (type default))
          (fill (type none)))
        (text "+"
          (at 0 1.905 0)
          (effects (font (size 1.27 1.27)))))
      (symbol "VPULSE_0_1"
        (circle
          (center 0 0)
          (radius 2.54)
          (stroke (width 0.254) (type default))
          (fill (type background))))
      (symbol "VPULSE_1_1"
        (pin passive line
          (at 0 5.08 270)
          (length 2.54)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "1" (effects (font (size 1.27 1.27)))))
        (pin passive line
          (at 0 -5.08 90)
          (length 2.54)
          (name "~" (effects (font (size 1.27 1.27))))
          (number "2" (effects (font (size 1.27 1.27))))))))
  (wire
    (pts (xy 27.94 43.18) (xy 27.94 38.1))
    (stroke (width 0) (type default))
    (uuid 2578e41c-8536-4e79-a70b-e1263bbfc921))
  (wire
    (pts (xy 27.94 50.8) (xy 27.94 55.88))
    (stroke (width 0) (type default))
    (uuid 3913b5fb-982f-48ff-8335-27a8803f2107))
  (symbol
    (lib_id "power:GND")
    (at 27.94 55.88 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 0e55a158-805a-40be-8f8a-8d78250e7474)
    (property "Reference" "#PWR001"
      (at 27.94 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 55.88 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 2d9b1fee-30d0-4376-91a0-320b8786d96e))
    (instances
      (project "mr-square"
        (path "/ba7f6745-2091-4d25-be82-7e55d8bd6e7d"
          (reference "#PWR001")
          (unit 1)))))
  (symbol
    (lib_id "Device:Memristor")
    (at 27.94 46.99 0)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid 811d0a6a-5d3d-4569-9cc9-0f6b81b1a337)
    (property "Reference" "M1"
      (at 31.4325 46.99 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" ""
      (at 27.94 46.99 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 46.99 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 37a8246a-1907-424c-a572-a3c0949718ae))
    (pin "2" (uuid 06324098-a8bb-4e32-875b-9d976155b233))
    (instances
      (project "mr-square"
        (path "/ba7f6745-2091-4d25-be82-7e55d8bd6e7d"
          (reference "M1")
          (unit 1)))))
  (symbol
    (lib_id "Simulation_SPICE:VPULSE")
    (at 27.94 33.02 180)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid f1e3bc96-983a-4ec3-b601-45fa238dbb45)
    (property "Reference" "V1"
      (at 36.5125 32.22625 0)
      (effects (font (size 1.27 1.27))))
    (property "Value" "1V 6.3kHz"
      (at 36.5125 33.81375 0)
      (effects (font (size 1.27 1.27))))
    (property "Footprint" ""
      (at 27.94 33.02 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid e574a25a-6595-41c5-916d-b1812fe03014))
    (pin "2" (uuid aaf7b893-7937-4459-a480-ef99bc5b848d))
    (instances
      (project "mr-square"
        (path "/ba7f6745-2091-4d25-be82-7e55d8bd6e7d"
          (reference "V1")
          (unit 1)))))
  (symbol
    (lib_id "power:GND")
    (at 27.94 27.94 180)
    (unit 1)
    (in_bom yes)
    (on_board yes)
    (dnp no)
    (uuid b7a184d7-a54d-4583-9c52-e250b79654f7)
    (property "Reference" "#PWR002"
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Value" "GND"
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (property "Footprint" ""
      (at 27.94 27.94 0)
      (effects (font (size 1.27 1.27)) hide))
    (pin "1" (uuid 1c2235aa-6f17-42a0-9f0a-2a61311e611e))
    (instances
      (project "mr-square"
        (path "/ba7f6745-2091-4d25-be82-7e55d8bd6e7d"
          (reference "#PWR002")
          (unit 1)))))
  (sheet_instances (path "/" (page "1"))))
