Forum Discussion
Altera_Forum
Honored Contributor
16 years agoWarning : Inferring latches for signal or varialbe
Hi all, Am new to VHDL and this forum. When executing my VHDL code am getting following warning "Inferring latches for signal or variable "datain_mem" which holds its previous value in one ...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Change the asynchronous process to a synchronous one. process(clk,wr_s,memdrive_s,aludrive_s,ld_x_s,ld_y _s,mainbus,dataout_m,math_out) begin if rising_edge(clk) then if (wr_s = '1') then datain_mem <= mainbus ; ..... .... ... --- Quote End --- and you can remove all signals except clk from the sensitivity list.