Skip to content

Commit

Permalink
Redistribute OSVVM with VUnit.
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAsplund committed Feb 3, 2015
1 parent 34cf501 commit 2e47931
Show file tree
Hide file tree
Showing 12 changed files with 7,266 additions and 2 deletions.
9 changes: 9 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
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/.

Copyright (c) 2014, Lars Asplund lars.anders.asplund@gmail.com

OSSVM under vhdl/osvvm
======================
License according to http://www.perlfoundation.org/artistic_license_2_0

Copyright (c) 2010 - 2014 by SynthWorks Design Inc. All rights reserved.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ Olof Kraigher

# License

VUnit is released under the terms of [Mozilla Public
VUnit except for OSVVM (see below) is released under the terms of [Mozilla Public
License, v. 2.0](http://mozilla.org/MPL/2.0/).

© 2014-2015 Lars Asplund, lars.anders.asplund@gmail.com.

OSVVM is redistributed with VUnit for your convenience and is located under [vhdl/osvvm](vhdl/osvvm). It is licensed under the terms of (ARTISTIC License)[http://www.perlfoundation.org/artistic_license_2_0].

© 2010 - 2014 by SynthWorks Design Inc. All rights reserved.


5 changes: 4 additions & 1 deletion acceptance_test/test_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Copyright (c) 2014-2015, Lars Asplund lars.anders.asplund@gmail.com

import unittest
from os.path import join, normpath, splitext
from os.path import join, normpath, splitext, abspath, commonprefix
from os import walk
from re import compile
from subprocess import Popen, PIPE, STDOUT
Expand All @@ -24,6 +24,9 @@ def test_that_a_valid_license_notice_exists_in_every_source_file_and_that_global
for f in files:
if 'preprocessed' in root:
continue
osvvm_directory = abspath(join('..', 'vhdl', 'osvvm'))
if commonprefix([osvvm_directory, abspath(join(root, f))]) == osvvm_directory:
continue
if splitext(f)[1] in ['.vhd', '.vhdl', '.py', '.v', '.sv']:
licensed_files.append(join(root, f))
i = 0
Expand Down
Loading

0 comments on commit 2e47931

Please sign in to comment.