Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- A simple, parameterizable logic cell delay line example goes like this:
signal delay_line: std_logic_vector(DELAY-1 downto 0);
attribute keep: boolean;
attribute keep of delay_line: signal is true;
begin
gen_delay:
for i IN 1 TO DELAY-1 generate
delay_line(i) <= delay_line(i-1);
end generate;
delay_line(0) <= inp;
outp <= delay_line(DELAY-1); As discussed in another thread, the method doesn't work with CPLD (apart from MAX II, that is an embedded flash FPGA). --- Quote End --- Hi, But i can run this code on EPM7512AEQC144-12, the tool version is 9.1+sp1. Why?