proc SCHEMATIC_test_ds_ord2_candy_1bit {} {
make constant -name xi1 -origin {-590 90}
make constant -name xi2 -origin {-590 -200}
make signal_source -name xi4 -stype 1 -freq 1e3 -origin {-450 -180}
make name_net -name clk -origin {80 -120}
make name_net -name in -origin {80 -200}
make name_net -name clk -origin {470 -120}
make name_net -name clk -origin {800 -120}
make lpf_butter_ord2_w_clk -name xi6 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {630 -170}
make lpf_ord1_w_clk -name xi7 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {950 -170}
make signal_source -name xi3 -freq clk_freq_gl -origin {-450 110}
make name_net -name clk -origin {80 310}
make name_net -name in -origin {80 230}
make name_net -name out_dt -origin {460 -200}
make name_net -name out_dt_filt -origin {1140 -200}
make name_net -name clk -origin {470 310}
make name_net -name clk -origin {800 310}
make lpf_butter_ord2_w_clk -name xi9 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {630 260}
make lpf_ord1_w_clk -name xi10 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {950 260}
make name_net -name out_ct -origin {460 230}
make name_net -name out_ct_filt -origin {1140 230}
make meas_clk_freq -name xi0 -origin {220 80}
make name_net -name clk_freq -origin {380 90}
make gain -name xi5 -gain 0.1 -origin {-220 -200}
make ds_dt_ord2_candy_1bit -name xiadc_dt -origin {270 -170}
make ds_ct_ord2_candy_1bit -name xiadc_ct -origin {260 260}
make sampler_w_delay -name xi8 -origin {-40 -200}
make inv -name xi11 -origin {-230 -60}
  make_wire -320 -200 -260 -200
  make_wire 460 -200 510 -200
  make_wire 510 -120 470 -120
  make_wire 1060 -200 1140 -200
  make_wire 840 -120 800 -120
  make_wire 750 -200 840 -200
  make_wire 460 230 510 230
  make_wire 510 310 470 310
  make_wire 1060 230 1140 230
  make_wire 840 310 800 310
  make_wire 750 230 840 230
  make_wire 300 90 380 90
  make_wire 80 -200 140 -200
  make_wire 400 -200 460 -200
  make_wire 390 230 460 230
  make_wire 130 230 80 230
  make_wire 130 310 80 310
  make_wire 40 90 140 90
  make_wire 40 -120 80 -120
  make_wire 80 -120 140 -120
  make_wire 40 -120 40 90
  make_wire -120 -200 -170 -200
  make_wire 40 -200 80 -200
  make_wire -170 -60 -150 -60
  make_wire -150 -160 -120 -160
  make_wire -150 -160 -150 -60
  make_wire -260 -60 -290 -60
  make_wire -290 -60 -290 90
  make_wire -290 90 -320 90
  make_wire -290 90 40 90
}

