-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add initial work on signals. * WIP * WIP * Add ternary operator. * Work on docs. * Add various other signal utilities. * Try to integrate codecov. * Fix codecov integration and try to get Travis caching to work. * Attempt to fix codecov. * Attempt to fix caching. * Improve coverage. * Fix a compilation error. * Improve test coverage. * Add code coverage badge. * Improve test coverage. * WIP * Remove constant signals. Improve test coverage. * Fix .gitignore. * Fix Travis CI. * Improve test coverage. * Fix lcov macro names. * Improve interface of lazy_reader. * Add core signal tests.
- Loading branch information
Showing
42 changed files
with
3,164 additions
and
1,875 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.fips-* | ||
.vscode | ||
.python | ||
.lcov.info | ||
.venv | ||
|
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
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,13 @@ | ||
#include <alia/signals.hpp> | ||
|
||
using namespace alia; | ||
|
||
void | ||
f() | ||
{ | ||
auto s = value(0); | ||
signal_is_readable(s); | ||
#ifdef ALIA_TEST_COMPILATION_FAILURE | ||
signal_is_writable(s); | ||
#endif | ||
} |
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,23 @@ | ||
#include <alia/signals.hpp> | ||
|
||
using namespace alia; | ||
|
||
void | ||
g(input<int> x) | ||
{ | ||
} | ||
|
||
void | ||
h(inout<int> x) | ||
{ | ||
} | ||
|
||
void | ||
f() | ||
{ | ||
auto s = value(0); | ||
g(s); | ||
#ifdef ALIA_TEST_COMPILATION_FAILURE | ||
h(s); | ||
#endif | ||
} |
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,12 @@ | ||
#include <alia/signals.hpp> | ||
|
||
using namespace alia; | ||
|
||
void | ||
f() | ||
{ | ||
signal_direction_intersection<read_only_signal, two_way_signal>::type(); | ||
#ifdef ALIA_TEST_COMPILATION_FAILURE | ||
signal_direction_intersection<read_only_signal, write_only_signal>::type(); | ||
#endif | ||
} |
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,12 @@ | ||
#include <alia/signals.hpp> | ||
|
||
using namespace alia; | ||
|
||
void | ||
f() | ||
{ | ||
signal_direction_intersection<write_only_signal, two_way_signal>::type(); | ||
#ifdef ALIA_TEST_COMPILATION_FAILURE | ||
signal_direction_intersection<write_only_signal, read_only_signal>::type(); | ||
#endif | ||
} |
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
Oops, something went wrong.