diff options
author | gatecat <gatecat@ds0.me> | 2021-05-01 13:40:45 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-05-15 14:54:33 +0100 |
commit | c3cb9aa3f6fb4039716132a23e29259496e43611 (patch) | |
tree | 84eae583439c9cb114c09c7eb578df0331265b54 /cyclonev/arch.cc | |
parent | 9901a5fafc8ea05e21eae434e4a56c921eb951e7 (diff) | |
download | nextpnr-c3cb9aa3f6fb4039716132a23e29259496e43611.tar.gz nextpnr-c3cb9aa3f6fb4039716132a23e29259496e43611.tar.bz2 nextpnr-c3cb9aa3f6fb4039716132a23e29259496e43611.zip |
cyclonev: Add enough stubs that it links
Signed-off-by: gatecat <gatecat@ds0.me>
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 |