Skip to content

Commit

Permalink
Remove multi-cpu setting in eval script
Browse files Browse the repository at this point in the history
  • Loading branch information
Rholais committed Sep 17, 2019
1 parent 789140f commit b8dc369
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 51 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IEEE/ACM Asia and South Pacific Design Automation Conference (ASPDAC), Tokyo, Ja
["Dr. CU: Detailed Routing by Sparse Grid Graph and Minimum-Area-Captured Path Search"](https://doi.org/10.1109/TCAD.2019.2927542),
accepted by IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (TCAD).
* Haocheng Li, Gengjie Chen, Bentian Jiang, Jingsong Chen, and Evangeline F. Y. Young,
Dr. CU 2.0: A Scalable Detailed Routing Framework with Correct-by-Construction Design Rule Satisfaction,
"Dr. CU 2.0: A Scalable Detailed Routing Framework with Correct-by-Construction Design Rule Satisfaction",
IEEE/ACM International Conference on Computer-Aided Design (ICCAD), Westminster, CO, USA, Nov 4-7, 2019.

(Dr. CU supports [ISPD'18 benchmarks](http://www.ispd.cc/contests/18/#benchmarks)
Expand All @@ -25,9 +25,9 @@ This version of code is consistent with the ICCAD paper.)
## 1. How to Build

**Step 1:** Download the source code. For example,
~~~
```bash
$ git clone https://github.com/cuhk-route/dr-cu
~~~
```

**Step 2:** Go to the project root and build by
~~~
Expand Down
1 change: 0 additions & 1 deletion ispd18eval/ispd18eval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ if [ -f $evalTcl ] ; then
fi

echo "#evaluation script for ISPD 2018 contest" > $evalTcl
echo "setMultiCpuUsage -localCpu $numThread" > $evalTcl
echo 'source ispd18eval.tcl' >> $evalTcl
echo "evaluate $inputLef $outputDef $evalGeoRpt $evalConRpt" >> $evalTcl
echo 'exit' >>$evalTcl
Expand Down
1 change: 0 additions & 1 deletion ispd19eval/ispd19eval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ else
fi

echo "#evaluation script for ISPD 2019 contest" > $evalTcl
echo "setMultiCpuUsage -localCpu $numThread" > $evalTcl
echo 'source ispd19eval.tcl' >> $evalTcl
if [ "$method" = 'a' ] ; then
echo "evaluate $inputLef $inputDef $trimmedDef $evalGeoRpt $evalConRpt" >> $evalTcl
Expand Down
3 changes: 0 additions & 3 deletions rsyn/src/rsyn/phy/obj/decl/PhysicalDesign.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ class PhysicalDesign : public Proxy<PhysicalDesignData> {

int getNumPhysicalRoutingGrids() const;

//! @brief check if the orientations are equivalent based on symmetry.
bool checkEquivalentOrientations(Rsyn::PhysicalSymmetry symmetry, Rsyn::PhysicalOrientation orient1, Rsyn::PhysicalOrientation orient2) const;

//! @brief Returns the total number of spacing objects.
std::size_t getNumPhysicalSpacing() const;
//! @brief Returns a reference to the vector of PhysicalSpacing.
Expand Down
13 changes: 0 additions & 13 deletions rsyn/src/rsyn/phy/obj/impl/PhysicalDesign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1253,17 +1253,4 @@ void PhysicalDesign::initLayerViaManager() {

// -----------------------------------------------------------------------------

bool PhysicalDesign::checkEquivalentOrientations(Rsyn::PhysicalSymmetry symmetry, Rsyn::PhysicalOrientation orient1,
Rsyn::PhysicalOrientation orient2) const {

std::cout << "TODO " << __func__ << " at " << __FILE__ << "\n";
// if(Rsyn::isPhysicalSymmetryX(symmetry)) {
// return orient1 == Rsyn::ORIENTATION_N ||
// } // end if

return false;
} // end method

// -----------------------------------------------------------------------------

} // end namespace
21 changes: 0 additions & 21 deletions rsyn/src/rsyn/phy/util/PhysicalLayerUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,27 +173,6 @@ std::string getPhysicalSymmetry(const Rsyn::PhysicalSymmetry rowSymmetry) {

// -----------------------------------------------------------------------------

bool isPhysicalSymmetryX(const Rsyn::PhysicalSymmetry symmetry) {
return symmetry == SYMMETRY_X || symmetry == SYMMETRY_XY ||
symmetry == SYMMETRY_XR90 || SYMMETRY_XYR90;
} // end method

// -----------------------------------------------------------------------------

bool isPhysicalSymmetryY(const Rsyn::PhysicalSymmetry symmetry) {
return symmetry == SYMMETRY_Y || symmetry == SYMMETRY_XY ||
symmetry == SYMMETRY_YR90 || SYMMETRY_XYR90;
} // end method

// -----------------------------------------------------------------------------

bool isPhysicalSymmetryR90(const Rsyn::PhysicalSymmetry symmetry) {
return symmetry == SYMMETRY_R90 || symmetry == SYMMETRY_XR90 ||
symmetry == SYMMETRY_YR90 || SYMMETRY_XYR90;
} // end method

// -----------------------------------------------------------------------------

Rsyn::PhysicalSiteClass getPhysicalSiteClass(const std::string & siteClass) {
if (siteClass.compare("CORE") == 0) return PhysicalSiteClass::CORE;
if (siteClass.compare("PAD") == 0) return PhysicalSiteClass::PAD;
Expand Down
9 changes: 0 additions & 9 deletions rsyn/src/rsyn/phy/util/PhysicalUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ Rsyn::PhysicalSymmetry getPhysicalSymmetry(const std::string &rowSymmetry);
//! Converts Symmetry from enum to string, respectively.
std::string getPhysicalSymmetry(const Rsyn::PhysicalSymmetry rowSymmetry);

// ! @brief check if PhysicalSymmetry has symmetry to X.
bool isPhysicalSymmetryX(const Rsyn::PhysicalSymmetry symmetry);

// ! @brief check if PhysicalSymmetry has symmetry to Y.
bool isPhysicalSymmetryY(const Rsyn::PhysicalSymmetry symmetry);

// ! @brief check if PhysicalSymmetry has symmetry to XR90.
bool isPhysicalSymmetryR90(const Rsyn::PhysicalSymmetry symmetry);

//! Converts Site Class from string to enum, respectively.
Rsyn::PhysicalSiteClass getPhysicalSiteClass(const std::string & siteClass);

Expand Down

0 comments on commit b8dc369

Please sign in to comment.