OpenCores
URL https://opencores.org/ocsvn/t80/t80/trunk

Subversion Repositories t80

[/] [t80/] [trunk/] [rtl/] [vhdl/] [T80a.vhd] - Diff between revs 7 and 15

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 7 Rev 15
Line 1... Line 1...
--
--
-- Z80 compatible microprocessor core, asynchronous top level
-- Z80 compatible microprocessor core, asynchronous top level
--
--
-- Version : 0211
-- Version : 0235
--
--
-- Copyright (c) 2001-2002 Daniel Wallner (dwallner@hem2.passagen.se)
-- Copyright (c) 2001-2002 Daniel Wallner (jesus@opencores.org)
--
--
-- All rights reserved
-- All rights reserved
--
--
-- Redistribution and use in source and synthezised forms, with or without
-- Redistribution and use in source and synthezised forms, with or without
-- modification, are permitted provided that the following conditions are met:
-- modification, are permitted provided that the following conditions are met:
Line 36... Line 36...
-- Please report bugs to the author, but before you do so, please
-- Please report bugs to the author, but before you do so, please
-- make sure that this is not a derivative work and that
-- make sure that this is not a derivative work and that
-- you have the latest version of this file.
-- you have the latest version of this file.
--
--
-- The latest version of this file can be found at:
-- The latest version of this file can be found at:
--      http://hem.passagen.se/dwallner/vhdl.html
--      http://www.opencores.org/cvsweb.shtml/t80/
--
--
-- Limitations :
-- Limitations :
--
--
-- File history :
-- File history :
--
--
--      0208 : First complete release
--      0208 : First complete release
--
--
--      0211 : Fixed interrupt cycle
--      0211 : Fixed interrupt cycle
--
--
 
--      0235 : Updated for T80 interface change
 
--
 
 
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 78... Line 80...
        );
        );
end T80a;
end T80a;
 
 
architecture rtl of T80a is
architecture rtl of T80a is
 
 
 
        signal CEN                      : std_logic;
        signal Reset_s          : std_logic;
        signal Reset_s          : std_logic;
        signal False_M1         : std_logic;
        signal False_M1         : std_logic;
        signal IntCycle_n       : std_logic;
        signal IntCycle_n       : std_logic;
        signal IORQ                     : std_logic;
        signal IORQ                     : std_logic;
        signal Write            : std_logic;
        signal Write            : std_logic;
Line 96... Line 99...
        signal MCycle           : std_logic_vector(2 downto 0);
        signal MCycle           : std_logic_vector(2 downto 0);
        signal TState           : std_logic_vector(2 downto 0);
        signal TState           : std_logic_vector(2 downto 0);
 
 
begin
begin
 
 
 
        CEN <= '1';
 
 
        process (RESET_n, CLK_n)
        process (RESET_n, CLK_n)
        begin
        begin
                if RESET_n = '0' then
                if RESET_n = '0' then
                        Reset_s <= '0';
                        Reset_s <= '0';
                elsif CLK_n'event and CLK_n = '1' then
                elsif CLK_n'event and CLK_n = '1' then
Line 109... Line 114...
 
 
        u0 : T80
        u0 : T80
                generic map(
                generic map(
                        Mode => Mode)
                        Mode => Mode)
                port map(
                port map(
 
                        CEN => CEN,
                        M1_n => M1_n,
                        M1_n => M1_n,
                        IORQ => IORQ,
                        IORQ => IORQ,
                        Write => Write,
                        Write => Write,
                        RFSH_n => RFSH_n,
                        RFSH_n => RFSH_n,
                        HALT_n => HALT_n,
                        HALT_n => HALT_n,

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.