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
3285708c
Commit
3285708c
authored
Nov 17, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Xilinx Coefficient and Memory Initialization files
parent
879eca7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
srcfile.py
hdlmake/srcfile.py
+12
-0
vivado.py
hdlmake/tools/vivado.py
+4
-2
No files found.
hdlmake/srcfile.py
View file @
3285708c
...
...
@@ -167,6 +167,16 @@ class XDCFile(File):
pass
class
COEFile
(
File
):
"""Xilinx Coefficient File"""
pass
class
MIFFile
(
File
):
"""Xilinx Memory Initialization File"""
pass
class
XCIFile
(
File
):
"""Xilinx Core IP File"""
pass
...
...
@@ -184,6 +194,8 @@ XILINX_FILE_DICT = {
'bd'
:
BDFile
,
'xco'
:
XCOFile
,
'xdc'
:
XDCFile
,
'coe'
:
COEFile
,
'mif'
:
MIFFile
,
'xci'
:
XCIFile
}
...
...
hdlmake/tools/vivado.py
View file @
3285708c
...
...
@@ -28,7 +28,8 @@ from __future__ import absolute_import
from
.xilinx
import
ToolXilinx
from
.make_sim
import
ToolSim
from
hdlmake.srcfile
import
(
XDCFile
,
XCIFile
,
NGCFile
,
XMPFile
,
XCOFile
,
BDFile
,
TCLFile
)
XCOFile
,
COEFile
,
BDFile
,
TCLFile
,
MIFFile
)
class
ToolVivado
(
ToolXilinx
,
ToolSim
):
...
...
@@ -46,7 +47,8 @@ class ToolVivado(ToolXilinx, ToolSim):
STANDARD_LIBS
=
[
'ieee'
,
'std'
]
SUPPORTED_FILES
=
[
XDCFile
,
XCIFile
,
NGCFile
,
XMPFile
,
XCOFile
,
BDFile
,
TCLFile
]
XCOFile
,
COEFile
,
BDFile
,
TCLFile
,
MIFFile
]
CLEAN_TARGETS
=
{
'clean'
:
[
"run.tcl"
,
".Xil"
,
"*.jou"
,
"*.log"
,
"*.pb"
,
"$(PROJECT).cache"
,
"$(PROJECT).data"
,
"work"
,
...
...
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