Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- thanks tricky... I dont understand what is initial value of output_ref?? So how it can be compared --- Quote End --- Sorry, I should have initialised it - you could do it like this: signal output_ref : unsigned(Nbits-1 downto 0) := (others => '0'); --or whatever value you want or with a reset.