mirror of
https://github.com/wfjm/w11.git
synced 2026-05-04 15:16:59 +00:00
- ibdr_dl11
- now xbuf.val in bit 15 and 8;
- use rbuf instead xbuf for rdry reporting
- remove maintenance mode
- use ib_rlim_slv; add RLIM_CEV, drop CE_USEC
- ibdr_pc11
- pbuf.pval in bit 15 and 8
- move rbusy reporting from pbuf to rbuf register
- ibdr_maxisys,ibdr_minisys: adapt to new ibdr_dl11 iface
- tb_rlink_tba_pdp11core_ibdr.dat: adapt to new ibdr_dl11 iface
- tcl/rw11/util.tcl: setup_tt: rename dlrlim to dlrrlim
- oskit/*/*_boot.tcl: use dlrrlim instead of dlrlim
- Rw11CntlDL11,Rw11CntlPC11: adapt to new dl11,pc11 iface
- tools/asm-11/lib/defs_{dl,pc}.mac: added definition file
- tools/oskit/hook/hook_ibmon_{pca,tta}.tcl: added imon hook file
55 lines
1.7 KiB
Tcl
55 lines
1.7 KiB
Tcl
# $Id: util.tcl 1126 2019-04-06 17:37:40Z mueller $
|
|
#
|
|
# Copyright 2015-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
#
|
|
# 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
|
|
# Software Foundation, either version 3, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
# for complete details.
|
|
#
|
|
# Revision History:
|
|
# Date Rev Version Comment
|
|
# 2019-04-06 1126 1.1 updates for buffered pc11
|
|
# 2015-12-26 719 1.0 Initial version
|
|
#
|
|
|
|
package provide ibd_pc11 1.0
|
|
|
|
package require rlink
|
|
package require rw11util
|
|
package require rw11
|
|
|
|
namespace eval ibd_pc11 {
|
|
#
|
|
# setup register descriptions for ibd_pc11 ---------------------------------
|
|
#
|
|
|
|
regdsc RCSR {err 15} {busy 11} {done 7} {ie 6} {enb 0}
|
|
regdsc RRCSR {err 15} {rlim 14 3} {busy 11} {type 10 3} \
|
|
{done 7} {ie 6} {fclr 5}
|
|
regdsc RRBUF {rbusy 15} {size 14 7 "d"}
|
|
|
|
regdsc PCSR {err 15} {done 7} {ie 6}
|
|
regdsc RPCSR {err 15} {rlim 14 3} {done 7} {ie 6}
|
|
|
|
regdsc RPBUF {val 15} {size 14 7 "d"} {data 7 8 "o"}
|
|
|
|
rw11util::regmap_add ibd_pc11 pc?.rcsr {l? RCSR r? RRCSR}
|
|
rw11util::regmap_add ibd_pc11 pc?.rbuf {r? RRBUF}
|
|
rw11util::regmap_add ibd_pc11 pc?.pcsr {l? PCSR r? RPCSR}
|
|
rw11util::regmap_add ibd_pc11 pc?.pbuf {r? RPBUF}
|
|
|
|
variable ANUM 10
|
|
|
|
#
|
|
# setup: create controller with default attributes -------------------------
|
|
#
|
|
proc setup {{cpu "cpu0"}} {
|
|
return [rw11::setup_cntl $cpu "pc11" "pca"]
|
|
}
|
|
}
|