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

Subversion Repositories xucpu

[/] [xucpu/] [trunk/] [ss/] [arch/] [board.vhdl] - Blame information for rev 37

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 36 lcdsgmtr
-- This is the architecture of the board
2
-- It defines the bus system and is used as the main structure
3
-- to add devices.
4
-- These devices can be:
5
-- - Memory
6
-- - Cache controller
7
-- - CPU
8
-- - Input devices
9
-- - Output devices
10
 
11
-- The main goal of the system is to provide the bus, the bus
12
-- controller for arbitration between bus masters, the control
13
-- signals, the data and address signals, the data protocol
14
-- and the address decoding.
15
 
16
-- It should be possible to generate this file based upon a
17
-- description of the different devices.
18
 
19
ARCHITECTURE Structural OF board IS
20
 
21 37 lcdsgmtr
  -- Definition of bus signals
22 36 lcdsgmtr
 
23 37 lcdsgmtr
  SIGNAL data_bus    : STD_LOGIC_VECTOR(15 DOWNTO 0);
24
  SIGNAL address_bus : STD_LOGIC_VECTOR(14 DOWNTO 0);
25
  SIGNAL bus_read    : STD_LOGIC;
26
  SIGNAL bus_write   : STD_LOGIC;
27
  SIGNAL bus_wait    : STD_LOGIC;
28
  SIGNAL bus_ack     : STD_LOGIC;
29
 
30
  -- Definition of components related to the bus
31
 
32
  COMPONENT data_mux IS
33
    PORT (
34
      data_in : IN STD_LOGIC_VECTOR(15 DOWNTO 0));
35
  END COMPONENT data_mux;
36
 
37
  COMPONENT address_mux IS
38
    PORT (
39
      address_in : IN STD_LOGIC_VECTOR(14 DOWNTO 0));
40
  END COMPONENT address_mux;
41
 
42
  COMPONENT address_decoder IS
43
    PORT (
44
      address_in : IN STD_LOGIC_VECTOR(14 DOWNTO 0));
45
  END COMPONENT address_decoder;
46
 
47
  COMPONENT bus_arbiter IS
48
  END COMPONENT bus_arbiter;
49
 
50
  -- Definition of components attached to the bus
51
 
52 36 lcdsgmtr
BEGIN  -- ARCHITECTURE Structural
53
 
54 37 lcdsgmtr
  -- Mapping of bus related components
55 36 lcdsgmtr
 
56 37 lcdsgmtr
  -- Mapping of system devices
57
 
58
  -- Main memory
59
 
60
  -- Instruction cache
61
 
62
  -- Data cache
63
 
64
  -- LED output device
65
 
66
  -- Push button input device
67
 
68
  -- Slide switch input device
69
 
70
  -- Serial communication device
71
 
72
  -- MAC device
73
 
74
  -- DVI device
75
 
76
  -- Character based device
77
 
78
 
79
 
80 36 lcdsgmtr
END ARCHITECTURE Structural;

powered by: WebSVN 2.1.0

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