uW_mS2P2CITI — Generate a CITIfile from a S2P directory
uW_mS2P2CITI(MEAS_directory,CITI_filename)
String parameter : path of the MEAS directory including the last separator where the S2P are located.
String parameter : filename of the CITI file including the path for Agilent ADS.
This function transform several S2P files (IV network) in a CITIfile for ADS.
S2P file has to include bias values V1, V2, I1 and I2 in comments lines as follow :
! V1=-0.2001011 V2=0.1083563 I1=0.0002171 I2=0.0502052
# HZ S MA R 50
500000000.000000 0.996478 -19.403742 0.199965 167.375826 0.005543 80.119670 0.922611 179.368600
598750000.000000 0.996207 -23.162786 0.207032 165.094030 0.006742 78.820613 0.923241 179.331301
...
dir_meas="C:\PUBLIC\IV-test\"; filename_citi="c:\test2.citi"; uW_mS2P2CITI(dir_meas,filename_citi); // Then you can use this CITIfile in ADS as follow // Copy the citifile in the "data" directory // - Open the project "IV_prj" in ADS // - Open the Data Display "Comparison_S.dds" // - Menu "tools" -> "Datafile tool" // Read the CITIfile and name the Dataset "Measure_IV" // Display the measurements in the Datadisplay // - Open the design "Simulate_S" // - Put your model // - Simulate !