Warning (10631): VHDL Process Statement warning at my_latch.vhd(37): inferring latch(es) for signal or variable "out_0", which holds its previous value in one or more paths through the process;. I2 u# h6 T. P6 h
Warning: Found combinational loop of 1 nodes" o D) i8 k4 i8 ]/ b' u
Warning: Node "my_latch:inst14|out_3~16"; ! q) s; T4 P F这两个警告如何消除啊?? 2 W; h. ^3 x. z9 ~ : J# I) W! G2 b3 ?. b2 _' IWarning (10631): VHDL Process Statement warning at my_latch.vhd(37): inferring latch(es) for signal or variable "out_0", which holds its previous value in one or more paths through the process;5 q" h6 d: @5 ?0 Q9 l2 U0 l0 ^2 f
这个警告的话,是因为编写VHDL语言时,用了不完整的IF语句,产生了锁存器,为什么很多资料中提到在VHDL语言中尽量避免使用不完整的IF语句,也就是说尽量不要使用锁存器??但在实际使用中确实需要实现输出锁存,该如何解决啊?谢谢啊!!!