Sign in
foss-fpga-tools
/
prjtrellis
/
967e16ec58a4173decc6cc79ab6a66ea0b13895b
/
.
/
libtrellis
/
examples
/
ddgraph.py
blob: e56b94572e8b79e7fc735728958449ce082bc955 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
"""
Testing the routing graph generator
"""
import
pytrellis
import
sys
pytrellis
.
load_database
(
"../../database"
)
chip
=
pytrellis
.
Chip
(
"LFE5U-25F"
)
dd
=
pytrellis
.
make_dedup_chipdb
(
chip
)
print
(
len
(
dd
.
locationTypes
))