-
Notifications
You must be signed in to change notification settings - Fork 3
/
m9312l16.t1
44 lines (32 loc) · 1.22 KB
/
m9312l16.t1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--
-- Copyright (c) 2008-2019 Sytse van Slooten
--
-- Permission is hereby granted to any person obtaining a copy of these VHDL source files and
-- other language source files and associated documentation files ("the materials") to use
-- these materials solely for personal, non-commercial purposes.
-- You are also granted permission to make changes to the materials, on the condition that this
-- copyright notice is retained unchanged.
--
-- The materials are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY;
-- without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
-- $Revision: 1.9 $
-- m9312l16.t1
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity m9312l is
port(
base_addr : in std_logic_vector(17 downto 0);
bus_addr_match : out std_logic;
bus_addr : in std_logic_vector(17 downto 0);
bus_dati : out std_logic_vector(15 downto 0);
bus_control_dati : in std_logic;
clk : in std_logic
);
end m9312l;
architecture implementation of m9312l is
signal base_addr_match : std_logic;
subtype u is std_logic_vector(7 downto 0);
type mem_type is array(0 to 255) of u;