From 22558704460b19425d28cc91b2565c7964ed7a19 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 23 May 2018 17:58:57 +0200 Subject: Create compile-able demo that doesn't do anything Signed-off-by: Clifford Wolf --- demo.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 demo.cc (limited to 'demo.cc') diff --git a/demo.cc b/demo.cc new file mode 100644 index 00000000..3a5ca0c0 --- /dev/null +++ b/demo.cc @@ -0,0 +1,13 @@ +// clang -o demo -Wall -std=c++11 demo.cc database.cc -lstdc++ + +#include "database.h" + +int main() +{ + Design design("default"); + + for (auto bel : design.chip.getBels()) + printf("%s\n", design.chip.getObjName(bel).c_str()); + + return 0; +} -- cgit v1.2.3