Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#6195 from The-OpenROAD-Projec…
Browse files Browse the repository at this point in the history
…t-staging/cts-rm-plot-cnt

cts: rm cnt static in plotSolution
  • Loading branch information
maliberty authored Nov 18, 2024
2 parents efd5269 + e309939 commit 75f2922
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cts/src/HTreeBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1954,8 +1954,7 @@ void HTreeBuilder::createSingleBufferClockNet()

void HTreeBuilder::plotSolution()
{
static int cnt = 0;
auto name = std::string("plot") + std::to_string(cnt++) + ".py";
auto name = std::string("plot_") + clock_.getName() + ".py";
std::ofstream file(name);
file << "import numpy as np\n";
file << "import matplotlib.pyplot as plt\n";
Expand Down

0 comments on commit 75f2922

Please sign in to comment.