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
c29256fc
Commit
c29256fc
authored
Mar 30, 2016
by
jozsef imrek
Committed by
Javier D. Garcia-Lasheras
Mar 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This commit closes #1276
parent
64f3ef14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
srcfile.py
hdlmake/srcfile.py
+6
-0
quartus.py
hdlmake/tools/quartus/quartus.py
+3
-1
No files found.
hdlmake/srcfile.py
View file @
c29256fc
...
...
@@ -163,6 +163,10 @@ class PDCFile(File):
class
WBGenFile
(
File
):
pass
class
QSFFile
(
File
):
# Quartus Settings File
pass
class
SourceFileSet
(
set
):
def
__init__
(
self
):
...
...
@@ -276,4 +280,6 @@ class SourceFileFactory:
nf
=
EDFFile
(
path
=
path
,
module
=
module
)
elif
extension
==
'pdc'
:
nf
=
PDCFile
(
path
=
path
,
module
=
module
)
elif
extension
==
'qsf'
:
nf
=
QSFFile
(
path
=
path
,
module
=
module
)
return
nf
hdlmake/tools/quartus/quartus.py
View file @
c29256fc
...
...
@@ -178,7 +178,7 @@ mrproper:
return
pre
+
'
\n
'
+
mod
+
'
\n
'
+
post
+
'
\n
'
def
__emit_files
(
self
):
from
hdlmake.srcfile
import
VHDLFile
,
VerilogFile
,
SignalTapFile
,
SDCFile
,
QIPFile
,
DPFFile
from
hdlmake.srcfile
import
VHDLFile
,
VerilogFile
,
SignalTapFile
,
SDCFile
,
QIPFile
,
DPFFile
,
QSFFile
tmp
=
"set_global_assignment -name {0} {1}"
tmplib
=
tmp
+
" -library {2}"
ret
=
[]
...
...
@@ -195,6 +195,8 @@ mrproper:
line
=
tmp
.
format
(
"QIP_FILE"
,
f
.
rel_path
())
elif
isinstance
(
f
,
DPFFile
):
line
=
tmp
.
format
(
"MISC_FILE"
,
f
.
rel_path
())
elif
isinstance
(
f
,
QSFFile
):
line
=
tmp
.
format
(
"SOURCE_TCL_SCRIPT_FILE"
,
f
.
rel_path
())
else
:
continue
ret
.
append
(
line
)
...
...
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