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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [rtl/] [vlib/] [xlib/] [iob_reg_o.vhd] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wfjm
-- $Id: iob_reg_o.vhd 314 2010-07-09 17:38:41Z mueller $
2
--
3
-- Copyright 2007- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
--
5
-- This program is free software; you may redistribute and/or modify it under
6
-- the terms of the GNU General Public License as published by the Free
7
-- Software Foundation, either version 2, or at your option any later version.
8
--
9
-- This program is distributed in the hope that it will be useful, but
10
-- WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
-- for complete details.
13
--
14
------------------------------------------------------------------------------
15
-- Module Name:    iob_reg_i - syn
16
-- Description:    Registered IOB, output only
17
--
18
-- Dependencies:   -
19
-- Test bench:     -
20
-- Target Devices: generic Spartan, Virtex
21
-- Tool versions:  xst 8.1, 8.2, 9.1, 9.2; ghdl 0.18-0.25
22
-- Revision History: 
23
-- Date         Rev Version  Comment
24
-- 2007-12-16   101   1.0.1  add INIT generic port
25
-- 2007-12-08   100   1.0    Initial version 
26
------------------------------------------------------------------------------
27
 
28
library ieee;
29
use ieee.std_logic_1164.all;
30
 
31
use work.slvtypes.all;
32
use work.xlib.all;
33
 
34
entity iob_reg_o is                     -- registered IOB, output
35
  generic (
36
    INIT : slbit := '0');               -- initial state
37
  port (
38
    CLK  : in slbit;                    -- clock
39
    CE   : in slbit := '1';             -- clock enable
40
    DO   : in slbit;                    -- output data
41
    PAD  : out slbit                    -- i/o pad
42
  );
43
end iob_reg_o;
44
 
45
 
46
architecture syn of iob_reg_o is
47
 
48
begin
49
 
50
  IOB : iob_reg_o_gen
51
    generic map (
52
      DWIDTH => 1,
53
      INIT   => INIT)
54
    port map (
55
      CLK    => CLK,
56
      CE     => CE,
57
      DO(0)  => DO,
58
      PAD(0) => PAD
59
    );
60
 
61
end syn;

powered by: WebSVN 2.1.0

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