vhdl代码有点问题,求助
潺月 2014-03-03 09:17:32 其中的一段代码,报错
Error (10500): VHDL syntax error at nlm.vhd(258) near text "PROCESS"; expecting "(", or an identifier ("process" is a reserved keyword), or a sequential statement
Error (10500): VHDL syntax error at nlm.vhd(259) near text "VARIABLE"; expecting ":=", or "<="
Error (10500): VHDL syntax error at nlm.vhd(260) near text "BEGIN"; expecting "end", or "(", or an identifier ("begin" is a reserved keyword), or a sequential statement
Error (10500): VHDL syntax error at nlm.vhd(270) near text "process"; expecting "if"
p3: PROCESS(OUT_tran) -- ourput image data
VARIABLE line_v : LINE;
BEGIN
if (OUT_tran'event and OUT_tran='1') then
for i in 1 to row/w loop
for j in 1 to col/w loop
write( line_v, OUT_data( i,j) );
write( line_v, ' ');
end loop;
writeline( OUTfile, line_v);
end loop;
end if;
end process p3;