[sv-bc] Erratta -typo in example

From: Dave Rich <David.Rich@synopsys.com>
Date: Thu Apr 15 2004 - 15:17:16 PDT

To please those that desire mathematical perfection :-) :

Replace the example at the end of section 18.2

function Complex mul(Complex a, b);
mul.r = (a.r * b.r) + (a.i * b.i);
mul.i = (a.r * b.i) + (a.i * b.r);
endfunction

WITH

function Complex mul(Complex a, b);
mul.r = (a.r * b.r) - (a.i * b.i);
mul.i = (a.r * b.i) + (a.i * b.r);
endfunction

Dave

-- 
--
David.Rich@Synopsys.com
Technical Marketing Consultant and/or
Principal Product Engineer
http://www.SystemVerilog.org
tele:  650-584-4026
cell:  510-589-2625
Received on Thu Apr 15 15:17:19 2004

This archive was generated by hypermail 2.1.8 : Thu Apr 15 2004 - 15:17:51 PDT