hdlmake.tools.ise package

Module contents

Module providing the classes that are used to handle Xilinx ISE

class hdlmake.tools.ise.ToolISE

Bases: hdlmake.tools.make_syn.ToolSyn

Class providing the methods to create and build a Xilinx ISE project

CLEAN_TARGETS = {'clean': ['xst', 'xlnx_auto_0_xdb', 'iseconfig _xmsgs', '_ngo', '*.b', '*_summary.html', '*.bld', '*.cmd_log', '*.drc', '*.lso', '*.ncd', '*.ngc', '*.ngd', '*.ngr', '*.pad', '*.par', '*.pcf', '*.prj', '*.ptwx', '*.stx', '*.syr', '*.twr', '*.twx', '*.gise', '*.gise', '*.bgn', '*.unroutes', '*.ut', '*.xpi', '*.xst', '*.xise', '*.xwbt', '*_envsettings.html', '*_guide.ncd', '*_map.map', '*_map.mrp', '*_map.ncd', '*_map.ngm', '*_map.xrpt', '*_ngdbuild.xrpt', '*_pad.csv', '*_pad.txt', '*_par.xrpt', '*_summary.xml', '*_usage.xml', '*_xst.xrpt', 'usage_statistics_webtalk.html', 'webtalk.log', 'par_usage_statistics.html', 'webtalk_pn.xml'], 'mrproper': ['*.bit', '*.bin', '*.mcs']}
HDL_FILES = {<class 'hdlmake.srcfile.VerilogFile'>: 'xfile add $(sourcefile)', <class 'hdlmake.srcfile.VHDLFile'>: 'xfile add $(sourcefile)', <class 'hdlmake.srcfile.SVFile'>: 'xfile add $(sourcefile)'}
STANDARD_LIBS = ['ieee', 'ieee_proposed', 'iSE', 'simprims', 'std', 'synopsys', 'unimacro', 'unisim', 'XilinxCoreLib']
SUPPORTED_FILES = {<class 'hdlmake.srcfile.BMMFile'>: 'xfile add $(sourcefile)', <class 'hdlmake.srcfile.XCOFile'>: 'xfile add $(sourcefile)', <class 'hdlmake.srcfile.UCFFile'>: 'xfile add $(sourcefile)', <class 'hdlmake.srcfile.NGCFile'>: 'xfile add $(sourcefile)', <class 'hdlmake.srcfile.CDCFile'>: 'xfile add $(sourcefile)'}
TCL_CONTROLS = {'bitstream': '$(TCL_OPEN)\nset process {Generate Programming File}\nprocess run \'$$\'process\nset result [process get \'$$\'process status]\nif { \'$$\'result == \\"errors\\" } {\n exit 1\n}\n$(TCL_SAVE)\n$(TCL_CLOSE)', 'close': 'project close', 'create': 'project new $(PROJECT_FILE)', 'install_source': '*.bit *.bin', 'map': '$(TCL_OPEN)\nset process {Map}\nprocess run \'$$\'process\nset result [process get \'$$\'process status]\nif { \'$$\'result == \\"errors\\" } {\n exit 1\n}\n$(TCL_SAVE)\n$(TCL_CLOSE)', 'open': 'project open $(PROJECT_FILE)', 'par': '$(TCL_OPEN)\nset process {Place \'&\' Route}\nprocess run \'$$\'process\nset result [process get \'$$\'process status]\nif { \'$$\'result == \\"errors\\" } {\n exit 1\n}\n$(TCL_SAVE)\n$(TCL_CLOSE)', 'project': '$(TCL_CREATE)\nxfile remove [search \\* -type file]\nsource files.tcl\n{0}\nproject set top $(TOP_MODULE)\n$(TCL_SAVE)\n$(TCL_CLOSE)', 'save': 'project save', 'synthesize': '$(TCL_OPEN)\nset process {Synthesize - XST}\nprocess run \'$$\'process\nset result [process get \'$$\'process status]\nif { \'$$\'result == \\"errors\\" } {\n exit 1\n}\n$(TCL_SAVE)\n$(TCL_CLOSE)', 'translate': '$(TCL_OPEN)\nset process {Translate}\nprocess run \'$$\'process\nset result [process get \'$$\'process status]\nif { \'$$\'result == \\"errors\\" } {\n exit 1\n}\n$(TCL_SAVE)\n$(TCL_CLOSE)'}
TOOL_INFO = {'id': 'ise', 'linux_bin': 'xtclsh', 'name': 'ISE', 'project_ext': 'xise', 'windows_bin': 'xtclsh.exe'}