Dummy code for processes
This commit is contained in:
parent
e38494a10c
commit
05de2f56b4
|
|
@ -44,6 +44,16 @@ void error(const char *fmt, ...)
|
||||||
g_errors++;
|
g_errors++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int dummy(ivl_process_t net, void *cd)
|
||||||
|
{
|
||||||
|
std::cout << "process" << std::endl;
|
||||||
|
|
||||||
|
ivl_scope_t scope = ivl_process_scope(net);
|
||||||
|
std::cout << ivl_scope_name(scope) << std::endl;
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" int target_design(ivl_design_t des)
|
extern "C" int target_design(ivl_design_t des)
|
||||||
{
|
{
|
||||||
ivl_scope_t *roots;
|
ivl_scope_t *roots;
|
||||||
|
|
@ -67,6 +77,8 @@ extern "C" int target_design(ivl_design_t des)
|
||||||
test_ent.emit(outfile);
|
test_ent.emit(outfile);
|
||||||
test_arch.emit(outfile);
|
test_arch.emit(outfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ivl_design_process(des, dummy, 0);
|
||||||
|
|
||||||
outfile.close();
|
outfile.close();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue