Altera_Forum
Honored Contributor
12 years agomatrix multiplexing problem
Hello everyone
I working on "image processing" project that implemented on DE2-70 board. The project based on 2D convolution between image and convolution kernel. The result presented on PC screen using VGA. A few days ago i got good results, and now i want to add option to select different "kernels" by using SW on DE2-70 board. To do this, i tried to use MUX in all know ways (IF, CASE, WHEN, WITH SELECT). But unfortunately every time i get the same warning messages and my project stop workingWarning (14284): Synthesized away the following node(s):
Warning (14285): Synthesized away the following LCELL buffer node(s):
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_X:C2|lpm_mult:Mult5|mult_fus:auto_generated|le5a"
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_X:C2|lpm_mult:Mult5|mult_fus:auto_generated|le5a"
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_Y:C1|lpm_mult:Mult3|mult_fus:auto_generated|le5a"
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_Y:C1|lpm_mult:Mult3|mult_fus:auto_generated|le5a"
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_Y:C1|lpm_mult:Mult1|mult_fus:auto_generated|le5a"
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_Y:C1|lpm_mult:Mult1|mult_fus:auto_generated|le5a"
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_X:C2|lpm_mult:Mult15|mult_fus:auto_generated|le5a"
Warning (14320): Synthesized away node "system_edge:SOBEL|conv_2d_X:C2|lpm_mult:Mult15|mult_fus:auto_generated|le5a"
The part of the code where i try to use MUX (last 5 lines are under comment) --========== Convolution Kernel Declaration ==========--
process(rst, kernel_sel)
begin
if(rst'event and rst = '0')then
if(kernel_sel = '0')then
kernel <= ( (X"00", X"00", X"00", X"00", X"00"),
(X"00", X"01", X"00", X"ff", X"00"),
(X"00", X"02", X"00", X"fe", X"00"),
(X"00", X"01", X"00", X"ff", X"00"),
(X"00", X"00", X"00", X"00", X"00") );
else
kernel <= ( (X"01", X"02", X"00", X"fe", X"ff"),
(X"04", X"08", X"00", X"f8", X"fc"),
(X"06", X"0c", X"00", X"f4", X"fa"),
(X"04", X"08", X"00", X"f8", X"fc"),
(X"01", X"02", X"00", X"fe", X"ff") );
end if;
end if;
end process;
-- kernel <= ( (X"01", X"02", X"00", X"fe", X"ff"),
-- (X"04", X"08", X"00", X"f8", X"fc"),
-- (X"06", X"0c", X"00", X"f4", X"fa"),
-- (X"04", X"08", X"00", X"f8", X"fc"),
-- (X"01", X"02", X"00", X"fe", X"ff") );
--====================================================-- Do someone have any idea what the reason to warning messages and how can i solve this problem....? The whole code is attached (used as a "component" in the project) Thanks in advance