URL
https://opencores.org/ocsvn/raytrac/raytrac/trunk
[/] [raytrac/] [branches/] [fp/] [dpc.vhd] - Diff between revs 175 and 176
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 175 |
Rev 176 |
Line 254... |
Line 254... |
sres24f <= resf_vector(2);
|
sres24f <= resf_vector(2);
|
sres567f <= resf_vector(3);
|
sres567f <= resf_vector(3);
|
fullQ:process(sres0f,sres123f,sres24f,sres567f,unary,crossprod,addsub,eoi_int)
|
fullQ:process(sres0f,sres123f,sres24f,sres567f,unary,crossprod,addsub,eoi_int)
|
begin
|
begin
|
if unary='0' then
|
if unary='0' then
|
if crossprod='1' or addsub='1' then
|
if addsub='1' then
|
--! Suma, Resta o Producto Cruz
|
--! Suma o Resta
|
eoi_demuxed_int <= "00"&eoi_int&'0';
|
eoi_demuxed_int <= "00"&eoi_int&'0';
|
resf_event <= sres123f;
|
resf_event <= sres123f;
|
else
|
elsif crossprod='0' then
|
--! Producto Punto
|
--! Producto Punto
|
eoi_demuxed_int <= '0'&eoi_int&"00";
|
eoi_demuxed_int <= '0'&eoi_int&"00";
|
resf_event <= sres24f;
|
resf_event <= sres24f;
|
|
else
|
|
--! Producto Cruz
|
|
eoi_demuxed_int <= "00"&eoi_int&'0';
|
|
resf_event <= sres123f;
|
end if;
|
end if;
|
elsif crossprod='1' then
|
elsif crossprod='1' then
|
|
|
--! Normalización o Producto Escalar
|
--! Normalización o Producto Escalar
|
eoi_demuxed_int <= eoi_int&"000";
|
eoi_demuxed_int <= eoi_int&"000";
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.