AMF-Placer
2.0
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include "strPrint.h"
#include <chrono>
#include <ios>
#include <stdio.h>
#include <stdlib.h>
#include <string>
Go to the source code of this file.
Macros | |
#define | PBSTR "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" |
#define | PBWIDTH 60 |
Functions | |
void | print_cmd (std::string tmp_string) |
void | print_info (std::string tmp_string) |
void | print_status (std::string tmp_string) |
void | print_error (std::string tmp_string) |
void | print_warning (std::string tmp_string) |
std::string | to_string_align3 (int __val) |
void | printProgress (double percentage) |
Variables | |
std::chrono::time_point< std::chrono::steady_clock > | oriTime |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file strPrint.cc.
#define PBSTR "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" |
Definition at line 68 of file strPrint.cc.
#define PBWIDTH 60 |
Definition at line 69 of file strPrint.cc.
void print_cmd | ( | std::string | tmp_string | ) |
Definition at line 34 of file strPrint.cc.
Referenced by ExternalProcessFunc::execute().
void print_error | ( | std::string | tmp_string | ) |
Definition at line 52 of file strPrint.cc.
Referenced by PlacementInfo::PlacementBinInfo::addSiteIntoBin(), PlacementInfo::PlacementSiteBinInfo::addSiteIntoBin(), DesignInfo::DesignPin::checkPinType(), PlacementInfo::createGridBins(), DesignInfo::fromStringToCellType(), and InitialPacker::pack().
void print_info | ( | std::string | tmp_string | ) |
Definition at line 39 of file strPrint.cc.
Referenced by WirelengthOptimizer::addPseudoNet2LoctionForAllPUs(), WirelengthOptimizer::addPseudoNetForMacros(), PlacementInfo::checkClockUtilization(), ClusterPlacer::clockBasedPartitioning(), GlobalPlacer::clusterPlacement(), PlacementInfo::CompatiblePlacementTable::CompatiblePlacementTable(), ClusterPlacer::creaeClusterNets(), ClusterPlacer::createClockBasedClusterUnits(), ClusterPlacer::createLongPathClusterUnits(), ClusterPlacer::createUserDefinedClusterBasedClusterUnits(), DesignInfo::DesignInfo(), DeviceInfo::DeviceInfo(), ParallelCLBPacker::dumpFinalPacking(), ParallelCLBPacker::exceptionHandling(), IncrementalBELPacker::FFPairing(), CLBLegalizer::finalLegalizeBasedOnDP(), InitialPacker::findBRAMMacros(), InitialPacker::findCARRYMacros(), InitialPacker::findDSPMacros(), InitialPacker::findLUTRAMMacros(), InitialPacker::findMuxMacros(), PlacementTimingInfo::TimingGraph< nodeType >::forwardLevelization(), PlacementTimingOptimizer::getSlackThr(), GlobalPlacer::GlobalPlacement_CLBElements(), GlobalPlacer::GlobalPlacement_fixedCLB(), ClusterPlacer::isClustersToLarges(), DeviceInfo::loadBELType2FalseBELType(), DesignInfo::loadClocks(), InitialPacker::loadOtherCLBMacros(), DesignInfo::loadUserDefinedClusterNets(), IncrementalBELPacker::LUTFFPairing(), InitialPacker::LUTFFPairing(), GlobalPlacer::macroLegalize(), MinCostBipartiteMatcher::MinCostBipartiteMatcher(), GraphPartitioner< std::vector< PlacementInfo::ClusterUnit * >, std::vector< PlacementInfo::ClusterNet * > >::minCutBipartition(), InitialPacker::pack(), GlobalPlacer::printPlacedUnits(), DeviceInfo::printStat(), DesignInfo::printStat(), PlacementInfo::printStat(), ClusterPlacer::refineClustersWithPredefinedClusters(), PlacementInfo::reloadNets(), AMFPlacer::run(), SAPlacer::solve(), GeneralSpreader::spreadPlacementUnits(), GlobalPlacer::updatePseudoNetWeight(), CLBLegalizer::updatePUMatchingLocation(), and MacroLegalizer::updatePUMatchingLocation().
void print_status | ( | std::string | tmp_string | ) |
Definition at line 44 of file strPrint.cc.
Referenced by WirelengthOptimizer::addPseudoNet_SlackBased(), PlacementInfo::adjustLUTFFUtilization(), PlacementInfo::adjustLUTFFUtilization_Clocking(), PlacementInfo::adjustLUTFFUtilization_Packablity(), PlacementInfo::adjustLUTFFUtilization_Routability(), PlacementInfo::adjustLUTFFUtilization_Routability_Reset(), PlacementTimingInfo::TimingGraph< nodeType >::backwardLevelization(), PlacementTimingInfo::buildSimpleTimingGraph(), ClusterPlacer::ClusterPlacement(), ClusterPlacer::clusterPlacementUnits(), PlacementInfo::CompatiblePlacementTable::CompatiblePlacementTable(), PlacementTimingOptimizer::conductStaticTimingAnalysis(), PlacementInfo::createGridBins(), ClusterPlacer::createLongPathClusterUnits(), DesignInfo::DesignInfo(), DeviceInfo::DeviceInfo(), GlobalPlacer::dumpAllCellsCoordinate(), ParallelCLBPacker::dumpAllCellsCoordinate(), GlobalPlacer::dumpBRAMCoordinate(), GlobalPlacer::dumpCARRYCoordinate(), PlacementTimingOptimizer::dumpClockRegionClusters(), ClusterPlacer::dumpClusters(), PlacementInfo::dumpCongestion(), GlobalPlacer::dumpDSPCoordinate(), GlobalPlacer::dumpFFCoordinate(), ParallelCLBPacker::dumpFinalPacking(), GlobalPlacer::dumpLUTCoordinate(), GeneralSpreader::dumpLUTFFCoordinate(), GlobalPlacer::dumpLUTFFCoordinate(), MacroLegalizer::dumpMatching(), CLBLegalizer::dumpMatching(), IncrementalBELPacker::dumpPairedLUTFF(), PlacementInfo::dumpPlacementUnitInformation(), GeneralSpreader::dumpSiteGridDensity(), PlacementInfo::dumpVivadoPlacementTclWithPULegalizationInfo(), ParallelCLBPacker::exceptionHandling(), IncrementalBELPacker::FFPairing(), MacroLegalizer::finalLegalizeBasedOnDP(), InitialPacker::findBRAMMacros(), InitialPacker::findCARRYMacros(), InitialPacker::findDSPMacros(), InitialPacker::findLUTRAMMacros(), InitialPacker::findMuxMacros(), MacroLegalizer::findPossibleLegalLocation(), PlacementTimingInfo::TimingGraph< nodeType >::forwardLevelization(), GlobalPlacer::GlobalPlacement_CLBElements(), GlobalPlacer::GlobalPlacement_fixedCLB(), WirelengthOptimizer::GlobalPlacementQPSolve(), PlacementTimingOptimizer::incrementalStaticTimingAnalysis_forPUWithLocation(), MacroLegalizer::legalize(), CLBLegalizer::legalize(), InitialPacker::loadOtherCLBMacros(), PlacementInfo::loadPlacementUnitInformation(), DesignInfo::loadUserDefinedClusterNets(), IncrementalBELPacker::LUTFFPairing(), InitialPacker::LUTFFPairing(), WirelengthOptimizer::LUTLUTPairing_TimingDriven(), GlobalPlacer::macroLegalize(), InitialPacker::pack(), ParallelCLBPacker::packCLBs(), ParallelCLBPacker::ParallelCLBPacker(), ClusterPlacer::placeClusters(), PlacementInfo::PlacementInfo(), QPSolverWrapper::QPSolve(), PlacementInfo::reloadNets(), AMFPlacer::run(), PlacementInfo::CompatiblePlacementTable::setBELTypeForCells(), PlacementTimingInfo::setDSPInnerDelay(), GeneralSpreader::spreadPlacementUnits(), ParallelCLBPacker::timingDrivenDetailedPlacement_LUTFFPairReloacationAfterSlotMapping(), ParallelCLBPacker::timingDrivenDetailedPlacement_shortestPath(), GlobalPlacer::timingDrivenDetailedPlacement_shortestPath_intermediate(), ParallelCLBPacker::timingDrivenDetailedPlacement_shortestPath_intermediate(), ParallelCLBPacker::timingDrivenDetailedPlacement_swap(), WirelengthOptimizer::updateB2BNetWeight(), PlacementInfo::updateLongPaths(), ParallelCLBPacker::updatePackedMacro(), GlobalPlacer::updatePseudoNetWeight(), and PlacementInfo::verifyDeviceForDesign().
void print_warning | ( | std::string | tmp_string | ) |
Definition at line 57 of file strPrint.cc.
Referenced by DesignInfo::addCell(), WirelengthOptimizer::addPseudoNet_SlackBased(), PlacementTimingOptimizer::clusterLongPathInOneClockRegion(), PlacementTimingOptimizer::conductStaticTimingAnalysis(), PlacementInfo::createGridBins(), DesignInfo::DesignInfo(), PlacementTimingInfo::TimingGraph< nodeType >::forwardLevelization(), GlobalPlacer::GlobalPlacement_CLBElements(), GlobalPlacer::GlobalPlacer(), ClusterPlacer::isClustersToLarges(), CLBLegalizer::legalize(), MacroLegalizer::legalize(), DesignInfo::loadClocks(), PlacementInfo::loadPlacementUnitInformation(), GlobalPlacer::macroLegalize(), PlacementInfo::optimizeLongPaths(), parseJSONFile(), PlacementInfo::reloadNets(), InitialPacker::setDSPRegs(), MacroLegalizer::spreadMacros(), PlacementTimingOptimizer::stretchClockRegionColumns(), WirelengthOptimizer::updateB2BNetWeight(), WirelengthOptimizer::updatePseudoNetForClockRegion(), WirelengthOptimizer::updatePseudoNetForUserDefinedClusters(), GlobalPlacer::updatePseudoNetWeight(), and WirelengthOptimizer::WirelengthOptimizer().
void printProgress | ( | double | percentage | ) |
Definition at line 70 of file strPrint.cc.
Referenced by SAPlacer::solve().
std::string to_string_align3 | ( | int | __val | ) |
Definition at line 62 of file strPrint.cc.
Referenced by GlobalPlacer::GlobalPlacement_CLBElements().
std::chrono::time_point<std::chrono::steady_clock> oriTime |
Definition at line 32 of file strPrint.cc.
Referenced by AMFPlacer::AMFPlacer(), and print_status().