taijusti / sleep_apnea

0 stars 0 forks source link

Infinite Loop for device.cpp #16

Closed taijusti closed 9 years ago

taijusti commented 9 years ago

data streaming model in hardware is expressed in hls as an infinite loop which reads and processes stuff from a fifo. however, this makes no sense in software and is untestable since the function representing the top level will never return. need to investigate how to implement this.

taijusti commented 9 years ago

i think this is correct way of doing this. i've wrapped the infinite loop with #ifdef's which turn off when its in c simulation mode