Altera_Forum
Honored Contributor
9 years agoWaveform Editor - odd inversion
Hi,
here is my code for a simple 8-bit counter with a decoded low signal for 1 clock period. signal Count: std_logic_vector(7 downto 0) := X"00"; if falling_edge(Bit_Clk_in) then Count <= std_logic_vector( unsigned(Count) + 1); end if; if Count(4 downto 0) = 24 then WritEn <= '0'; end if; if Count(4 downto 0) = 25 then WritEn <= '1'; write_address <= (write_address + 1) MOD 8; end if; I think this should produce a low pulse every 32 clock cycles but when I run a functional simulation in Waveform Editor the signal WriteEn is actually displayed as a single high going pulse. Has anybody else seen any thing like this? It is as if Waveform Editor has decided to invert the WriteEn signal for some reason any suggestions gratefully received PhilipJ