Cleanup
This commit is contained in:
parent
54175f9187
commit
78e6631f76
@ -454,7 +454,7 @@ DecalXY BaseCtx::constructDecalXY(DecalId decal, float x, float y)
|
||||
return dxy;
|
||||
}
|
||||
|
||||
void BaseCtx::commonInfoToAttributes()
|
||||
void BaseCtx::archInfoToAttributes()
|
||||
{
|
||||
for (auto &cell : cells) {
|
||||
auto ci = cell.second.get();
|
||||
@ -498,7 +498,7 @@ void BaseCtx::commonInfoToAttributes()
|
||||
}
|
||||
}
|
||||
|
||||
void BaseCtx::attributesToCommonInfo()
|
||||
void BaseCtx::attributesToArchInfo()
|
||||
{
|
||||
for (auto &cell : cells) {
|
||||
auto ci = cell.second.get();
|
||||
@ -544,6 +544,7 @@ void BaseCtx::attributesToCommonInfo()
|
||||
}
|
||||
}
|
||||
}
|
||||
getCtx()->assignArchInfo();
|
||||
}
|
||||
|
||||
NEXTPNR_NAMESPACE_END
|
||||
|
@ -682,8 +682,8 @@ struct BaseCtx
|
||||
// Workaround for lack of wrappable constructors
|
||||
DecalXY constructDecalXY(DecalId decal, float x, float y);
|
||||
|
||||
void commonInfoToAttributes();
|
||||
void attributesToCommonInfo();
|
||||
void archInfoToAttributes();
|
||||
void attributesToArchInfo();
|
||||
};
|
||||
|
||||
NEXTPNR_NAMESPACE_END
|
||||
|
11
ecp5/arch.cc
11
ecp5/arch.cc
@ -989,17 +989,6 @@ WireId Arch::getBankECLK(int bank, int eclk)
|
||||
return getWireByLocAndBasename(Location(0, 0), "G_BANK" + std::to_string(bank) + "ECLK" + std::to_string(eclk));
|
||||
}
|
||||
|
||||
void Arch::archInfoToAttributes()
|
||||
{
|
||||
commonInfoToAttributes();
|
||||
}
|
||||
|
||||
void Arch::attributesToArchInfo()
|
||||
{
|
||||
attributesToCommonInfo();
|
||||
assignArchInfo();
|
||||
}
|
||||
|
||||
#ifdef WITH_HEAP
|
||||
const std::string Arch::defaultPlacer = "heap";
|
||||
#else
|
||||
|
@ -994,8 +994,6 @@ struct Arch : BaseCtx
|
||||
bool slicesCompatible(const std::vector<const CellInfo *> &cells) const;
|
||||
|
||||
void assignArchInfo();
|
||||
void archInfoToAttributes();
|
||||
void attributesToArchInfo();
|
||||
|
||||
void permute_luts();
|
||||
|
||||
|
@ -604,17 +604,6 @@ void Arch::assignArchInfo()
|
||||
}
|
||||
}
|
||||
|
||||
void Arch::archInfoToAttributes()
|
||||
{
|
||||
commonInfoToAttributes();
|
||||
}
|
||||
|
||||
void Arch::attributesToArchInfo()
|
||||
{
|
||||
attributesToCommonInfo();
|
||||
assignArchInfo();
|
||||
}
|
||||
|
||||
bool Arch::cellsCompatible(const CellInfo **cells, int count) const
|
||||
{
|
||||
const NetInfo *clk = nullptr;
|
||||
|
@ -288,8 +288,6 @@ struct Arch : BaseCtx
|
||||
// Internal usage
|
||||
void assignArchInfo();
|
||||
bool cellsCompatible(const CellInfo **cells, int count) const;
|
||||
void archInfoToAttributes();
|
||||
void attributesToArchInfo();
|
||||
};
|
||||
|
||||
NEXTPNR_NAMESPACE_END
|
||||
|
@ -1234,17 +1234,6 @@ void Arch::assignCellInfo(CellInfo *cell)
|
||||
}
|
||||
}
|
||||
|
||||
void Arch::archInfoToAttributes()
|
||||
{
|
||||
commonInfoToAttributes();
|
||||
}
|
||||
|
||||
void Arch::attributesToArchInfo()
|
||||
{
|
||||
attributesToCommonInfo();
|
||||
assignArchInfo();
|
||||
}
|
||||
|
||||
const std::string Arch::defaultPlacer = "sa";
|
||||
|
||||
const std::vector<std::string> Arch::availablePlacers = {"sa",
|
||||
|
@ -878,8 +878,6 @@ struct Arch : BaseCtx
|
||||
// netlist modifications, and validity checks
|
||||
void assignArchInfo();
|
||||
void assignCellInfo(CellInfo *cell);
|
||||
void archInfoToAttributes();
|
||||
void attributesToArchInfo();
|
||||
|
||||
// -------------------------------------------------
|
||||
BelPin getIOBSharingPLLPin(BelId pll, IdString pll_pin) const
|
||||
|
Loading…
Reference in New Issue
Block a user