]> git.zerfleddert.de Git - raggedstone/blob - dhwk/source/pci/steuerung.vhd
4566be2c7b42142f43bcb89e5b4d91841b23da0f
[raggedstone] / dhwk / source / pci / steuerung.vhd
1 -- VHDL model created from schematic steuerung.sch -- Jan 09 09:34:14 2007
2
3 LIBRARY ieee;
4 USE ieee.std_logic_1164.ALL;
5 USE ieee.numeric_std.ALL;
6
7 entity STEUERUNG is
8 Port ( AD_REG : In std_logic_vector (31 downto 0);
9 CBE_REGn : In std_logic_vector (3 downto 0);
10 FRAME_REGn : In std_logic;
11 IDSEL_REG : In std_logic;
12 IO_SPACE : In std_logic;
13 MY_ADDR : In std_logic;
14 PCI_CLOCK : In std_logic;
15 PCI_RSTn : In std_logic;
16 READ_FIFO : In std_logic;
17 CF_RD_COM : Out std_logic;
18 CF_WR_COM : Out std_logic;
19 DEVSELn : Out std_logic;
20 FIFO_RDn : Out std_logic;
21 IO_RD_COM : Out std_logic;
22 IO_WR_COM : Out std_logic;
23 LAR : Out std_logic;
24 OE_PCI_PAR : Out std_logic;
25 OE_PCI_PERR : Out std_logic;
26 PCI_DEVSELn : Out std_logic;
27 PCI_STOPn : Out std_logic;
28 PCI_TRDYn : Out std_logic;
29 PERR_CHECK : Out std_logic;
30 READ : Out std_logic;
31 SERR_CHECK : Out std_logic;
32 TRDYn : Out std_logic );
33 end STEUERUNG;
34
35 architecture SCHEMATIC of STEUERUNG is
36
37 SIGNAL gnd : std_logic := '0';
38 SIGNAL vcc : std_logic := '1';
39
40 signal DEVSELn_DUMMY : std_logic;
41 signal IO_READ : std_logic;
42 signal IO_WRITE : std_logic;
43 signal CONF_READ : std_logic;
44 signal CONF_WRITE : std_logic;
45
46 component CONT_FSM
47 Port ( CONF_READ : In std_logic;
48 CONF_WRITE : In std_logic;
49 FIFO_READ : In std_logic;
50 IO_READ : In std_logic;
51 IO_WRITE : In std_logic;
52 PCI_CLOCK : In std_logic;
53 PCI_RSTn : In std_logic;
54 DEVSELn : Out std_logic;
55 FIFO_RDn : Out std_logic;
56 OE_PCI_PAR : Out std_logic;
57 OE_PCI_PERR : Out std_logic;
58 PCI_DEVSELn : Out std_logic;
59 PCI_STOPn : Out std_logic;
60 PCI_TRDYn : Out std_logic;
61 PERR_CHECK : Out std_logic;
62 READ : Out std_logic;
63 TRDYn : Out std_logic );
64 end component;
65
66 component COMM_FSM
67 Port ( CONF_READ : In std_logic;
68 CONF_WRITE : In std_logic;
69 DEVSELn : In std_logic;
70 IO_READ : In std_logic;
71 IO_WRITE : In std_logic;
72 PCI_CLOCK : In std_logic;
73 PCI_RSTn : In std_logic;
74 CF_RD_COM : Out std_logic;
75 CF_WR_COM : Out std_logic;
76 IO_RD_COM : Out std_logic;
77 IO_WR_COM : Out std_logic );
78 end component;
79
80 component COMM_DEC
81 Port ( AD_REG : In std_logic_vector (31 downto 0);
82 CBE_REGn : In std_logic_vector (3 downto 0);
83 FRAME_REGn : In std_logic;
84 IDSEL_REG : In std_logic;
85 IO_SPACE : In std_logic;
86 MY_ADDR : In std_logic;
87 PCI_CLOCK : In std_logic;
88 PCI_RSTn : In std_logic;
89 CONF_READ : Out std_logic;
90 CONF_WRITE : Out std_logic;
91 IO_READ : Out std_logic;
92 IO_WRITE : Out std_logic;
93 LAR : Out std_logic;
94 SERR_CHECK : Out std_logic );
95 end component;
96
97 begin
98
99 DEVSELn <= DEVSELn_DUMMY;
100
101 I1 : CONT_FSM
102 Port Map ( CONF_READ=>CONF_READ, CONF_WRITE=>CONF_WRITE,
103 FIFO_READ=>READ_FIFO, IO_READ=>IO_READ,
104 IO_WRITE=>IO_WRITE, PCI_CLOCK=>PCI_CLOCK,
105 PCI_RSTn=>PCI_RSTn, DEVSELn=>DEVSELn_DUMMY,
106 FIFO_RDn=>FIFO_RDn, OE_PCI_PAR=>OE_PCI_PAR,
107 OE_PCI_PERR=>OE_PCI_PERR, PCI_DEVSELn=>PCI_DEVSELn,
108 PCI_STOPn=>PCI_STOPn, PCI_TRDYn=>PCI_TRDYn,
109 PERR_CHECK=>PERR_CHECK, READ=>READ, TRDYn=>TRDYn );
110 I2 : COMM_FSM
111 Port Map ( CONF_READ=>CONF_READ, CONF_WRITE=>CONF_WRITE,
112 DEVSELn=>DEVSELn_DUMMY, IO_READ=>IO_READ,
113 IO_WRITE=>IO_WRITE, PCI_CLOCK=>PCI_CLOCK,
114 PCI_RSTn=>PCI_RSTn, CF_RD_COM=>CF_RD_COM,
115 CF_WR_COM=>CF_WR_COM, IO_RD_COM=>IO_RD_COM,
116 IO_WR_COM=>IO_WR_COM );
117 I3 : COMM_DEC
118 Port Map ( AD_REG(31 downto 0)=>AD_REG(31 downto 0),
119 CBE_REGn(3 downto 0)=>CBE_REGn(3 downto 0),
120 FRAME_REGn=>FRAME_REGn, IDSEL_REG=>IDSEL_REG,
121 IO_SPACE=>IO_SPACE, MY_ADDR=>MY_ADDR,
122 PCI_CLOCK=>PCI_CLOCK, PCI_RSTn=>PCI_RSTn,
123 CONF_READ=>CONF_READ, CONF_WRITE=>CONF_WRITE,
124 IO_READ=>IO_READ, IO_WRITE=>IO_WRITE, LAR=>LAR,
125 SERR_CHECK=>SERR_CHECK );
126
127 end SCHEMATIC;
Impressum, Datenschutz