diff options
author | Mike Stirling <opensource@mikestirling.co.uk> | 2011-08-07 21:51:00 +0100 |
---|---|---|
committer | Mike Stirling <opensource@mikestirling.co.uk> | 2011-08-07 21:51:00 +0100 |
commit | e35a13f72d07f28528a333047756e93abb46ec29 (patch) | |
tree | 85fb07687c169c41bdc3aee3883714cb836d444f /sn76489-1.0 | |
parent | f35c061588243ec86742416e71686113625b77be (diff) | |
download | fpga-bbc-e35a13f72d07f28528a333047756e93abb46ec29.tar.gz fpga-bbc-e35a13f72d07f28528a333047756e93abb46ec29.tar.bz2 fpga-bbc-e35a13f72d07f28528a333047756e93abb46ec29.zip |
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).
Diffstat (limited to 'sn76489-1.0')
-rw-r--r-- | sn76489-1.0/sn76489_top.vhd | 12 |
1 files changed, 10 insertions, 2 deletions
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; |