]> rtime.felk.cvut.cz Git - fpga/pwm.git/commitdiff
In MCC unit MCC_ACK(4) forced to '1'
authorVladimir Burian <buriavl2@fel.cvut.cz>
Thu, 14 Apr 2011 22:26:40 +0000 (00:26 +0200)
committerVladimir Burian <buriavl2@fel.cvut.cz>
Thu, 14 Apr 2011 22:26:40 +0000 (00:26 +0200)
It ensures that MCC does not lock when executing nonexisting unit
in place 4, as this signal was uninitialized.

mcc.vhd

diff --git a/mcc.vhd b/mcc.vhd
index 156a84041bc65d2ba2185776ee5d0f146b231b4a..5cc1121164472a759efbe6508684efd2a3f355cb 100644 (file)
--- a/mcc.vhd
+++ b/mcc.vhd
@@ -146,6 +146,8 @@ begin
   PWM2_STB_O <= PWM_STB_O when PWM_SL_MUX_CODE = 1 else '0';
   PWM3_STB_O <= PWM_STB_O when PWM_SL_MUX_CODE = 2 else '0';
 
+  MCC_ACK (4) <= '1';
+
   
   mcc_master_1 : entity work.mcc_master
     generic map (