Subject: [sv-ac] Re: more advanced sampling
From: John Havlicek (john.havlicek@motorola.com)
Date: Thu Feb 13 2003 - 21:39:48 PST
Sorry about a typo in my CBV code:
> task sum_check_recur(const n[0:3], x[0:7], y[0:7], b[0:0], const sum[0:7]);
> begin
> if (next_high(b))
> if (n == 4'h1)
> y == sum;
> else
> begin
> local temp_sum[0:7] = sum + x;
> +(1) : sum_check(n-1, x, y, b, temp_sum);
^^^^^^^^^
sum_check_recur
> end
> end
> endtask
J.H.
This archive was generated by hypermail 2b28 : Thu Feb 13 2003 - 21:40:37 PST