OSDN Git Service

* public snapshot of sid simulator
[pf3gnuchains/pf3gnuchains3x.git] / sid / component / lcd / testsuite / hd-5X10.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 libhd44780u.la hd44780u_component_library
12 load libhd-5X10.la hd5X10_tester_component_library
13
14 # components
15 new hw-mapper-basic mapper
16 new hd44780u-tester tester
17 new hw-lcd-hd44780u-a00 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 tester force-refresh -> lcd refresh-sync-event
32
33 # display size is in pixels - ie. font-width*display-height
34 set display width 40
35 set display height 11
36
37 # bus connections
38 connect-bus tester bus mapper access-port
39
40 # memory map configuration
41 connect-bus mapper [0xa0000-0xa0004,4,1] lcd bus
42
43 # connect lcd
44 connect-pin lcd row-col -> display row-col
45 connect-pin lcd FR -> display FR
46