1 |
23 |
wfjm |
.\" -*- nroff -*-
|
2 |
|
|
.\" $Id: ti_w11.1 550 2014-02-03 08:16:57Z mueller $
|
3 |
|
|
.\"
|
4 |
|
|
.\" Copyright 2013- by Walter F.J. Mueller
|
5 |
|
|
.\"
|
6 |
|
|
.\" ------------------------------------------------------------------
|
7 |
|
|
.
|
8 |
|
|
.TH TI_W11 1 2013-05-20 "Retro Project" "Retro Project Manual"
|
9 |
|
|
.\" ------------------------------------------------------------------
|
10 |
|
|
.SH NAME
|
11 |
|
|
ti_w11 \- Quick starter for \fBti_rri\fP with \fBw11\fP CPU designs
|
12 |
|
|
.\" ------------------------------------------------------------------
|
13 |
|
|
.SH SYNOPSIS
|
14 |
|
|
.
|
15 |
|
|
.SY ti_w11
|
16 |
|
|
.OP OPTIONS
|
17 |
|
|
.OP "ti_rri options and commands"
|
18 |
|
|
.YS
|
19 |
|
|
.
|
20 |
|
|
.\" ------------------------------------------------------------------
|
21 |
|
|
.SH DESCRIPTION
|
22 |
|
|
Generates the \fBti_rri\fP(1) commands for starting the \fBrri\fP backend
|
23 |
|
|
in standard configurations with \fBw11\fP CPU designs. Connections to
|
24 |
|
|
FPGA boards as well as to \fPghdl\fP based simulations are supported.
|
25 |
|
|
|
26 |
|
|
Since \fBti_w11\fP is only a quick starter for \fBti_rri\fP(1) this man page
|
27 |
|
|
will only describe briefly the \fBti_w11\fP specific options, for any further
|
28 |
|
|
detail consult the \fBti_rri\fP(1) man page.
|
29 |
|
|
|
30 |
|
|
\fBti_w11\fP will print the generated \fBti_rri\fP(1) command to stdout before
|
31 |
|
|
executing it.
|
32 |
|
|
.
|
33 |
|
|
.\" ------------------------------------------------------------------
|
34 |
|
|
.SH OPTIONS
|
35 |
|
|
.SS "setup options for FPGA connects"
|
36 |
|
|
.IP \fB-u\fP
|
37 |
|
|
use \fB\-\-cuff\fP connect (USB via Cypress FX2)
|
38 |
|
|
.IP \fB-t\fIDN\fR[,\fIopts\fP]
|
39 |
|
|
use \fB\-\-term\fP connect, \fID\fP specifies device name, \fIN\fP
|
40 |
|
|
specified the device number, and \fIopts\fP the addtional options
|
41 |
|
|
a \fB\-\-term\fP can hold (e.g. break or xon). \fID\fP is mapped as
|
42 |
|
|
.RS
|
43 |
|
|
.PD 0
|
44 |
|
|
.IP \fBs\fP 4
|
45 |
|
|
use /dev/ttyS* (* is device number \fIN\fP)
|
46 |
|
|
.IP \fBu\fP 4
|
47 |
|
|
use /dev/ttyUSB* (* is device number \fIN\fP)
|
48 |
|
|
.PD
|
49 |
|
|
.RE
|
50 |
|
|
.
|
51 |
|
|
.SS "setup options for ghdl simulation runs"
|
52 |
|
|
.IP \fB-s3\fP
|
53 |
|
|
start \fItb_w11a_s3\fP simulation (w11a on S3BOARD)
|
54 |
|
|
.IP \fB-n2\fP
|
55 |
|
|
start \fItb_w11a_n2\fP simulation (w11a on Nexys2 board)
|
56 |
|
|
.IP \fB-n3\fP
|
57 |
|
|
start \fItb_w11a_n3\fP simulation (w11a on Nexys3 board)
|
58 |
|
|
.
|
59 |
|
|
.SS "common options"
|
60 |
|
|
.IP \fB-e "\fR=\fIfile"\fR
|
61 |
|
|
load and execute \fIfile\fP. If the file type is '.mac' the file will
|
62 |
|
|
be on the fly compiled with \fBasm-11\fP(1), for all other file types
|
63 |
|
|
it is assumed that the are in \fBlda\fP(5) format.
|
64 |
|
|
.
|
65 |
|
|
.\" ------------------------------------------------------------------
|
66 |
|
|
.SH EXAMPLES
|
67 |
|
|
.IP "\fBti_w11 -u @211bsd_rk_boot.tcl\fR" 4
|
68 |
|
|
Assumes a FPGA board, with a \fBw11\fP CPU design already configured,
|
69 |
|
|
is connected via USB. \fBti_rri\fP(1) will be started and the given
|
70 |
|
|
boot script executed.
|
71 |
|
|
|
72 |
|
|
.IP "\fBti_w11 -n3 -e $RETROBASE/tools/asm-11/w11/sys/dl11/simple_out.mac\fR"
|
73 |
|
|
Will start the \fItb_w11a_n3 test\fP bench in \fBghdl\fP(1), on the fly
|
74 |
|
|
compile the \fIsimple_out.mac\fP test program with \fBasm-11\fP(1), load
|
75 |
|
|
and execute it. This little test code just produces
|
76 |
|
|
.EX
|
77 |
|
|
Hello world!
|
78 |
|
|
Hello world!
|
79 |
|
|
.EE
|
80 |
|
|
forever, just abort with ^C if you have seen enough.
|
81 |
|
|
.
|
82 |
|
|
.\" ------------------------------------------------------------------
|
83 |
|
|
.SH "SEE ALSO"
|
84 |
|
|
.BR ti_rri (1),
|
85 |
|
|
.BR asm-11 (1)
|
86 |
|
|
|
87 |
|
|
.\" ------------------------------------------------------------------
|
88 |
|
|
.SH AUTHOR
|
89 |
|
|
Walter F.J. Mueller
|