forked from olofk/fusesoc
-
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.
Test dependency resolution in CoreManager
The CoreManager provides the interface to the dependency resolution process. Add a test to check if the ordered list of files and dependencies is correct.
- Loading branch information
Showing
5 changed files
with
119 additions
and
0 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,16 @@ | ||
CAPI=2: | ||
name: ::deptree-child1 | ||
|
||
filesets: | ||
fs1: | ||
depend: | ||
- ::deptree-child3 | ||
files: | ||
- "child1-fs1-f1.sv" | ||
- "child1-fs1-f2.sv" | ||
fileType: systemVerilogSource | ||
|
||
targets: | ||
default: | ||
filesets: | ||
- fs1 |
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,14 @@ | ||
CAPI=2: | ||
name: ::deptree-child2 | ||
|
||
filesets: | ||
fs1: | ||
files: | ||
- "child2-fs1-f1.sv" | ||
- "child2-fs1-f2.sv" | ||
fileType: systemVerilogSource | ||
|
||
targets: | ||
default: | ||
filesets: | ||
- fs1 |
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,14 @@ | ||
CAPI=2: | ||
name: ::deptree-child3 | ||
|
||
filesets: | ||
fs1: | ||
files: | ||
- "child3-fs1-f1.sv" | ||
- "child3-fs1-f2.sv" | ||
fileType: systemVerilogSource | ||
|
||
targets: | ||
default: | ||
filesets: | ||
- fs1 |
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,28 @@ | ||
CAPI=2: | ||
name: ::deptree-root | ||
|
||
filesets: | ||
fs1: | ||
depend: | ||
# Child 3 is also included from child1; having it listed first here should | ||
# ensure that the files from child3 appear before the files from child2. | ||
- ::deptree-child3 | ||
- ::deptree-child2 | ||
- ::deptree-child1 | ||
files: | ||
- "root-fs1-f1.sv" | ||
- "root-fs1-f2.sv" | ||
fileType: systemVerilogSource | ||
fs2: | ||
depend: | ||
- ::deptree-child3 | ||
files: | ||
- "root-fs2-f1.sv" | ||
- "root-fs2-f2.sv" | ||
fileType: systemVerilogSource | ||
|
||
targets: | ||
default: | ||
filesets: | ||
- fs1 | ||
- fs2 |
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