Commit 5b52e634 authored by Robert Jensch's avatar Robert Jensch

Added: - XMPFile support for ISE projects

Fixed: - tcl command order (settings of project have to be set before adding files)
parent d141f0fd
...@@ -31,7 +31,7 @@ from .make_syn import ToolSyn ...@@ -31,7 +31,7 @@ from .make_syn import ToolSyn
from hdlmake.util import shell from hdlmake.util import shell
from hdlmake.srcfile import (VHDLFile, VerilogFile, SVFile, from hdlmake.srcfile import (VHDLFile, VerilogFile, SVFile,
UCFFile, CDCFile, NGCFile) UCFFile, CDCFile, NGCFile, XMPFile)
FAMILY_NAMES = { FAMILY_NAMES = {
"XC6S": "Spartan6", "XC6S": "Spartan6",
...@@ -65,7 +65,8 @@ class ToolISE(ToolSyn): ...@@ -65,7 +65,8 @@ class ToolISE(ToolSyn):
SUPPORTED_FILES = { SUPPORTED_FILES = {
UCFFile: 'xfile add $(sourcefile)', UCFFile: 'xfile add $(sourcefile)',
CDCFile: 'xfile add $(sourcefile)', CDCFile: 'xfile add $(sourcefile)',
NGCFile: 'xfile add $(sourcefile)'} NGCFile: 'xfile add $(sourcefile)',
XMPFile: 'xfile add $(sourcefile)'}
HDL_FILES = { HDL_FILES = {
VHDLFile: 'xfile add $(sourcefile)', VHDLFile: 'xfile add $(sourcefile)',
...@@ -107,8 +108,8 @@ $(TCL_CLOSE)''' ...@@ -107,8 +108,8 @@ $(TCL_CLOSE)'''
'close': 'project close', 'close': 'project close',
'project': '$(TCL_CREATE)\n' 'project': '$(TCL_CREATE)\n'
'xfile remove [search \* -type file]\n' 'xfile remove [search \* -type file]\n'
'source files.tcl\n'
'{0}\n' '{0}\n'
'source files.tcl\n'
'project set top $(TOP_MODULE)\n' 'project set top $(TOP_MODULE)\n'
'$(TCL_SAVE)\n' '$(TCL_SAVE)\n'
'$(TCL_CLOSE)', '$(TCL_CLOSE)',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment