Re: [myhdl-list] intbv.saturate, intbv.wrap
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2008-06-28 21:14:32
|
Christopher L. Felton wrote: > I missed the earlier discussion, but my opinion the wrap is used very > often in DSP applications. Any time you use an integrator (CIC, loop > filters, etc) you frequently take advantage of the wrap. Even FIR > filters will often use the wrap "feature". I suspect those DSP algorithms are not specified in Verilog/VHDL. It wouldn't be surprizing if the specs used modulo operations - the high-level version of a wrap. We could do this in MyHDL also, even at the RTL level. (I have often done this in VHDL.) Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Kaboutermansstraat 97, B-3000 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |