def test():
    testRunner = TestRunner()
    eSGNW = Experiment_Weighting()
    eSGNW.SetBenchmarksList("IWLS05_fast.list")
    #testRunner.Append(eSGNW)

    metrics = ["HPWL", "TNS", "WNS"]
    #stages  = ["INIT", "LEG1", "LEG2", "LEG3", "LEG4", "LEG5", "LEG6", "LEG7", "LEG8", "LEG9", "LEG"]
    stages = ["INIT", "LEG"]

    cValues = [600]
    expName = "Weighting (SGNW) experiment_C_"
    cmdArgs = "--NetWeighting.SensitivityGuidedNetWeighting.C="

    for cValue in cValues:
        #cmdArgs = "--NetWeighting.SensitivityGuidedNetWeighting.C=1000"

        e = BaseExperiment("%s%s" % (expName, str(cValue)),
                           "Sensitivity_guided_weighting.cfg",
                           "IWLS05_fast.list", metrics, stages,
                           [cmdArgs + str(cValue)])
        testRunner.AddExperimentToGroup(e)

    eLeg = BaseExperiment("Leg1", "Sensitivity_guided_weighting.cfg",
                          "IWLS05_fast.list", metrics, ["INIT", "LEG1"],
                          [])  #["--DesignFlow.LoopGlobalPlacement=false")]
    testRunner.AddExperimentToGroup(eLeg)
    testRunner.Run()
    def __init__(self):
        _metrics = ["HPWL", "TWL", "TNS", "WNS"]
        _stages = ["INIT", "LEG"]
        BaseExperiment.__init__(self, "LR experiment IWLS05GP", "LR.cfg", r"IWLS_GP_r1511\IWLS_GP.list", _metrics,
                                _stages)

        self.doParsePQAT = True
    def __init__(self):
        _metrics = ["HPWL", "TNS", "WNS"]
        _stages = ["INIT", "LEG"]
        BaseExperiment.__init__(self, "Weighting (SGNW) experiment",
                                "Sensitivity_guided_weighting.cfg",
                                "IWLS05.list", _metrics, _stages)

        self.doParsePQAT = True
    def __init__(self):
        _metrics = ["HPWL", "TNS", "WNS"]
        _stages = ["INIT", "LEG"]
        BaseExperiment.__init__(self, "Weighting (SGNW) experiment",
                                "Sensitivity_guided_weighting.cfg", "IWLS05.list",
                                _metrics, _stages)

        self.doParsePQAT = True
    def __init__(self):
        _metrics = ["HPWL", "TWL", "TNS", "WNS"]
        _stages = ["INIT", "LEG"]
        BaseExperiment.__init__(self, "LR experiment IWLS05GP", "LR.cfg",
                                r"IWLS_GP_r1511\IWLS_GP.list", _metrics,
                                _stages)

        self.doParsePQAT = True
def TestRun():
    #e.MakeResultTable('buf', '111')

    metrics = ['Time', 'Cells', 'HPWL', 'TWL', 'TNS', 'WNS']
    stages = ['INIT', 'NBUF', 'LEGB']

    TotalAllowableBuffersAreas = ['0.001', '0.005', '0.01', '0.03']
    Intervals = ['2', '20']
    AdaptiveSizeBufferMultipliers = ['false', 'true']
    NumberMetaIterationStartBufferings = ['1', '2']

    testRunner = TestRunner()
    for NumberMetaIterationStartBuffering in NumberMetaIterationStartBufferings:
        for AdaptiveSizeBufferMultiplier in AdaptiveSizeBufferMultipliers:
            for Interval in Intervals:
                for TotalAllowableBuffersArea in TotalAllowableBuffersAreas:
                    expName = 'NBL_int_' + Interval + '_Area_' + TotalAllowableBuffersArea + '_AdaptiveMultipliers_' + AdaptiveSizeBufferMultiplier + '_NumberMetaIteration_' + NumberMetaIterationStartBuffering
                    print(expName)
                    cmdArgs = ["--plotter.pixDirectory=.\\\\pix\\\\" + expName + "\\\\",
                               " --LSE.GlobalPlacement.New_Buffering.AdaptiveSizeBufferMultiplier=" + AdaptiveSizeBufferMultiplier,
                               " --LSE.GlobalPlacement.New_Buffering.TotalAllowableBuffersArea=" + TotalAllowableBuffersArea,
                               " --LSE.GlobalPlacement.New_Buffering.NumberMetaIterationStartBuffering=" + NumberMetaIterationStartBuffering,
                               " --LSE.GlobalPlacement.New_Buffering.Interval=" + Interval]
                    print(cmdArgs)

                    e = BaseExperiment(expName, 'New_buffering.cfg', 'IWLS05.list', metrics, stages, cmdArgs)
                    testRunner.AddExperimentToGroup(e)
    testRunner.Run()
 def __init__(self):
     _metrics = ["HPWL", "TNS", "WNS"]
     _stages = ["LEG", "DP"]
     BaseExperiment.__init__(self, "HippocrateDP experiment",
                             "HippocrateDP.cfg", "IWLS_GP_Hippocrate.list", _metrics, _stages)
Beispiel #8
0
 def __init__(self):
     _metrics = ["HPWL", "TNS", "WNS"]
     _stages = ["LEG", "DP"]
     BaseExperiment.__init__(self, "HippocrateDP experiment",
                             "HippocrateDP.cfg", "IWLS_GP_Hippocrate.list",
                             _metrics, _stages)
Beispiel #9
0
 def __init__(self, baseExperiment, masterLogFolder):
     BaseExperiment.CopyingConstructor(self, baseExperiment)
     self.referenceLogFolder = masterLogFolder
    def __init__(self):
        metrics = ["Time", "Cells", "HPWL", "TWL", "TNS", "WNS"]
        stages = ["INIT", "GP", "NBUF", "LEGB"]

        BaseExperiment.__init__(self, "Joint Algorithm", "JointPlacementBuffering.cfg",
                                "IWLS_GP_r1511_joint.list", metrics, stages)
    def __init__(self):
        _metrics = ['Cells', 'HPWL', 'TWL', 'TNS', 'WNS']
        _stages = ['INIT', 'NBUF', 'LEGB']

        BaseExperiment.__init__(self, 'IWLS05 new_buffering experiment (NBL)', 'NewBuffering.cfg', 'IWLS05.list',
                                _metrics, _stages)
 def __init__(self):
     BaseExperiment.__init__(self, "IWLS05 HPWL experiment", "hpwl_iwls05.cfg", "IWLS05.list",
                             ["HPWL"], ["GP", "LEG", "DP"])
Beispiel #13
0
 def __init__(self):
     BaseExperiment.__init__(self, "IWLS05 HPWL experiment",
                             "hpwl_iwls05.cfg", "IWLS05.list", ["HPWL"],
                             ["GP", "LEG", "DP"])