aboutsummaryrefslogtreecommitdiffstats
path: root/demo.cc
blob: 3a5ca0c07fca448c10c02f24dae156b50b1c650d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}