VHDL driving signal from different processes

前端 未结 5 1077
醉梦人生
醉梦人生 2021-01-04 12:22

I have a little problem with following VHDL code:

process (zbroji)
begin
    if rising_edge(zbroji) then
        oduzima <= \'0\';
        ucitanPrvi <         


        
5条回答
  •  长情又很酷
    2021-01-04 12:56

    When you're changing same signal value from multiple process, the simulator will be creating multiple signal drivers for this. The output of them will essentially will be unresolved. Think of it as the output of multiple gates connected together, what do you expect?

    To overcome this, what you need to implement is, a resolution function, that drivers the output to signal.

    http://www.csee.umbc.edu/portal/help/VHDL/misc.html#resf

    If you have any doubts, let me know.

提交回复
热议问题