Skip to content

Commit

Permalink
[WIP] misc
Browse files Browse the repository at this point in the history
  • Loading branch information
neuschaefer committed Feb 24, 2023
1 parent 0854045 commit f3f4db5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libtrellis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ else()
endif()
set(Boost_NO_BOOST_CMAKE ON)

find_package(Python3 3.5 REQUIRED COMPONENTS Interpreter)
find_package(Python3 3.11 REQUIRED COMPONENTS Interpreter)
if (BUILD_PYTHON)
find_package(Python3 3.5 REQUIRED COMPONENTS Development)
find_package(Python3 3.11 REQUIRED COMPONENTS Development)
set(PythonInstallTarget "pytrellis")
endif()

Expand Down
2 changes: 2 additions & 0 deletions libtrellis/src/RoutingGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ RoutingGraph::RoutingGraph(const Chip &c) : chip_name(c.info.name), chip_family(
else if (chip_name.find("1200HC") != string::npos)
// FIXME: Prefix to distinguish XO, XO2, and XO3?
chip_prefix = "1200_";
else if (chip_name.find("7000HC") != string::npos)
chip_prefix = "7000_";
else
assert(false);

Expand Down

0 comments on commit f3f4db5

Please sign in to comment.