Line 1... |
Line 1... |
-- $Id: rb_mon.vhd 427 2011-11-19 21:04:11Z mueller $
|
-- $Id: rb_mon.vhd 444 2011-12-25 10:04:58Z mueller $
|
--
|
--
|
-- Copyright 2007-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2007-2011 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
--
|
--
|
-- This program is free software; you may redistribute and/or modify it under
|
-- This program is free software; you may redistribute and/or modify it under
|
-- the terms of the GNU General Public License as published by the Free
|
-- the terms of the GNU General Public License as published by the Free
|
Line 19... |
Line 19... |
-- Test bench: -
|
-- Test bench: -
|
-- Tool versions: xst 8.2, 9.1, 9.2, 12.1, 13.1; ghdl 0.18-0.29
|
-- Tool versions: xst 8.2, 9.1, 9.2, 12.1, 13.1; ghdl 0.18-0.29
|
--
|
--
|
-- Revision History:
|
-- Revision History:
|
-- Date Rev Version Comment
|
-- Date Rev Version Comment
|
|
-- 2011-12-23 444 3.1 CLK_CYCLE now integer
|
-- 2011-11-19 427 3.0.1 now numeric_std clean
|
-- 2011-11-19 427 3.0.1 now numeric_std clean
|
-- 2010-12-22 346 3.0 renamed rritb_rbmon -> rb_mon
|
-- 2010-12-22 346 3.0 renamed rritb_rbmon -> rb_mon
|
-- 2010-06-05 301 2.1.1 renamed _rpmon -> _rbmon
|
-- 2010-06-05 301 2.1.1 renamed _rpmon -> _rbmon
|
-- 2010-06-03 299 2.1 new init encoding (WE=0/1 int/ext)
|
-- 2010-06-03 299 2.1 new init encoding (WE=0/1 int/ext)
|
-- 2010-05-02 287 2.0.1 rename RP_STAT->RB_STAT,AP_LAM->RB_LAM
|
-- 2010-05-02 287 2.0.1 rename RP_STAT->RB_STAT,AP_LAM->RB_LAM
|
Line 47... |
Line 48... |
entity rb_mon is -- rbus monitor (for tb's)
|
entity rb_mon is -- rbus monitor (for tb's)
|
generic (
|
generic (
|
DBASE : positive := 2); -- base for writing data values
|
DBASE : positive := 2); -- base for writing data values
|
port (
|
port (
|
CLK : in slbit; -- clock
|
CLK : in slbit; -- clock
|
CLK_CYCLE : in slv31 := (others=>'0'); -- clock cycle number
|
CLK_CYCLE : in integer := 0; -- clock cycle number
|
ENA : in slbit := '1'; -- enable monitor output
|
ENA : in slbit := '1'; -- enable monitor output
|
RB_MREQ : in rb_mreq_type; -- rbus: request
|
RB_MREQ : in rb_mreq_type; -- rbus: request
|
RB_SRES : in rb_sres_type; -- rbus: response
|
RB_SRES : in rb_sres_type; -- rbus: response
|
RB_LAM : in slv16 := (others=>'0'); -- rbus: look at me
|
RB_LAM : in slv16 := (others=>'0'); -- rbus: look at me
|
RB_STAT : in slv3 -- rbus: status flags
|
RB_STAT : in slv3 -- rbus: status flags
|