From 92bbd186ca957732a1dcbb185935ed0d000717de Mon Sep 17 00:00:00 2001 From: gardners Date: Sun, 8 Mar 2015 13:34:16 +1030 Subject: [PATCH] more compiler error fixes for cache. --- c64accel.xise | 18 +++++++++++------- ghdl_ram151x512.vhdl | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/c64accel.xise b/c64accel.xise index d788d760..48134ea8 100644 --- a/c64accel.xise +++ b/c64accel.xise @@ -17,14 +17,14 @@ - + - + @@ -100,7 +100,7 @@ - + @@ -220,11 +220,11 @@ - + - + @@ -424,11 +424,15 @@ - + - + + + + + diff --git a/ghdl_ram151x512.vhdl b/ghdl_ram151x512.vhdl index 0db109cf..a996ec69 100644 --- a/ghdl_ram151x512.vhdl +++ b/ghdl_ram151x512.vhdl @@ -30,7 +30,7 @@ begin -- behavioural begin if(rising_edge(Clka)) then if wea(0)='1' then - ram(to_integer(unsigned(addraa))) <= dina; + ram(to_integer(unsigned(addra))) <= dina; end if; doutb <= ram(to_integer(unsigned(addrb)));