OSDN Git Service

* public snapshot of sid simulator
[pf3gnuchains/pf3gnuchains3x.git] / sid / component / lcd / testsuite / t6963c-japan.conf
1
2 # configuration logging
3 set main verbose? 0
4
5 # component libraries - there are both installed and uninstalled DLLs here
6 # make sure you have SID_LIBRARY_PATH set 
7 load libmemory.la mem_component_library
8 load libmapper.la mapper_component_library
9 load libsched.la sched_component_library
10 load libtclapi.la tcl_bridge_library
11 load libt6963c.la t6963c_component_library
12 load libt6963c-japan.la t6963c_tester_component_library
13
14 # components
15 new hw-mapper-basic bus
16 new t6963c-tester tester
17 new hw-lcd-t6963c-0201 lcd
18 new hw-visual-lcd display
19 new sid-sched-host sched
20
21 # scheduling (must appear before pin assignments)
22 set sched num-clients 1
23 set sched 0-regular? 1
24 set sched 0-time 1000
25
26 # pin connections
27 connect-pin main perform-activity -> tester run
28 connect-pin main perform-activity -> sched advance
29 connect-pin main perform-activity -> display !event
30 connect-pin tester run -> main stop!
31 connect-pin sched 0-event -> lcd refresh-sync-event
32 connect-pin sched 0-control <- lcd refresh-sync-control
33
34 set lcd display-width 32
35 set lcd display-height 8
36 set lcd font-width 6
37
38 # display size is in pixels - ie. font-width*display-height
39 set display width 48
40 set display height 64
41
42 # bus connections
43 connect-bus tester bus bus access-port
44
45 # memory map configuration
46 connect-bus bus [0xa0000-0xa0004,4,1] lcd bus
47
48 # connect lcd
49 new hw-memory-ram/rom-basic d-ram
50 set d-ram size 65535
51 connect-bus lcd external-ram d-ram read-write-port
52 connect-pin lcd row-col -> display row-col
53 connect-pin lcd FR -> display FR
54
55 relate tester lcd lcd
56 relate tester ddram d-ram