[test] add a new unit test
This commit is contained in:
parent
22bee35fd1
commit
272d78eb43
|
@ -22,6 +22,10 @@ int main(int argc, const char** argv) {
|
||||||
|
|
||||||
/* Validate before write out */
|
/* Validate before write out */
|
||||||
if (!clk_ntwk.link()) {
|
if (!clk_ntwk.link()) {
|
||||||
|
VTR_LOG_ERROR("Invalid clock network when linking.\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
if (!clk_ntwk.validate()) {
|
||||||
VTR_LOG_ERROR("Invalid clock network.\n");
|
VTR_LOG_ERROR("Invalid clock network.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue