Line 1... |
Line 1... |
-- $Id: sys_tst_rlink_cuff_atlys.vhd 472 2013-01-06 14:39:10Z mueller $
|
-- $Id: sys_tst_rlink_cuff_atlys.vhd 476 2013-01-26 22:23:53Z mueller $
|
--
|
--
|
-- Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2013- 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 16... |
Line 16... |
-- Description: rlink tester design for atlys with fx2 interface
|
-- Description: rlink tester design for atlys with fx2 interface
|
--
|
--
|
-- Dependencies: vlib/xlib/dcm_sfs
|
-- Dependencies: vlib/xlib/dcm_sfs
|
-- vlib/genlib/clkdivce
|
-- vlib/genlib/clkdivce
|
-- bplib/bpgen/bp_rs232_2l4l_iob
|
-- bplib/bpgen/bp_rs232_2l4l_iob
|
-- bplib/bpgen/sn_humanio_rbus
|
-- bplib/bpgen/sn_humanio_demu_rbus
|
-- bplib/fx2lib/fx2_2fifoctl_as [sys_conf_fx2_type="as2"]
|
-- bplib/fx2lib/fx2_2fifoctl_as [sys_conf_fx2_type="as2"]
|
-- bplib/fx2lib/fx2_2fifoctl_ic [sys_conf_fx2_type="ic2"]
|
-- bplib/fx2lib/fx2_2fifoctl_ic [sys_conf_fx2_type="ic2"]
|
-- bplib/fx2lib/fx2_3fifoctl_ic [sys_conf_fx2_type="ic3"]
|
-- bplib/fx2lib/fx2_3fifoctl_ic [sys_conf_fx2_type="ic3"]
|
-- tst_rlink_cuff
|
-- tst_rlink_cuff
|
--
|
--
|
Line 38... |
Line 38... |
-- 2013-01-06 472 1.0 Initial version; derived from sys_tst_rlink_cuff_n3
|
-- 2013-01-06 472 1.0 Initial version; derived from sys_tst_rlink_cuff_n3
|
-- and sys_tst_fx2loop_atlys
|
-- and sys_tst_fx2loop_atlys
|
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
-- Usage of Atlys Switches, Buttons, LEDs:
|
-- Usage of Atlys Switches, Buttons, LEDs:
|
--
|
--
|
-- SWI(7:3) no function (only connected to sn_humanio_rbus)
|
-- SWI(7:3) no function (only connected to sn_humanio_demu_rbus)
|
-- (2) 0 -> int/ext RS242 port for rlink
|
-- (2) 0 -> int/ext RS242 port for rlink
|
-- 1 -> use USB interface for rlink
|
-- 1 -> use USB interface for rlink
|
-- (1) 1 enable XON
|
-- (1) 1 enable XON
|
-- (0) 0 -> main board RS232 port - implemented in bp_rs232_2l4l_iob
|
-- (0) 0 -> main board RS232 port - implemented in bp_rs232_2l4l_iob
|
-- 1 -> Pmod B/top RS232 port /
|
-- 1 -> Pmod B/top RS232 port /
|
--
|
--
|
-- LED(7) SER_MONI.abact
|
-- LED(7) SER_MONI.abact
|
-- (6:2) no function (only connected to sn_humanio_rbus)
|
-- (6:2) no function (only connected to sn_humanio_demu_rbus)
|
-- (0) timer 0 busy
|
-- (0) timer 0 busy
|
-- (1) timer 1 busy
|
-- (1) timer 1 busy
|
--
|
--
|
-- DSP: SER_MONI.clkdiv (from auto bauder)
|
-- DSP: SER_MONI.clkdiv (from auto bauder)
|
-- for SWI(2)='0' (serport)
|
-- for SWI(2)='0' (serport)
|
Line 71... |
Line 71... |
|
|
use work.slvtypes.all;
|
use work.slvtypes.all;
|
use work.xlib.all;
|
use work.xlib.all;
|
use work.genlib.all;
|
use work.genlib.all;
|
use work.bpgenlib.all;
|
use work.bpgenlib.all;
|
|
use work.bpgenrbuslib.all;
|
use work.rblib.all;
|
use work.rblib.all;
|
use work.fx2lib.all;
|
use work.fx2lib.all;
|
use work.sys_conf.all;
|
use work.sys_conf.all;
|
|
|
-- ----------------------------------------------------------------------------
|
-- ----------------------------------------------------------------------------
|