forked from VUnit/vunit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made OSVVM a submodule of the VUnit repo.
- Loading branch information
1 parent
d22645a
commit 1f290d4
Showing
31 changed files
with
80 additions
and
11,407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "vunit/vhdl/osvvm"] | ||
path = vunit/vhdl/osvvm | ||
url = https://github.com/JimLewis/OSVVM.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
All files except for OSVVM under vhdl/osvvm | ||
=========================================== | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
You can obtain one at http://mozilla.org/MPL/2.0/. | ||
VUnit | ||
----- | ||
|
||
VUnit except for OSVVM (see below) is released under the terms of | ||
Mozilla Public License, v. 2.0. | ||
|
||
Copyright (c) 2014-2016, Lars Asplund [email protected] | ||
|
||
OSSVM under vhdl/osvvm | ||
====================== | ||
License according to http://www.perlfoundation.org/artistic_license_2_0 | ||
OSVVM | ||
----- | ||
|
||
OSVVM is redistributed as a submodule to VUnit for your convenience. OSVVM and derivative work | ||
located under examples/vhdl/osvvm_integration/src are licensed under the terms of Artistic License 2.0. | ||
|
||
Copyright (c) 2010 - 2015 by SynthWorks Design Inc. All rights reserved. | ||
Copyright (c) 2006-2016, SynthWorks Design Inc http://www.synthworks.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,29 +12,18 @@ often" approach through automation. | |
|
||
License | ||
======= | ||
|
||
.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGN | ||
|
||
VUnit | ||
----- | ||
|
||
VUnit except for OSVVM (see below) is released under the terms of | ||
`Mozilla Public License, v. 2.0`_. | ||
Mozilla Public License, v. 2.0. | ||
|
||
|copy| 2014-2016 Lars Asplund, [email protected]. | ||
Copyright (c) 2014-2016, Lars Asplund [email protected] | ||
|
||
OSVVM | ||
----- | ||
|
||
OSVVM 2015.03 is `redistributed`_ with VUnit for your convenience. Minor | ||
`modifications`_ have been made to enable GHDL support. Derivative work | ||
is also located under `examples/vhdl/osvvm\_integration/src`_. These | ||
files are licensed under the terms of `ARTISTIC License`_. | ||
|
||
|copy| 2010 - 2015 by SynthWorks Design Inc. All rights reserved. | ||
OSVVM is redistributed as a submodule to VUnit for your convenience. OSVVM and derivative work | ||
located under examples/vhdl/osvvm_integration/src are licensed under the terms of Artistic License 2.0. | ||
|
||
.. _Mozilla Public License, v. 2.0: http://mozilla.org/MPL/2.0/ | ||
.. _redistributed: https://github.com/VUnit/vunit/blob/master/vunit/vhdl/osvvm | ||
.. _modifications: https://github.com/VUnit/vunit/commit/25fce1b3700e746c3fa23bd7157777dd4f20f0d6 | ||
.. _examples/vhdl/osvvm\_integration/src: https://github.com/VUnit/vunit/blob/master/examples/vhdl/osvvm_integration/src | ||
.. _ARTISTIC License: http://www.perlfoundation.org/artistic_license_2_0 | ||
Copyright (c) 2006-2016, SynthWorks Design Inc http://www.synthworks.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,9 @@ | |
|
||
from setuptools import setup | ||
from vunit.about import version, doc | ||
from vunit.builtins import osvvm_is_installed | ||
import os | ||
|
||
from logging import warning | ||
|
||
def find_all_files(directory, endings=None): | ||
""" | ||
|
@@ -59,3 +60,12 @@ def find_all_files(directory, endings=None): | |
author_email='[email protected]', | ||
description="VUnit is an open source unit testing framework for VHDL/SystemVerilog.", | ||
long_description=doc()) | ||
|
||
if not osvvm_is_installed(): | ||
warning(""" | ||
Found no OSVVM VHDL files. If you're installing from a Git repository and plan to use VUnit's integration | ||
of OSVVM you should run | ||
git submodule update --init --recursive | ||
in your VUnit repository before running setup.py.""") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,35 @@ | |
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (c) 2016, Lars Asplund [email protected] | ||
# Copyright (c) 2015-2016, Lars Asplund [email protected] | ||
|
||
""" | ||
Provides documentation and version information | ||
""" | ||
|
||
|
||
def license_text(): | ||
""" | ||
Returns licence text | ||
""" | ||
return """VUnit | ||
----- | ||
VUnit except for OSVVM (see below) is released under the terms of | ||
Mozilla Public License, v. 2.0. | ||
Copyright (c) 2014-2016, Lars Asplund [email protected] | ||
OSVVM | ||
----- | ||
OSVVM is redistributed as a submodule to VUnit for your convenience. OSVVM and derivative work | ||
located under examples/vhdl/osvvm_integration/src are licensed under the terms of Artistic License 2.0. | ||
Copyright (c) 2006-2016, SynthWorks Design Inc http://www.synthworks.com | ||
""" | ||
|
||
|
||
def doc(): | ||
""" | ||
Returns short introduction to VUnit | ||
|
@@ -27,37 +49,11 @@ def doc(): | |
License | ||
======= | ||
.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGN | ||
VUnit | ||
----- | ||
VUnit except for OSVVM (see below) is released under the terms of | ||
`Mozilla Public License, v. 2.0`_. | ||
|copy| 2014-2016 Lars Asplund, [email protected]. | ||
OSVVM | ||
----- | ||
OSVVM 2015.03 is `redistributed`_ with VUnit for your convenience. Minor | ||
`modifications`_ have been made to enable GHDL support. Derivative work | ||
is also located under `examples/vhdl/osvvm\_integration/src`_. These | ||
files are licensed under the terms of `ARTISTIC License`_. | ||
|copy| 2010 - 2015 by SynthWorks Design Inc. All rights reserved. | ||
.. _Mozilla Public License, v. 2.0: http://mozilla.org/MPL/2.0/ | ||
.. _redistributed: https://github.com/VUnit/vunit/blob/master/vunit/vhdl/osvvm | ||
.. _modifications: https://github.com/VUnit/vunit/commit/25fce1b3700e746c3fa23bd7157777dd4f20f0d6 | ||
.. _examples/vhdl/osvvm\_integration/src: https://github.com/VUnit/vunit/blob/master/examples/vhdl/osvvm_integration/src | ||
.. _ARTISTIC License: http://www.perlfoundation.org/artistic_license_2_0 | ||
""" | ||
""" + license_text() | ||
|
||
|
||
def version(): | ||
""" | ||
Returns VUnit version | ||
""" | ||
return '0.67.0-rc.1' | ||
return '0.67.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
-- License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
-- You can obtain one at http://mozilla.org/MPL/2.0/. | ||
-- | ||
-- Copyright (c) 2014-2015, Lars Asplund [email protected] | ||
-- Copyright (c) 2014-2016, Lars Asplund [email protected] | ||
|
||
-- @TODO > 32-bit ieee signed/unsigned | ||
|
||
|
Oops, something went wrong.