path: root/zpu/hdl/zpu4/src
diff options
authoroharboe <oharboe>2008-06-18 17:04:44 +0000
committeroharboe <oharboe>2008-06-18 17:04:44 +0000
commit8c213415fe0ddc1f9eae0b96e023eb89f89d1c47 (patch)
treeb2ec69cc0eccf470256898f5c7d51b2a49f9376d /zpu/hdl/zpu4/src
parent0711a2b4fc2dec8bf65e5821095bed895976b83a (diff)
I'm also attaching another patch which removes unisim/roc dependency
(it was used just to pulse the areset) and fixes paths for building the ghdl examples out of the box. I guess this is the easiest way to get zpu running on linux with minimum effort. You should check if the areset change doesn't break modelsim. It feels much simpler this way and seems to work the same, i might be missing something.
Diffstat (limited to 'zpu/hdl/zpu4/src')
1 files changed, 1 insertions, 0 deletions
diff --git a/zpu/hdl/zpu4/src/io.vhd b/zpu/hdl/zpu4/src/io.vhd
index f71f51d..e2576e2 100644
--- a/zpu/hdl/zpu4/src/io.vhd
+++ b/zpu/hdl/zpu4/src/io.vhd
@@ -54,6 +54,7 @@ begin
timer_we <= writeEnable and addr(12);
process(areset, clk)
+ variable taddr : std_logic_vector(maxAddrBit downto 0);
taddr := (others => '0');
taddr(maxAddrBit downto minAddrBit) := addr;
OpenPOWER on IntegriCloud