Commit d76d3a71 authored by Andela Kostic's avatar Andela Kostic Committed by Tristan Gingold

Support also streamers-on-spec_trigger-distribution testbench

The software has been slightly changed so that it also supports the streamers-on-spec_trigger-distribution testbench.
Now, both wrc_core and streamers-on-spec_trigger-distribution testbenches are supported.
parent 1c80a968
......@@ -202,10 +202,10 @@ void main(void)
/* Initialize HDL testbench structure */
ptr_hdl_testbench = (struct hdl_testbench_t *) HDL_TESTBENCH_PADDR;
wrc_sim_initialize();
/* Check if testbench wrote data */
while (ptr_hdl_testbench->flag != TESTBENCH_FLAG);
wrc_sim_initialize();
if (ptr_hdl_testbench->magic != TESTBENCH_MAGIC
|| ptr_hdl_testbench->version != TESTBENCH_VERSION) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment