diff options
author | gatecat <gatecat@ds0.me> | 2021-02-12 22:40:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 22:40:41 +0000 |
commit | f1ccc0e20531f63355e3da7c6c5f4f39a684fa3f (patch) | |
tree | 09175eb6facecba7890beadcd5cccac2e6b50417 /fpga_interchange/xdc.h | |
parent | cede6825859217e15a0d41cd4cc51b6129902aad (diff) | |
parent | 033cc6731b18c89ee0ffbd0be9eab4d2d157980f (diff) | |
download | nextpnr-f1ccc0e20531f63355e3da7c6c5f4f39a684fa3f.tar.gz nextpnr-f1ccc0e20531f63355e3da7c6c5f4f39a684fa3f.tar.bz2 nextpnr-f1ccc0e20531f63355e3da7c6c5f4f39a684fa3f.zip |
Merge pull request #582 from litghost/add_xdc_parser
Add XDC parser to FPGA interchange
Diffstat (limited to 'fpga_interchange/xdc.h')
-rw-r--r-- | fpga_interchange/xdc.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fpga_interchange/xdc.h b/fpga_interchange/xdc.h new file mode 100644 index 00000000..c6b80870 --- /dev/null +++ b/fpga_interchange/xdc.h @@ -0,0 +1,33 @@ +/* + * nextpnr -- Next Generation Place and Route + * + * Copyright (C) 2021 Symbiflow Authors + * + * 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 <tcl.h> +#include "nextpnr.h" + +NEXTPNR_NAMESPACE_BEGIN + +struct TclInterp +{ + TclInterp(Context *ctx); + ~TclInterp(); + + Tcl_Interp *interp; +}; + +NEXTPNR_NAMESPACE_END |