From f35c061588243ec86742416e71686113625b77be Mon Sep 17 00:00:00 2001 From: Mike Stirling Date: Sun, 7 Aug 2011 20:24:34 +0100 Subject: Get rid of an inferred latch in 6522. Doesn't seem to break anything! --- m6522.vhd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/m6522.vhd b/m6522.vhd index 7cd026c..e01ed10 100644 --- a/m6522.vhd +++ b/m6522.vhd @@ -602,9 +602,9 @@ begin begin done := (t1c = x"0000"); t1c_done <= done and (phase = "11"); - if (phase = "11") then + --if (phase = "11") then t1_reload_counter <= done and (r_acr(6) = '1'); - end if; + --end if; end process; p_timer1 : process @@ -655,9 +655,9 @@ begin begin done := (t2c = x"0000"); t2c_done <= done and (phase = "11"); - if (phase = "11") then + --if (phase = "11") then t2_reload_counter <= done; - end if; + --end if; end process; p_timer2 : process -- cgit v1.2.3