|
Bitstream Interpretation Library (BIL)
0.1
|
Contains definition of xdlcmp compare functions. More...
#include <algorithm>#include <iterator>#include <test/xdlcmp/xdlcmpAlgo.hpp>#include <xdl/writer/PIPRefString.hpp>
Go to the source code of this file.
Functions | |
| void | getPIPs (const Design &design, PIPRefs &pipRefs) |
| Gets all PIPs of a design. | |
| void | comparePIPs (const PIPRefs &refPIPRefs, const PIPRefs &testPIPRefs, const Device &device, std::ostream &outputStream) |
| Compares two PIP lists and prints the results. | |
Variables | |
| const char *const | PIPSPRESENT1_MSG = "PIPs present in reference design, but not in test design:\n" |
| const char *const | PIPSPRESENT2_MSG = "\nPIPs present in test design, but not in reference design:\n" |
| const char *const | PIPSSTATS1_MSG = "\nPIPs in reference design: " |
| const char *const | PIPSSTATS2_MSG = "Correct PIPs in test design: " |
| const char *const | PIPSSTATS3_MSG = "Missing PIPs in test design: " |
| const char *const | PIPSSTATS4_MSG = "Incorrect PIPs in test design: " |
| const char *const | PIP_MSG = "pip" |
| const char | ENDLN = '\n' |
Contains definition of xdlcmp compare functions.
Definition in file xdlcmpAlgo.cpp.
| void getPIPs | ( | const bil::Design & | design, |
| bil::PIPRefs & | pipRefs | ||
| ) |
Gets all PIPs of a design.
| design | The design to get PIPs from. |
| pipRefs | The PIP list to fill. |
Definition at line 23 of file xdlcmpAlgo.cpp.
| void comparePIPs | ( | const bil::PIPRefs & | refPIPRefs, |
| const bil::PIPRefs & | testPIPRefs, | ||
| const bil::Device & | device, | ||
| std::ostream & | outputStream | ||
| ) |
Compares two PIP lists and prints the results.
| refPIPRefs | Reference list of PIPs. |
| testPIPRefs | Test list of PIPs. |
| device | Device the PIPs belong to. |
| outputStream | Stream to write to comparison results. |
| . |
Definition at line 43 of file xdlcmpAlgo.cpp.
| const char* const PIPSPRESENT1_MSG = "PIPs present in reference design, but not in test design:\n" |
Definition at line 13 of file xdlcmpAlgo.cpp.
| const char* const PIPSPRESENT2_MSG = "\nPIPs present in test design, but not in reference design:\n" |
Definition at line 14 of file xdlcmpAlgo.cpp.
| const char* const PIPSSTATS1_MSG = "\nPIPs in reference design: " |
Definition at line 15 of file xdlcmpAlgo.cpp.
| const char* const PIPSSTATS2_MSG = "Correct PIPs in test design: " |
Definition at line 16 of file xdlcmpAlgo.cpp.
| const char* const PIPSSTATS3_MSG = "Missing PIPs in test design: " |
Definition at line 17 of file xdlcmpAlgo.cpp.
| const char* const PIPSSTATS4_MSG = "Incorrect PIPs in test design: " |
Definition at line 18 of file xdlcmpAlgo.cpp.
| const char* const PIP_MSG = "pip" |
Definition at line 19 of file xdlcmpAlgo.cpp.
| const char ENDLN = '\n' |
Definition at line 20 of file xdlcmpAlgo.cpp.
1.8.1.1