aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-11 14:24:49 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-12 10:31:04 -0800
commita0bd3131390567d1bd79c1ac19f663caff603445 (patch)
treec62b518c830e13b08e59b333497db01ee8687b0c /fpga_interchange/arch.h
parentcede6825859217e15a0d41cd4cc51b6129902aad (diff)
downloadnextpnr-a0bd3131390567d1bd79c1ac19f663caff603445.tar.gz
nextpnr-a0bd3131390567d1bd79c1ac19f663caff603445.tar.bz2
nextpnr-a0bd3131390567d1bd79c1ac19f663caff603445.zip
Add FPGA interchange XDC parser.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index 5964a38f..435bb93d 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -650,6 +650,7 @@ struct BelBucketRange
struct ArchArgs
{
std::string chipdb;
+ std::string package;
};
struct ArchRanges
@@ -1301,7 +1302,9 @@ struct Arch : ArchAPI<ArchRanges>
static const std::vector<std::string> availableRouters;
// -------------------------------------------------
- void write_physical_netlist(const std::string &filename) const {}
+ void read_logical_netlist(const std::string &filename);
+ void write_physical_netlist(const std::string &filename) const;
+ void parse_xdc(const std::string &filename);
};
NEXTPNR_NAMESPACE_END