Forum Discussion
Altera_Forum
Honored Contributor
14 years agowhen sdi is 1, stsig becomes zero
when sdi is 0, stsig becomes one and if condition executes to assign to recbuf the zero sdi. if sdi becomes 1 then stsid is zero and else condition executes doing nothing to recbuf. so rebuf stays zero.