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
bef97f5f
Commit
bef97f5f
authored
Jul 15, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DependableFile class is not longer required
parent
3c094d3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
72 deletions
+0
-72
synthesis_project.py
hdlmake/action/synthesis_project.py
+0
-3
dependable_file.py
hdlmake/dependable_file.py
+0
-68
srcfile.py
hdlmake/srcfile.py
+0
-1
No files found.
hdlmake/action/synthesis_project.py
View file @
bef97f5f
...
...
@@ -27,7 +27,6 @@ import os
import
importlib
from
hdlmake.srcfile
import
SourceFileFactory
from
hdlmake.dependable_file
import
DependableFile
from
hdlmake.util
import
path
from
.action
import
Action
...
...
@@ -172,8 +171,6 @@ end sdb_meta_pkg;""")
top_mod
=
self
.
modules_pool
.
get_top_module
()
fileset
=
self
.
modules_pool
.
build_file_set
()
non_dependable
=
fileset
.
inversed_filter
(
DependableFile
)
fileset
.
add
(
non_dependable
)
privative_files
=
tool_object
.
supported_files
(
self
.
modules_pool
.
build_complete_file_set
())
if
privative_files
:
...
...
hdlmake/dependable_file.py
deleted
100644 → 0
View file @
3c094d3d
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013 CERN
# Author: Pawel Szostek (pawel.szostek@cern.ch)
# Modified to allow ISim simulation by Lucas Russo (lucas.russo@lnls.br)
#
# This file is part of Hdlmake.
#
# Hdlmake is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Hdlmake is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Hdlmake. If not, see <http://www.gnu.org/licenses/>.
#
import
logging
class
DependableFile
:
def
__init__
(
self
):
self
.
dep_index
=
None
self
.
dep_resolved
=
False
self
.
__dep_provides
=
None
self
.
__dep_requires
=
None
self
.
__dep_depends_on
=
[]
#use proxy template here
def
__get_dep_provides
(
self
):
if
self
.
__dep_provides
is
None
:
self
.
_create_deps_provides
()
assert
self
.
__dep_provides
is
not
None
return
self
.
__dep_provides
def
__set_dep_provides
(
self
,
what
):
self
.
__dep_provides
=
what
dep_provides
=
property
(
__get_dep_provides
,
__set_dep_provides
)
def
__get_dep_requires
(
self
):
if
self
.
__dep_requires
is
None
:
self
.
_create_deps_requires
()
assert
self
.
__dep_requires
is
not
None
return
self
.
__dep_requires
def
__set_dep_requires
(
self
,
what
):
self
.
__dep_requires
=
what
dep_requires
=
property
(
__get_dep_requires
,
__set_dep_requires
)
def
__get_dep_depends_on
(
self
):
return
self
.
__dep_depends_on
def
__set_dep_depends_on
(
self
,
what
):
self
.
__dep_depends_on
=
what
dep_depends_on
=
property
(
__get_dep_depends_on
,
__set_dep_depends_on
)
def
_create_deps_requires
(
self
):
logging
.
error
(
str
(
type
(
self
))
+
" "
+
self
.
path
)
def
_create_deps_provides
(
self
):
logging
.
error
(
str
(
type
(
self
))
+
" "
+
self
.
path
)
hdlmake/srcfile.py
View file @
bef97f5f
...
...
@@ -21,7 +21,6 @@
#
from
__future__
import
print_function
#from dependable_file import DependableFile
import
os
import
logging
...
...
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