module top;
   electrical ground;


// textfixture.template contains user stimulus.
   `include "testfixture.template"

   pll  I3 (ground, global$$.\vdd! , ground, global$$.\vdd! , global$$.\vdd!
    , chpbias, ground, pllout, refclk, reset, vcobias);
   amsPeriod  I7 (pllout, period);

//Spice primitive instantiations
   analog begin
      $spice_prim(".import vdd!");
      $spice_prim("I4  0 vcobias  DC='biasvco' ");
      $spice_prim("I2  chpbias 0  DC='chpbias' ");
      $spice_prim("VI5  refclk 0 pulse 0 'vdd' 2e-08 1e-09 1e-09 2e-08");
      $spice_prim("+ 4e-08  ");
      $spice_prim("V1  reset 0 pwl 0 'vdd' 1e-08 'vdd' 1.1e-08 0  ");
      $spice_prim("VI6  vdd! 0  DC='vdd' ");
      $spice_prim("R0  period 0  1M ");
   end
//end Spice primitive instantiations

endmodule
