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
530d2f14
Commit
530d2f14
authored
Dec 21, 2018
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include the Xilinx BMM files in Vivado, ISE and PlanAhead
parent
968fa87d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
srcfile.py
hdlmake/srcfile.py
+6
-0
ise.py
hdlmake/tools/ise.py
+2
-1
planahead.py
hdlmake/tools/planahead.py
+2
-1
vivado.py
hdlmake/tools/vivado.py
+2
-1
No files found.
hdlmake/srcfile.py
View file @
530d2f14
...
...
@@ -184,6 +184,11 @@ class VHOFile(File):
pass
class
BMMFile
(
File
):
"""Xilinx Block Memory Map File"""
pass
class
VEOFile
(
File
):
"""Xilinx Verilog Template File"""
pass
...
...
@@ -212,6 +217,7 @@ XILINX_FILE_DICT = {
'ram'
:
RAMFile
,
'vho'
:
VHOFile
,
'veo'
:
VEOFile
,
'bmm'
:
BMMFile
,
'xci'
:
XCIFile
}
...
...
hdlmake/tools/ise.py
View file @
530d2f14
...
...
@@ -31,7 +31,7 @@ from .make_syn import ToolSyn
from
hdlmake.util
import
shell
from
hdlmake.srcfile
import
(
VHDLFile
,
VerilogFile
,
SVFile
,
UCFFile
,
CDCFile
,
NGCFile
)
UCFFile
,
CDCFile
,
NGCFile
,
BMMFile
)
FAMILY_NAMES
=
{
"XC6S"
:
"Spartan6"
,
...
...
@@ -65,6 +65,7 @@ class ToolISE(ToolSyn):
SUPPORTED_FILES
=
{
UCFFile
:
'xfile add $(sourcefile)'
,
CDCFile
:
'xfile add $(sourcefile)'
,
BMMFile
:
'xfile add $(sourcefile)'
,
NGCFile
:
'xfile add $(sourcefile)'
}
HDL_FILES
=
{
...
...
hdlmake/tools/planahead.py
View file @
530d2f14
...
...
@@ -25,7 +25,7 @@
from
__future__
import
absolute_import
from
.xilinx
import
ToolXilinx
from
hdlmake.srcfile
import
(
UCFFile
,
NGCFile
,
XMPFile
,
XCOFile
)
from
hdlmake.srcfile
import
(
UCFFile
,
NGCFile
,
XMPFile
,
XCOFile
,
BMMFile
)
class
ToolPlanAhead
(
ToolXilinx
):
...
...
@@ -46,6 +46,7 @@ class ToolPlanAhead(ToolXilinx):
UCFFile
:
ToolXilinx
.
_XILINX_SOURCE
,
NGCFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XMPFile
:
ToolXilinx
.
_XILINX_SOURCE
,
BMMFile
:
ToolXilinx
.
_XILINX_SOURCE
,
XCOFile
:
ToolXilinx
.
_XILINX_SOURCE
}
CLEAN_TARGETS
=
{
'clean'
:
[
"planAhead_*"
,
"planAhead.*"
,
...
...
hdlmake/tools/vivado.py
View file @
530d2f14
...
...
@@ -27,7 +27,7 @@
from
__future__
import
absolute_import
from
.xilinx
import
ToolXilinx
from
hdlmake.srcfile
import
(
XDCFile
,
XCIFile
,
NGCFile
,
XMPFile
,
XCOFile
,
COEFile
,
BDFile
,
TCLFile
,
XCOFile
,
COEFile
,
BDFile
,
TCLFile
,
BMMFile
,
MIFFile
,
RAMFile
,
VHOFile
,
VEOFile
,
XCFFile
)
...
...
@@ -54,6 +54,7 @@ class ToolVivado(ToolXilinx):
XCOFile
:
ToolXilinx
.
_XILINX_SOURCE
,
COEFile
:
ToolXilinx
.
_XILINX_SOURCE
,
BDFile
:
ToolXilinx
.
_XILINX_SOURCE
,
BMMFile
:
ToolXilinx
.
_XILINX_SOURCE
,
TCLFile
:
ToolXilinx
.
_XILINX_SOURCE
,
MIFFile
:
ToolXilinx
.
_XILINX_SOURCE
,
RAMFile
:
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