module: edge_amponly_gen
description: EDGE amplitude-only sig generation.
             2nd version. Filtered. Coded by Min Park 01/08/09
             (converted 10/08/10)
             EDGEamp2.dat file path modified by Min Park 10/22/10
parameters:  double max_amp
inputs:  double_interp clk
outputs:  double out
classes: EdgeDetect pedge_clk() List list1()  
static_variables: double tmp  
init:  
   list1.load("c:/CppSim/SimRuns/Pwm_polar_tx/edge_amponly_gen_tst/EDGEamp2.dat");
   list1.reset();

end:  
code:  
   if( pedge_clk.inp(clk) ){
      tmp=list1.read();
      out=(max_amp/1.4460997)*tmp;
   }

functions:  
custom_classes_definition:  
custom_classes_code:  
