proc SCHEMATIC_test_ds_ct_ord2_candy_mbit {} {
make constant -name xi1 -origin {-350 30}
make constant -name xi2 -origin {-350 -200}
make name_net -name clk -origin {110 -120}
make name_net -name in -origin {110 -200}
make name_net -name clk -origin {660 -80}
make name_net -name clk -origin {990 -80}
make lpf_butter_ord2_w_clk -name xi6 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {820 -130}
make lpf_ord1_w_clk -name xi7 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {1140 -130}
make signal_source -name xi3 -freq clk_freq_gl -origin {-210 50}
make name_net -name out_4bit -origin {500 -200}
make name_net -name out_4bit_filt -origin {1320 -160}
make ds_ct_ord2_candy_mbit -name xiadc_4bit -clk_freq clk_freq_gl -origin {300 -170}
make gain -name xi0 -gain 1/15 -origin {600 -160}
make name_net -name clk -origin {110 240}
make name_net -name in -origin {110 160}
make name_net -name clk -origin {660 280}
make name_net -name clk -origin {990 280}
make lpf_butter_ord2_w_clk -name xi9 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {820 230}
make lpf_ord1_w_clk -name xi10 -fp adc_bw_gl -sample_freq clk_freq_gl -origin {1140 230}
make name_net -name out_int_4bit -origin {500 -160}
make gain -name xi5 -gain 0.5 -origin {20 -200}
make signal_source -name xi4 -stype 1 -freq 1e3 -origin {-210 -180}
make name_net -name out_2bit -origin {500 160}
make name_net -name out_int_2bit -origin {500 200}
make gain -name xi11 -gain 1/3 -origin {600 200}
make name_net -name out_2bit_filt -origin {1320 200}
make ds_ct_ord2_candy_mbit -name xiadc_2bit -num_bits 2 -clk_freq clk_freq_gl -origin {300 190}
  make_wire -80 -200 -20 -200
  make_wire 700 -80 660 -80
  make_wire 1250 -160 1320 -160
  make_wire 1030 -80 990 -80
  make_wire 940 -160 1030 -160
  make_wire 70 -200 110 -200
  make_wire 110 -200 170 -200
  make_wire -80 30 70 30
  make_wire 430 -200 500 -200
  make_wire 70 -120 110 -120
  make_wire 110 -120 170 -120
  make_wire 500 -160 430 -160
  make_wire 560 -160 500 -160
  make_wire 650 -160 700 -160
  make_wire 70 -120 70 30
  make_wire 110 160 170 160
  make_wire 110 240 170 240
  make_wire 700 280 660 280
  make_wire 1250 200 1320 200
  make_wire 1030 280 990 280
  make_wire 940 200 1030 200
  make_wire 430 160 500 160
  make_wire 500 200 430 200
  make_wire 560 200 500 200
  make_wire 650 200 700 200
}

