URL
https://opencores.org/ocsvn/t80/t80/trunk
[/] [t80/] [trunk/] [rtl/] [vhdl/] [T80se.vhd] - Diff between revs 18 and 23
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 18 |
Rev 23 |
Line 1... |
Line 1... |
--
|
--
|
-- Z80 compatible microprocessor core, synchronous top level with clock enable
|
-- Z80 compatible microprocessor core, synchronous top level with clock enable
|
-- Different timing than the original z80
|
-- Different timing than the original z80
|
-- Inputs needs to be synchronous and outputs may glitch
|
-- Inputs needs to be synchronous and outputs may glitch
|
--
|
--
|
-- Version : 0236
|
-- Version : 0237
|
--
|
--
|
-- Copyright (c) 2001-2002 Daniel Wallner (jesus@opencores.org)
|
-- Copyright (c) 2001-2002 Daniel Wallner (jesus@opencores.org)
|
--
|
--
|
-- All rights reserved
|
-- All rights reserved
|
--
|
--
|
Line 48... |
Line 48... |
--
|
--
|
-- 0235 : First release
|
-- 0235 : First release
|
--
|
--
|
-- 0236 : Added T2Write generic
|
-- 0236 : Added T2Write generic
|
--
|
--
|
|
-- 0237 : Fixed T2Write with wait state
|
|
--
|
|
|
library IEEE;
|
library IEEE;
|
use IEEE.std_logic_1164.all;
|
use IEEE.std_logic_1164.all;
|
use IEEE.numeric_std.all;
|
use IEEE.numeric_std.all;
|
use work.T80_Pack.all;
|
use work.T80_Pack.all;
|
Line 155... |
Line 157... |
WR_n <= '0';
|
WR_n <= '0';
|
IORQ_n <= not IORQ;
|
IORQ_n <= not IORQ;
|
MREQ_n <= IORQ;
|
MREQ_n <= IORQ;
|
end if;
|
end if;
|
else
|
else
|
if TState = "001" and Write = '1' then
|
if (TState = "001" or (TState = "010" and READY = '0')) and Write = '1' then
|
WR_n <= '0';
|
WR_n <= '0';
|
IORQ_n <= not IORQ;
|
IORQ_n <= not IORQ;
|
MREQ_n <= IORQ;
|
MREQ_n <= IORQ;
|
end if;
|
end if;
|
end if;
|
end if;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.