Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Do you have any assignments to any other bits of WRITE_ENABLE_FIBRE_REG outside of the process? please post all of the code? --- Quote End --- Thanks for the interest. Unfortunately, I can't post the rest of the code. I can assure you that, other then WRITE_ENABLE_FIBRE_REG(0), there are no assignments outside this process. I tried expanding the loop from just 1~2 to 1~7 and that made no difference. I then tried creating an intermediary, and that worked.
process (CLK, RESET_N) is
begin
if CLK'event and CLK = '1' then -- rising clock edge
WRITE_ENABLE_FIBRE_REG_TEST(1) <= WRITE_ENABLE_FIBRE_REG(0);
for i in 2 to 7 loop
WRITE_ENABLE_FIBRE_REG_TEST(i) <= WRITE_ENABLE_FIBRE_REG_TEST(i - 1);
end loop; -- i
end if;
end process;
WRITE_ENABLE_FIBRE_REG (2 downto 1) <= WRITE_ENABLE_FIBRE_REG_TEST(2 downto 1); I can't explain why it would work one way and not the other, but since I have a work-around I'm going to leave it for now. For the record, this is with ModelSim - INTEL FPGA STARTER EDITION 10.5b Revision: 2016.10 Date: Oct 5 2016.