ice40: Remove obsolete belType member
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
e7fe046e57
commit
9834b68041
@ -959,7 +959,6 @@ void Arch::assignArchInfo()
|
||||
|
||||
void Arch::assignCellInfo(CellInfo *cell)
|
||||
{
|
||||
cell->belType = cell->type;
|
||||
if (cell->type == id_ICESTORM_LC) {
|
||||
cell->lcInfo.dffEnable = bool_or_default(cell->params, id_DFF_ENABLE);
|
||||
cell->lcInfo.carryEnable = bool_or_default(cell->params, id_CARRY_ENABLE);
|
||||
|
@ -34,7 +34,7 @@ bool Arch::logicCellsCompatible(const CellInfo** it, const size_t size) const
|
||||
int locals_count = 0;
|
||||
|
||||
for (auto cell : boost::make_iterator_range(it, it+size)) {
|
||||
NPNR_ASSERT(cell->belType == id_ICESTORM_LC);
|
||||
NPNR_ASSERT(cell->type == id_ICESTORM_LC);
|
||||
if (cell->lcInfo.dffEnable) {
|
||||
if (!dffs_exist) {
|
||||
dffs_exist = true;
|
||||
|
@ -134,7 +134,6 @@ struct NetInfo;
|
||||
|
||||
struct ArchCellInfo
|
||||
{
|
||||
IdString belType;
|
||||
union
|
||||
{
|
||||
struct
|
||||
|
Loading…
Reference in New Issue
Block a user