Skip to content

Commit 219021e

Browse files
Merge pull request #6 from verilog-to-routing/feature-vpr-sync
[Sync] Syncronized VPR Changes
2 parents 3d3176c + 667451a commit 219021e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.9)
1+
cmake_minimum_required(VERSION 3.16)
22
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
33
include(HeadersToIncludeDirs)
44

@@ -13,7 +13,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
1313
endif()
1414

1515
#Flex and Bison are used to generate the parser
16-
find_package(BISON REQUIRED 3.0)
16+
find_package(BISON REQUIRED 3.3)
1717
find_package(FLEX REQUIRED)
1818

1919
file(GLOB_RECURSE LIB_SOURCES src/sdc*.cpp)
@@ -61,9 +61,9 @@ if (USES_IPO)
6161
CHECK_CXX_COMPILER_FLAG(${flag} CXX_COMPILER_SUPPORTS_${flag})
6262
if(CXX_COMPILER_SUPPORTS_${flag})
6363
#Flag supported, so enable it
64-
set_target_properties(sdcparse_test PROPERTIES LINK_FLAGS ${flag})
64+
set_property(TARGET sdcparse_test APPEND PROPERTY LINK_FLAGS ${flag})
6565
endif()
6666
endforeach()
6767
endif()
6868

69-
install(TARGETS libsdcparse sdcparse_test DESTINATION bin)
69+
install(TARGETS libsdcparse DESTINATION bin)

src/sdc_parser.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* C++ parsers require Bison 3 */
2-
%require "3.0"
1+
/* C++ parsers require Bison 3.3 */
2+
%require "3.3"
33
%language "C++"
44

55
/* Write-out tokens header file */
@@ -34,7 +34,7 @@
3434
%define api.namespace {sdcparse}
3535

3636
/* Name the parser class */
37-
%define parser_class_name {Parser}
37+
%define api.parser.class {Parser}
3838

3939
/* Match the flex prefix */
4040
%define api.prefix {sdcparse_}

0 commit comments

Comments
 (0)