Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: azonenberg/openfpga
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 81de7f3f455c
Choose a base ref
...
head repository: azonenberg/openfpga
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 365c790f1e01
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Jun 10, 2017

  1. Greenpak4PAREngine: Fixed bug introduced by const-ification causing r…

    …outing congestion to be ignored. Fixes #102.
    azonenberg committed Jun 10, 2017
    Copy the full SHA
    25589f1 View commit details
  2. Copy the full SHA
    365c790 View commit details
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/gp4par/Greenpak4PAREngine.cpp
  2. +1 −1 src/gp4par/Greenpak4PAREngine.h
  3. +1 −1 src/gp4par/par_reporting.cpp
2 changes: 1 addition & 1 deletion src/gp4par/Greenpak4PAREngine.cpp
Original file line number Diff line number Diff line change
@@ -163,7 +163,7 @@ bool Greenpak4PAREngine::InitialPlacement_core()
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Congestion metrics

uint32_t Greenpak4PAREngine::ComputeCongestionCost()
uint32_t Greenpak4PAREngine::ComputeCongestionCost() const
{
uint32_t costs[2] = {0};

2 changes: 1 addition & 1 deletion src/gp4par/Greenpak4PAREngine.h
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ class Greenpak4PAREngine : public PAREngine
virtual void FindSubOptimalPlacements(std::vector<PARGraphNode*>& bad_nodes);
virtual PARGraphNode* GetNewPlacementForNode(PARGraphNode* pivot);

virtual uint32_t ComputeCongestionCost();
virtual uint32_t ComputeCongestionCost() const;
virtual bool InitialPlacement_core();

virtual bool CanMoveNode(PARGraphNode* node, PARGraphNode* old_mate, PARGraphNode* new_mate);
2 changes: 1 addition & 1 deletion src/gp4par/par_reporting.cpp
Original file line number Diff line number Diff line change
@@ -289,7 +289,7 @@ void PrintTimingReport(Greenpak4Netlist* netlist, Greenpak4Device* device)

//The corner we're testing at (TODO multi-corner)
PTVCorner corner(PTVCorner::SPEED_TYPICAL, 25, 3300);
LogVerbose("Running static timing for %s\n", corner.toString().c_str());
LogVerbose("Running static timing for %s (%zu paths)\n", corner.toString().c_str(), paths.size());

//DEBUG: print all paths
int i=0;