diff options
author | gatecat <gatecat@ds0.me> | 2021-10-15 14:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 14:01:04 +0100 |
commit | c71a20e8052e82fb773138f9b935cd6f7371a0b1 (patch) | |
tree | 7d12b0062222dce5c509d7949c208b3a0f55ebae /mistral/arch.cc | |
parent | 4e1f2d7deb07c3119dcd1814273e2eb273fc19ef (diff) | |
parent | bfd61411e7bbf915ef92c315af8ec4eeb8221141 (diff) | |
download | nextpnr-c71a20e8052e82fb773138f9b935cd6f7371a0b1.tar.gz nextpnr-c71a20e8052e82fb773138f9b935cd6f7371a0b1.tar.bz2 nextpnr-c71a20e8052e82fb773138f9b935cd6f7371a0b1.zip |
Merge pull request #847 from galibert/master
mistral: Add support for cyclonev_hps_interface_mpu_general_purpose
Diffstat (limited to 'mistral/arch.cc')
-rw-r--r-- | mistral/arch.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mistral/arch.cc b/mistral/arch.cc index 8ac225d4..b91bba39 100644 --- a/mistral/arch.cc +++ b/mistral/arch.cc @@ -77,6 +77,11 @@ Arch::Arch(ArchArgs args) for (auto cmuxh_pos : cyclonev->cmuxh_get_pos()) create_clkbuf(CycloneV::pos2x(cmuxh_pos), CycloneV::pos2y(cmuxh_pos)); + auto hps_pos = cyclonev->hps_get_pos(); + if (!hps_pos.empty()) { + create_hps_mpu_general_purpose(CycloneV::pos2x(hps_pos[CycloneV::I_HPS_MPU_GENERAL_PURPOSE]), CycloneV::pos2y(hps_pos[CycloneV::I_HPS_MPU_GENERAL_PURPOSE])); + } + // This import takes about 5s, perhaps long term we can speed it up, e.g. defer to Mistral more... log_info("Initialising routing graph...\n"); int pip_count = 0; |