proc SCHEMATIC_test_ds_dt_ord2_ord3_1bit_vs_input_ampl {} {
make constant -name xi1 -origin {-610 30}
make constant -name xi2 -origin {-610 -200}
make signal_source -name xi4 -stype 1 -freq 1e3 -origin {-470 -180}
make name_net -name clk -origin {100 -120}
make name_net -name in -origin {100 -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 {-470 50}
make ds_dt_ord2_candy_1bit -name xiadc_dt -origin {270 -170}
make name_net -name out_ord2 -origin {460 -200}
make name_net -name out_ord2_filt -origin {1140 -200}
make name_net -name clk -origin {470 280}
make name_net -name clk -origin {800 280}
make name_net -name out_ord3_filt -origin {1140 200}
make name_net -name out_ord3 -origin {460 200}
make name_net -name clk -origin {90 280}
make name_net -name in -origin {90 200}
make lpf_butter_ord2_w_clk -name xi8 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {630 230}
make lpf_butter_ord2_w_clk -name xi11 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {960 230}
make ds_dt_ord3_1bit -name xi12 -origin {270 230}
make gain -name xi5 -gain amp_in_gl -origin {-220 -200}
make sampler_w_delay -name xi0 -origin {-20 -200}
make inv -name xi9 -origin {-230 -60}
  make_wire -340 -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 100 -200 140 -200
  make_wire 400 -200 460 -200
  make_wire 460 200 510 200
  make_wire 510 280 470 280
  make_wire 840 280 800 280
  make_wire 750 200 840 200
  make_wire 400 200 460 200
  make_wire 1080 200 1140 200
  make_wire 90 200 140 200
  make_wire 90 280 140 280
  make_wire 30 -120 100 -120
  make_wire 100 -120 140 -120
  make_wire -100 -200 -170 -200
  make_wire 60 -200 100 -200
  make_wire 30 -120 30 30
  make_wire -260 -60 -300 -60
  make_wire -170 -60 -120 -60
  make_wire -120 -160 -100 -160
  make_wire -120 -160 -120 -60
  make_wire -340 30 -300 30
  make_wire -300 30 30 30
  make_wire -300 -60 -300 30
}

