Transfer of blif2vst.py & yosys.py from alliance-check-toolkit.
This commit is contained in:
parent
85d943a3e4
commit
78823b17c1
|
@ -48,6 +48,7 @@
|
|||
set ( pyPluginAlphaBlock ${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/__init__.py
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/block/__init__.py
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/block/configuration.py
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/block/iospecs.py
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/block/bigvia.py
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/block/spares.py
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/plugins/alpha/block/block.py
|
||||
|
@ -81,4 +82,4 @@
|
|||
install ( FILES ${pyPluginAlphaBlock} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha/block )
|
||||
install ( FILES ${pyPluginAlphaC2C} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha/core2chip )
|
||||
install ( FILES ${pyPluginAlphaChip} DESTINATION ${PYTHON_SITE_PACKAGES}/cumulus/plugins/alpha/chip )
|
||||
#install ( PROGRAMS ${pyTools} DESTINATION bin )
|
||||
install ( PROGRAMS ${pyTools} DESTINATION bin )
|
||||
|
|
|
@ -54,6 +54,8 @@ if __name__ == '__main__':
|
|||
parser.add_option( '-v', '--verbose' , action='store_true', dest='verbose' , help='First level of verbosity.')
|
||||
parser.add_option( '-V', '--very-verbose' , action='store_true', dest='veryVerbose' , help='Second level of verbosity.')
|
||||
parser.add_option( '--vst-use-concat' , action='store_true', dest='vstUseConcat' , help='The VST driver will use "&" (concat) in PORT MAP.')
|
||||
parser.add_option( '--vst-no-lowercase', action='store_true', dest='vstNoLowerCase', help='The VST will keep the case of all identifiers.')
|
||||
parser.add_option( '--vst-no-linkage' , action='store_true', dest='vstNoLinkage' , help='Undefined direction will be set to "in" instead of "linkage".')
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
views = CRL.Catalog.State.Logical
|
||||
|
@ -63,6 +65,8 @@ if __name__ == '__main__':
|
|||
Cfg.getParamBool('misc.verboseLevel1').setBool(True)
|
||||
Cfg.getParamBool('misc.verboseLevel2').setBool(True)
|
||||
if options.vstUseConcat: views |= CRL.Catalog.State.VstUseConcat
|
||||
if options.vstNoLowerCase: views |= CRL.Catalog.State.VstNoLowerCase
|
||||
if options.vstNoLinkage: views |= CRL.Catalog.State.VstNoLinkage
|
||||
|
||||
cell = CRL.Blif.load( options.cellName )
|
||||
if cell.getName() == 'top':
|
||||
|
|
Loading…
Reference in New Issue