nextpnr/himbaechel/uarch/ng-ultra/location_map.h

34 lines
662 B
C
Raw Normal View History

2024-07-03 23:00:24 +08:00
/*
* nextpnr -- Next Generation Place and Route
*
2024-09-24 18:31:10 +08:00
* NG-Ultra Architecture Implementation
2024-07-03 23:00:24 +08:00
*
2024-09-24 18:31:10 +08:00
* Copyright (C) 2024 YosysHQ GmbH
2024-07-03 23:00:24 +08:00
*
*/
#include "nextpnr.h"
2024-07-08 15:08:24 +08:00
#include "ng_ultra.h"
2024-07-03 23:00:24 +08:00
#ifndef NG_ULTRA_LOCATION_MAP_H
#define NG_ULTRA_LOCATION_MAP_H
NEXTPNR_NAMESPACE_BEGIN
2024-07-09 02:09:14 +08:00
namespace ng_ultra {
2024-07-08 15:08:24 +08:00
Loc getNextLocInDSPChain(const NgUltraImpl *impl, Loc loc);
Loc getNextLocInCYChain(Loc loc);
2024-08-08 00:34:57 +08:00
Loc getNextLocInLUTChain(Loc loc);
Loc getNextLocInDFFChain(Loc loc);
2024-07-08 15:08:24 +08:00
Loc getCYFE(Loc root, int pos);
Loc getXLUTFE(Loc root, int pos);
Loc getXRFFE(Loc root, int pos);
Loc getCDCFE(Loc root, int pos);
Loc getFIFOFE(Loc root, int pos);
2024-07-03 23:00:24 +08:00
2024-07-09 02:09:14 +08:00
};
2024-07-03 23:00:24 +08:00
NEXTPNR_NAMESPACE_END
#endif