Renaming examples executable (driveCif, driveAgds, driveCif.py ... instead of test in order to be able to differntiate driver vs parser)

This commit is contained in:
Damien Dupuis 2010-06-14 10:46:09 +00:00
parent c35059f0ad
commit dd66d66741
12 changed files with 22 additions and 16 deletions

View File

@ -38,13 +38,13 @@
\image latex transistorCif.pdf AGDS example layout width=.25\linewidth \image latex transistorCif.pdf AGDS example layout width=.25\linewidth
\subsection agdsC C++ \subsection agdsC C++
Here is the C++ code (\c mainAgds.cpp) used to generate the transistor.agds file. (Source is available in examples directory). Here is the C++ code (\c driveAgds.cpp) used to generate the transistor.agds file. (Source is available in examples directory).
\include mainAgds.cpp \include driveAgds.cpp
\subsection agdsPython Python \subsection agdsPython Python
Here is the Python code (\c testAgds.py) used to generate the transistor.agds file. (Source is available in examples directory). Here is the Python code (\c driveAgds.py) used to generate the transistor.agds file. (Source is available in examples directory).
\include testAgds.py \include driveAgds.py
\note In order to run the \c testAgds.py script, user must ensure that $PYTHONPATH variable points to the directory containing pyAGDS.so module. \note In order to run the \c driveAgds.py script, user must ensure that $PYTHONPATH variable points to the directory containing pyAGDS.so module.
*/ */

View File

@ -26,12 +26,12 @@
\image latex transistorCif.pdf CIF example layout width=.25\linewidth \image latex transistorCif.pdf CIF example layout width=.25\linewidth
\subsection cifC C++ \subsection cifC C++
Here is the C++ code (\c mainCif.cpp) used to generate the transistor.cif file. (Source is available in examples directory). Here is the C++ code (\c driveCif.cpp) used to generate the transistor.cif file. (Source is available in examples directory).
\include mainCif.cpp \include driveCif.cpp
\subsection cifPython Python \subsection cifPython Python
Here is the Python code (\c testCif.py) used to generate the transistor.cif file. (Source is available in examples directory). Here is the Python code (\c driveCif.py) used to generate the transistor.cif file. (Source is available in examples directory).
\include testCif.py \include driveCif.py
\note In order to run the \c testCif.py script, user must ensure that $PYTHONPATH variable points to the directory containing pyCIF.so module. \note In order to run the \c driveCif.py script, user must ensure that $PYTHONPATH variable points to the directory containing pyCIF.so module.
*/ */

View File

@ -1 +1,2 @@
ADD_SUBDIRECTORY(cplusplus) ADD_SUBDIRECTORY(cplusplus)
ADD_SUBDIRECTORY(python)

View File

@ -1,4 +1,5 @@
INCLUDE_DIRECTORIES ( ${VLSISAPD_SOURCE_DIR}/src/agds/src ) INCLUDE_DIRECTORIES ( ${VLSISAPD_SOURCE_DIR}/src/agds/src )
ADD_EXECUTABLE ( testAgds mainAgds.cpp ) ADD_EXECUTABLE ( driveAgds driveAgds.cpp )
TARGET_LINK_LIBRARIES ( testAgds agds ) # 'testAgds' is the name of the executable and 'agds' the name of the target library in agds/src/CMakeLists.txt TARGET_LINK_LIBRARIES ( driveAgds agds ) # 'driveAgds' is the name of the executable and 'agds' the name of the target library in agds/src/CMakeLists.txt
INSTALL ( TARGETS testAgds DESTINATION bin ) INSTALL ( TARGETS driveAgds DESTINATION share/doc/coriolis2/examples/vlsisapd/agds )
INSTALL ( FILES driveAgds.cpp DESTINATION share/doc/coriolis2/examples/vlsisapd/agds )

View File

@ -0,0 +1 @@
INSTALL ( FILES driveAgds.py DESTINATION share/doc/coriolis2/examples/vlsisapd/agds )

View File

@ -1 +1,2 @@
ADD_SUBDIRECTORY(cplusplus) ADD_SUBDIRECTORY(cplusplus)
ADD_SUBDIRECTORY(python)

View File

@ -1,4 +1,5 @@
INCLUDE_DIRECTORIES ( ${VLSISAPD_SOURCE_DIR}/src/cif/src ) INCLUDE_DIRECTORIES ( ${VLSISAPD_SOURCE_DIR}/src/cif/src )
ADD_EXECUTABLE ( testCif mainCif.cpp ) ADD_EXECUTABLE ( driveCif driveCif.cpp )
TARGET_LINK_LIBRARIES ( testCif cif ) # 'testCif' is the name of the executable and 'cif' the name of the target library in cif/src/CMakeLists.txt TARGET_LINK_LIBRARIES ( driveCif cif ) # 'driveCif' is the name of the executable and 'cif' the name of the target library in cif/src/CMakeLists.txt
INSTALL ( TARGETS testCif DESTINATION bin ) INSTALL ( TARGETS driveCif DESTINATION share/doc/coriolis2/examples/vlsisapd/cif )
INSTALL ( FILES driveCif.cpp DESTINATION share/doc/coriolis2/examples/vlsisapd/cif )

View File

@ -0,0 +1 @@
INSTALL ( FILES driveCif.py DESTINATION share/doc/coriolis2/examples/vlsisapd/cif )