pritin
Newbie level 3
how to implement the following function in verilog
Δ = clip ( -c , c , ((q0-p0)<<2 + (p1-q1)+4)>>3)
where clip(a,b,c) is a clipping function that clips c to a value b/w a and b.
Δ = clip ( -c , c , ((q0-p0)<<2 + (p1-q1)+4)>>3)
where clip(a,b,c) is a clipping function that clips c to a value b/w a and b.