diff options
author | David Shah <dave@ds0.me> | 2020-01-07 13:06:37 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-11-30 08:45:27 +0000 |
commit | 259659c83898682cecd5e60db2bcfc1c09a493d4 (patch) | |
tree | f18340435ae98b4f3c6f9915dd8b42f9fb753f42 /nexus/arch_place.cc | |
parent | 65a59e9dcc9a87ff9d7f6ed10db63082d53d267e (diff) | |
download | nextpnr-259659c83898682cecd5e60db2bcfc1c09a493d4.tar.gz nextpnr-259659c83898682cecd5e60db2bcfc1c09a493d4.tar.bz2 nextpnr-259659c83898682cecd5e60db2bcfc1c09a493d4.zip |
nexus: Add more placeholder Arch functions
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/arch_place.cc')
-rw-r--r-- | nexus/arch_place.cc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nexus/arch_place.cc b/nexus/arch_place.cc new file mode 100644 index 00000000..ae1b5c79 --- /dev/null +++ b/nexus/arch_place.cc @@ -0,0 +1,30 @@ +/* + * nextpnr -- Next Generation Place and Route + * + * Copyright (C) 2020 David Shah <dave@ds0.me> + * + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + */ + +#include "log.h" +#include "nextpnr.h" + +NEXTPNR_NAMESPACE_BEGIN + +bool Arch::isValidBelForCell(CellInfo *cell, BelId bel) const { return true; } + +bool Arch::isBelLocationValid(BelId bel) const { return true; } + +NEXTPNR_NAMESPACE_END |