From e35a13f72d07f28528a333047756e93abb46ec29 Mon Sep 17 00:00:00 2001 From: Mike Stirling Date: Sun, 7 Aug 2011 21:51:00 +0100 Subject: Swapped DFS ROM to original Acorn version and added two composite ROM images, one with real DFS and one with MMBEEB ROM. Re-registered a few signals to help meet timing (still not quite there). --- sn76489-1.0/sn76489_top.vhd | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'sn76489-1.0') diff --git a/sn76489-1.0/sn76489_top.vhd b/sn76489-1.0/sn76489_top.vhd index d08fc14..277f601 100644 --- a/sn76489-1.0/sn76489_top.vhd +++ b/sn76489-1.0/sn76489_top.vhd @@ -196,7 +196,15 @@ begin noise_o => noise_s ); - - aout_o <= tone1_s + tone2_s + tone3_s + noise_s; + + -- Register output + process(clock_i) + begin + if res_n_i = '0' then + aout_o <= (others => '0'); + elsif rising_edge(clock_i) then + aout_o <= tone1_s + tone2_s + tone3_s + noise_s; + end if; + end process; end struct; -- cgit v1.2.3