Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
0dcb9508
Commit
0dcb9508
authored
Jun 13, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for Xilinx XST Constraint File in Vivado
parent
c0fdb014
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
srcfile.py
hdlmake/srcfile.py
+6
-0
vivado.py
hdlmake/tools/vivado.py
+2
-1
No files found.
hdlmake/srcfile.py
View file @
0dcb9508
...
@@ -157,6 +157,11 @@ class XDCFile(File):
...
@@ -157,6 +157,11 @@ class XDCFile(File):
pass
pass
class
XCFFile
(
File
):
"""Xilinx XST Constraint File"""
pass
class
COEFile
(
File
):
class
COEFile
(
File
):
"""Xilinx Coefficient File"""
"""Xilinx Coefficient File"""
pass
pass
...
@@ -199,6 +204,7 @@ XILINX_FILE_DICT = {
...
@@ -199,6 +204,7 @@ XILINX_FILE_DICT = {
'bd'
:
BDFile
,
'bd'
:
BDFile
,
'xco'
:
XCOFile
,
'xco'
:
XCOFile
,
'xdc'
:
XDCFile
,
'xdc'
:
XDCFile
,
'xcf'
:
XCFFile
,
'coe'
:
COEFile
,
'coe'
:
COEFile
,
'mif'
:
MIFFile
,
'mif'
:
MIFFile
,
'ram'
:
RAMFile
,
'ram'
:
RAMFile
,
...
...
hdlmake/tools/vivado.py
View file @
0dcb9508
...
@@ -28,7 +28,7 @@ from __future__ import absolute_import
...
@@ -28,7 +28,7 @@ from __future__ import absolute_import
from
.xilinx
import
ToolXilinx
from
.xilinx
import
ToolXilinx
from
hdlmake.srcfile
import
(
XDCFile
,
XCIFile
,
NGCFile
,
XMPFile
,
from
hdlmake.srcfile
import
(
XDCFile
,
XCIFile
,
NGCFile
,
XMPFile
,
XCOFile
,
COEFile
,
BDFile
,
TCLFile
,
XCOFile
,
COEFile
,
BDFile
,
TCLFile
,
MIFFile
,
RAMFile
,
VHOFile
,
VEOFile
)
MIFFile
,
RAMFile
,
VHOFile
,
VEOFile
,
XCFFile
)
class
ToolVivado
(
ToolXilinx
):
class
ToolVivado
(
ToolXilinx
):
...
@@ -47,6 +47,7 @@ class ToolVivado(ToolXilinx):
...
@@ -47,6 +47,7 @@ class ToolVivado(ToolXilinx):
SUPPORTED_FILES
=
{
SUPPORTED_FILES
=
{
XDCFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XDCFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XCFFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XCIFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XCIFile
:
ToolXilinx
.
_XILINX_SOURCE
,
NGCFile
:
ToolXilinx
.
_XILINX_SOURCE
,
NGCFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XMPFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XMPFile
:
ToolXilinx
.
_XILINX_SOURCE
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment