diff options
Diffstat (limited to 'cyclonev/arch.cc')
-rw-r--r-- | cyclonev/arch.cc | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/cyclonev/arch.cc b/cyclonev/arch.cc index 683118b2..642806e3 100644 --- a/cyclonev/arch.cc +++ b/cyclonev/arch.cc @@ -38,7 +38,7 @@ void IdString::initialize_arch(const BaseCtx *ctx) Arch::Arch(ArchArgs args) { this->args = args; - this->cyclonev = mistral::CycloneV::get_model(args.device); + this->cyclonev = mistral::CycloneV::get_model(args.device, args.mistral_root); NPNR_ASSERT(this->cyclonev != nullptr); for (int x = 0; x < cyclonev->get_tile_sx(); x++) { @@ -189,4 +189,23 @@ IdString Arch::getBelType(BelId bel) const return IdString(); } +bool Arch::pack() { return true; } +bool Arch::place() { return true; } +bool Arch::route() { return true; } + +#ifdef WITH_HEAP +const std::string Arch::defaultPlacer = "heap"; +#else +const std::string Arch::defaultPlacer = "sa"; +#endif + +const std::vector<std::string> Arch::availablePlacers = {"sa", +#ifdef WITH_HEAP + "heap" +#endif +}; + +const std::string Arch::defaultRouter = "router1"; +const std::vector<std::string> Arch::availableRouters = {"router1", "router2"}; + NEXTPNR_NAMESPACE_END
\ No newline at end of file |