OpenCores
URL https://opencores.org/ocsvn/s6soc/s6soc/trunk

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [rtl/] [cpu/] [cpuops.v] - Diff between revs 7 and 16

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 7 Rev 16
Line 238... Line 238...
                        //      = 2^32(ah*bh)
                        //      = 2^32(ah*bh)
                        //              +2^16 (ah*bl+al*bh)
                        //              +2^16 (ah*bl+al*bh)
                        //              +(al*bl)
                        //              +(al*bl)
                        //              - 2^31 (2^16 bh+bl + 2^16 ah+al + 2^31)
                        //              - 2^31 (2^16 bh+bl + 2^16 ah+al + 2^31)
                        //
                        //
                        reg     [31:0]   pp_f, pp_l; // pp_o, pp_i, pp_l;
                        reg     [31:0]   pp_f, pp_l; // F and L from FOIL
                        reg     [32:0]   pp_oi;
                        reg     [32:0]   pp_oi; // The O and I from FOIL
                        reg     [32:0]   pp_s;
                        reg     [32:0]   pp_s;
                        always @(posedge i_clk)
                        always @(posedge i_clk)
                        begin
                        begin
                                pp_f<=r_mpy_a_input[31:16]*r_mpy_b_input[31:16];
                                pp_f<=r_mpy_a_input[31:16]*r_mpy_b_input[31:16];
                                pp_oi<=r_mpy_a_input[31:16]*r_mpy_b_input[15: 0]
                                pp_oi<=r_mpy_a_input[31:16]*r_mpy_b_input[15: 0]

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.