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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.5/] [rtl/] [vlib/] [rri/] [rb_sres_or_2.vhd] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wfjm
-- $Id: rb_sres_or_2.vhd 314 2010-07-09 17:38:41Z mueller $
2
--
3
-- Copyright 2008-2010 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:    rb_sres_or_2 - syn
16
-- Description:    rribus result or, 2 input
17
--
18
-- Dependencies:   rritb_sres_or_mon    [sim only]
19
-- Test bench:     -
20
-- Target Devices: generic
21
-- Tool versions:  xst 8.1, 8.2, 9.1, 9.2, 11.4; ghdl 0.18-0.29
22
-- Revision History: 
23
-- Date         Rev Version  Comment
24
-- 2010-06-26   309   1.1    add rritb_sres_or_mon
25
-- 2008-08-22   161   1.0.1  renamed rri_rbres_ -> rb_sres_
26
-- 2008-01-20   113   1.0    Initial version 
27
------------------------------------------------------------------------------
28
 
29
library ieee;
30
use ieee.std_logic_1164.all;
31
 
32
use work.slvtypes.all;
33
use work.rrilib.all;
34
-- synthesis translate_off
35
use work.rritblib.all;
36
-- synthesis translate_on
37
 
38
-- ----------------------------------------------------------------------------
39
 
40
entity rb_sres_or_2 is                  -- rribus result or, 2 input
41
  port (
42
    RB_SRES_1  :  in rb_sres_type;                 -- rb_sres input 1
43
    RB_SRES_2  :  in rb_sres_type := rb_sres_init; -- rb_sres input 2
44
    RB_SRES_OR : out rb_sres_type       -- rb_sres or'ed output
45
  );
46
end rb_sres_or_2;
47
 
48
architecture syn of rb_sres_or_2 is
49
 
50
begin
51
 
52
  proc_comb : process (RB_SRES_1, RB_SRES_2)
53
  begin
54
 
55
    RB_SRES_OR.ack  <= RB_SRES_1.ack or
56
                       RB_SRES_2.ack;
57
    RB_SRES_OR.busy <= RB_SRES_1.busy or
58
                       RB_SRES_2.busy;
59
    RB_SRES_OR.err  <= RB_SRES_1.err or
60
                       RB_SRES_2.err;
61
    RB_SRES_OR.dout <= RB_SRES_1.dout or
62
                       RB_SRES_2.dout;
63
 
64
  end process proc_comb;
65
 
66
-- synthesis translate_off
67
  ORMON : rritb_sres_or_mon
68
    port map (
69
      RB_SRES_1 => RB_SRES_1,
70
      RB_SRES_2 => RB_SRES_2,
71
      RB_SRES_3 => rb_sres_init,
72
      RB_SRES_4 => rb_sres_init
73
    );
74
-- synthesis translate_on
75
 
76
end syn;

powered by: WebSVN 2.1.0

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