diff options
Diffstat (limited to 'mistral/lab.cc')
-rw-r--r-- | mistral/lab.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mistral/lab.cc b/mistral/lab.cc index 734592fd..50ef7b11 100644 --- a/mistral/lab.cc +++ b/mistral/lab.cc @@ -104,8 +104,9 @@ static void create_alm(Arch *arch, int x, int y, int z, uint32_t lab_idx) arch->add_pip(lab.aclr_wires[j], alm.sel_aclr[i]); } // E/F pips + // Note that the F choice is mirrored, F from the other half is picked arch->add_pip(arch->get_port(CycloneV::LAB, x, y, z, i ? CycloneV::E1 : CycloneV::E0), alm.sel_ef[i]); - arch->add_pip(arch->get_port(CycloneV::LAB, x, y, z, i ? CycloneV::F1 : CycloneV::F0), alm.sel_ef[i]); + arch->add_pip(arch->get_port(CycloneV::LAB, x, y, z, i ? CycloneV::F0 : CycloneV::F1), alm.sel_ef[i]); } // Create the flipflops and associated routing |