URL
https://opencores.org/ocsvn/tcp_socket/tcp_socket/trunk
Subversion Repositories tcp_socket
[/] [tcp_socket/] [trunk/] [chips2/] [test_suite/] [slow_consumer.c] - Rev 2
Compare with Previous | Blame | View Log
void consumer(){ wait_clocks(1000); assert(input_a()==1); wait_clocks(1000); assert(input_a()==2); wait_clocks(1000); assert(input_a()==3); wait_clocks(1000); assert(input_a()==4); wait_clocks(1000); assert(input_a()==5); wait_clocks(1000); assert(input_a()==6); wait_clocks(1000); assert(input_a()==7); wait_clocks(1000); assert(input_a()==8); wait_clocks(1000); assert(input_a()==9); wait_clocks(1000); assert(input_a()==10); report(1); }