diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-11 18:04:09 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-11 18:04:09 +0200 |
commit | 7df67c91b38433e8a1002f8e9f53926aafaa4d1b (patch) | |
tree | 1a1f459ef291f7e8d026125206f3fe934e97086d /common/router1.h | |
parent | e9b27860daa97eb66c3268be247c28d15d33db1e (diff) | |
download | nextpnr-7df67c91b38433e8a1002f8e9f53926aafaa4d1b.tar.gz nextpnr-7df67c91b38433e8a1002f8e9f53926aafaa4d1b.tar.bz2 nextpnr-7df67c91b38433e8a1002f8e9f53926aafaa4d1b.zip |
Add ctx->route() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'common/router1.h')
-rw-r--r-- | common/router1.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/router1.h b/common/router1.h new file mode 100644 index 00000000..38552c58 --- /dev/null +++ b/common/router1.h @@ -0,0 +1,31 @@ +/* + * nextpnr -- Next Generation Place and Route + * + * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com> + * + * 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. + * + */ + +#ifndef ROUTER1_H +#define ROUTER1_H + +#include "nextpnr.h" + +NEXTPNR_NAMESPACE_BEGIN + +extern bool router1(Context *ctx); + +NEXTPNR_NAMESPACE_END + +#endif // ROUTER1_H |