嗨,
这些是我的代码中的2个过程。
matrix_array_col是一个整数:2080
no_of_zones_s也是一个整数:12
我正在检查mode_variable寄存器,如果它是0 zone_coverage_s = 2080/12
else zone_coverage_s = 2080。
我在下一个进程中的for循环中使用了这个zone_coverage_s vallue。for循环显示错误。请看.can我喜欢这样吗?
--------------------------------------------------
--------------------------------------------------
----------------
进程(
FPGA_pixclk_i,mode_variable)如果(mode_variable ='0')则开始,然后是zone_coverage_s
Netlist binarising_data(3,2079,7,12,3,3,5,5,5,5)(行为)
由于其内容错误,仍然是黑盒子
感谢你,Mahesh Hegde。
以上来自于谷歌翻译
以下为原文
Hi,
These are the 2 process in my code.
matrix_array_col is an integer : 2080
no_of_zones_s is also an integer : 12
i am checking mode_variable register if it is 0 zone_coverage_s = 2080/12
else zone_coverage_s = 2080.
i am taking this zone_coverage_s vallue in the for loop in next process.for loop is showing error.please see.can i do like this?
--------------------------------------------------------------------------------------------------------------------
process(fpga_pixclk_i,mode_variable)
begin
if(mode_variable = '0') then
zone_coverage_s <= matrix_array_col/no_of_zones_s;
else
zone_coverage_s <= matrix_array_col;
end if;
end process;
process(fpga_pixclk_i,mode_variable,st_col_add_s,zone_coverage_s)
begin
for i in 0 to zone_coverage_s loop
.......................
......................
end loop;
end process;
----------------------------------------------------------------------------------------------------------------------
ERROR:HDLCompiler:767 -"D:XilinxMahesh_ProjectDot_Detection_Blockfull_module_of_dot_detection.vhd"Line 212: Right range bound is not constant
Netlist binarising_data(3,2079,7,12,3,3,5,5,5,5)(behavioral)remains a blackbox, due to errors in its contents
Thanks You in Advance,
Mahesh Hegde.
0