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

Subversion Repositories pdp8

[/] [pdp8/] [trunk/] [pdp8/] [pr8e_types.vhd] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 trurl
-------------------------------------------------------------------
2
--!
3
--! PDP-8 Processor
4
--!
5
--! \brief
6
--!      PR8E Paper Tape Reader Interface Type Definitions
7
--!
8
--! \details
9
--!      This package contains all the type information that is
10
--!      required to use the PR8E Paper Tape Reader Interface
11
--!      device.
12
--!
13
--! \file
14
--!      pr8e_types.vhd
15
--!
16
--! \author
17
--!      Rob Doyle - doyle (at) cox (dot) net
18
--!
19
--------------------------------------------------------------------
20
--
21
--  Copyright (C) 2009, 2010, 2011, 2012 Rob Doyle
22
--
23
-- This source file may be used and distributed without
24
-- restriction provided that this copyright statement is not
25
-- removed from the file and that any derivative work contains
26
-- the original copyright notice and the associated disclaimer.
27
--
28
-- This source file is free software; you can redistribute it
29
-- and/or modify it under the terms of the GNU Lesser General
30
-- Public License as published by the Free Software Foundation;
31
-- version 2.1 of the License.
32
--
33
-- This source is distributed in the hope that it will be
34
-- useful, but WITHOUT ANY WARRANTY; without even the implied
35
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
36
-- PURPOSE. See the GNU Lesser General Public License for more
37
-- details.
38
--
39
-- You should have received a copy of the GNU Lesser General
40
-- Public License along with this source; if not, download it
41
-- from http://www.gnu.org/licenses/lgpl.txt
42
--
43
--------------------------------------------------------------------
44
--
45
-- Comments are formatted for doxygen
46
--
47
 
48
library ieee;                                   --! IEEE Library
49
use ieee.std_logic_1164.all;                    --! IEEE 1164
50
use work.dev_types.all;                         --! Device Types
51
 
52
--
53
--! Type definitions required for PR8E.
54
--
55
 
56
package pr8e_types is
57
 
58
    --
59
    --  Device Numbers
60
    --
61
 
62
    constant ptrdevNUM  : devNUM_t := o"01";    --! 601x
63
    constant ptpdevNUM  : devNUM_t := o"02";    --! 602x
64
 
65
    --
66
    -- Paper Tape Reader IOTs
67
    --  The RPE IOT is common to the reader and punch
68
    --
69
 
70
    constant opRPE      : devOP_t := o"0";      --! 6xx0 : Set Interupt for Reader and Punch
71
    constant opRSF      : devOP_t := o"1";      --! 6xx1 : Skip On Reader Flag
72
    constant opRRB      : devOP_t := o"2";      --! 6xx2 : Read Reader Buffer and Clear Flag
73
    constant opRFC      : devOP_t := o"4";      --! 6xx4 : Clear Flag and Buffer and Fetch Character
74
    constant opRCC      : devOP_t := o"6";      --! 6xx6 : Read Reader Buffer, and Clear Flag, and Fetch Character
75
 
76
    --
77
    -- Paper Tape Punch IOTs
78
    --  The PCE IOT is common to the reader and punch
79
    --
80
 
81
    constant opPCE      : devOP_t := o"0";      --! 6xx0 : Clear Interupt for Reader and Punch
82
    constant opPSF      : devOP_t := o"1";      --! 6xx1 : Skip on Punch Flag
83
    constant opPCF      : devOP_t := o"2";      --! 6xx2 : Clear Flag and Buffer
84
    constant opPPC      : devOP_t := o"4";      --! 6xx4 : Load Buffer and Punch Character
85
    constant opPLS      : devOP_t := o"6";      --! 6xx6 : Clear Flag and Buffer, Load Buffer and Punch Character
86
 
87
end pr8e_types;

powered by: WebSVN 2.1.0

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