aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/luts.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-15 21:08:28 +0000
committerGitHub <noreply@github.com>2021-03-15 21:08:28 +0000
commitbf5f0fc58f2c055b6f45a6300ce3895aa79cd27c (patch)
tree25817e9ea10d339bf4c127b0a082cc5ac9a51deb /fpga_interchange/luts.h
parenta8e35062c6a1a21838346dd7536bb2fcc7f820ed (diff)
parent351ca3b5eac472b4bd08b11a4aa6fb67e545eda3 (diff)
downloadnextpnr-bf5f0fc58f2c055b6f45a6300ce3895aa79cd27c.tar.gz
nextpnr-bf5f0fc58f2c055b6f45a6300ce3895aa79cd27c.tar.bz2
nextpnr-bf5f0fc58f2c055b6f45a6300ce3895aa79cd27c.zip
Merge pull request #625 from litghost/use_namespace_macro
Use NEXTPNR_NAMESPACE macro's now that headers are seperated.
Diffstat (limited to 'fpga_interchange/luts.h')
-rw-r--r--fpga_interchange/luts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpga_interchange/luts.h b/fpga_interchange/luts.h
index 333df36e..3500c9d3 100644
--- a/fpga_interchange/luts.h
+++ b/fpga_interchange/luts.h
@@ -46,7 +46,7 @@ struct LutCell
std::vector<IdString> pins;
std::unordered_set<IdString> lut_pins;
std::unordered_set<IdString> vcc_pins;
- nextpnr::DynamicBitarray<> equation;
+ DynamicBitarray<> equation;
};
struct LutBel
@@ -94,7 +94,7 @@ struct LutMapper
//
// If a conflict arises, return false and result is in an indeterminate state.
bool rotate_and_merge_lut_equation(std::vector<LogicLevel> *result, const LutBel &lut_bel,
- const nextpnr::DynamicBitarray<> &old_equation, const std::vector<size_t> &pin_map,
+ const DynamicBitarray<> &old_equation, const std::vector<size_t> &pin_map,
uint32_t used_pins);
NEXTPNR_NAMESPACE_END