ecp5: Build all chip types

Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
David Shah 2018-07-17 12:46:25 +02:00
parent 044db02012
commit e6725dcde4
3 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ static const ChipInfoPOD *get_chip_info(const RelPtr<ChipInfoPOD> *ptr) { return
void load_chipdb(); void load_chipdb();
#endif #endif
#define LFE5U_45F_ONLY //#define LFE5U_45F_ONLY
Arch::Arch(ArchArgs args) : args(args) Arch::Arch(ArchArgs args) : args(args)
{ {

View File

@ -31,7 +31,7 @@ void add_port(const Context *ctx, CellInfo *cell, std::string name, PortType dir
} }
std::unique_ptr<CellInfo> create_ecp5_cell(Context *ctx, IdString type, std::string name = "") { std::unique_ptr<CellInfo> create_ecp5_cell(Context *ctx, IdString type, std::string name) {
static int auto_idx = 0; static int auto_idx = 0;
std::unique_ptr<CellInfo> new_cell = std::unique_ptr<CellInfo>(new CellInfo()); std::unique_ptr<CellInfo> new_cell = std::unique_ptr<CellInfo>(new CellInfo());
if (name.empty()) { if (name.empty()) {

View File

@ -1,5 +1,5 @@
set(devices 45k) set(devices 25k 45k 85k)
if (NOT DEFINED TRELLIS_ROOT) if (NOT DEFINED TRELLIS_ROOT)
message(FATAL_ERROR "you must define TRELLIS_ROOT using -DTRELLIS_ROOT=/path/to/prjtrellis for ECP5 support") message(FATAL_ERROR "you must define TRELLIS_ROOT using -DTRELLIS_ROOT=/path/to/prjtrellis for ECP5 support")