diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-22 13:42:07 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-24 02:38:10 +0100 |
commit | 2b1f7875bb8c3a761dfb9db21706f918b58be9c3 (patch) | |
tree | 0fb0e8c7162cd3291f32ad6588e803105902f1e3 /common/nextpnr.h | |
parent | 139f7e0903b6c299b7c85bebfd7674933e952a50 (diff) | |
download | nextpnr-2b1f7875bb8c3a761dfb9db21706f918b58be9c3.tar.gz nextpnr-2b1f7875bb8c3a761dfb9db21706f918b58be9c3.tar.bz2 nextpnr-2b1f7875bb8c3a761dfb9db21706f918b58be9c3.zip |
ice40: Implement emitting PLLs
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 021772fe..9ee00a50 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -173,6 +173,9 @@ struct Loc bool operator==(const Loc &other) const { return (x == other.x) && (y == other.y) && (z == other.z); } bool operator!=(const Loc &other) const { return (x != other.x) || (y != other.y) || (z == other.z); } + + Loc(int x, int y, int z) : x(x), y(y), z(z) {} + Loc() {} }; NEXTPNR_NAMESPACE_END |