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

Subversion Repositories tv80

[/] [tv80/] [branches/] [hpa1/] [doc/] [env_io_map.txt] - Blame information for rev 106

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ghutchis
 
2
==================================================
3
TV80 Microprocessor Core Environment Documentation
4
==================================================
5
 
6
Environment Memory Map:
7
 
8
Environment memory space is divided into a 32k ROM region and a 32k RAM
9
region, as follows:
10
 
11
  0000-7FFF:  ROM
12
  8000-FFFF:  RAM
13
 
14
Environment I/O space is allocated as follows:
15
 
16
  00-0F:  Unused
17
  10-1F:  Test devices
18
  20-7F:  Unused
19
  80-8F:  Environment control
20
  A0-FF:  Unused
21
 
22
The Environment control registers are:
23
 
24
  80 :  Simulation control
25
 
26
        Write '01' to end simulation with test passed
27
        Write '02' to end with test failed
28
        Write '03' to turn on dumping
29
        Write '04' to turn off dumping
30
 
31
  81 :  Message output
32
 
33
        Write characters to this port one at a time.  When the
34
        newline ('\n', ASCII 0x0A) character is written, the
35
        environment will print out the collected string.
36
 
37
  82 :  Timeout control
38
 
39
        Bit[0] enables the timeout counter
40
        Bit[1] resets the counter to 0
41
        Timeout counter defaults to enabled at simulation start
42
 
43
  83 :  Max timeout [low]
44
  84 :  Max timeout [high]
45
 
46
        Holds 16-bit timeout value (amount of time in clocks before
47
        timeout error occurs).
48
 
49
  90 :  Interrupt countdown
50
 
51
        When set, starts a countdown (in clocks) until assertion of
52
        the INT_N signal.

powered by: WebSVN 2.1.0

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