Changes between Version 8 and Version 9 of Component/Vci Multi Tty
- Timestamp:
- Feb 9, 2008, 2:34:04 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Component/Vci Multi Tty
v8 v9 1 1 [wiki:Component SocLib Components General Index] 2 2 3 = !VciMultiTty Functional Description = 3 = !VciMultiTty = 4 5 == Functional Description == 4 6 5 7 This VCI target is a TTY terminal controller. This hardware component controls 6 independant terminals. The number of emulated8 one or several independant terminals. The number of emulated 7 9 terminals is defined by the arguments in the constructor (one name per terminal). 8 Name list MUST be terminated by NULL.9 10 10 11 Each terminal is acting both as a character display, and a keyboard interface. … … 16 17 17 18 This component uses a [wiki:Component/TtyWrapper TtyWrapper] per terminal in order to 18 abstract different simulator's ttys. 19 20 = Memory region layout = 21 22 The terminal index ''i'' is defined by the ADDRESS![12:4] bits. 19 abstract the simulated ttys. The terminal index ''i'' is defined by the ADDRESS![12:4] bits. 23 20 24 21 Each TTY controller contains 3 memory mapped registers: … … 37 34 This 8 bits register contains one single ASCII character. 38 35 This register is read-only. A read request returns the ACSII character 39 in the 8 LSB bits of the RDATA field, and reset the status register 40 41 = Component usage = 36 in the 8 LSB bits of the RDATA field, and reset the status register. 42 37 43 38 For extensibility issues, you should access your terminal using globally-defined offsets. 44 39 45 You should include file `soclib/tty.h` fromyour software, it40 You should include file `soclib/tty.h` in your software, it 46 41 defines `TTY_WRITE`, `TTY_STATUS`, `TTY_READ` and `TTY_SPAN`. 47 42 … … 76 71 }}} 77 72 78 = !VciMultiTty CABA Implementation = 79 80 The caba implementation is in 81 * source:trunk/soclib/module/connectivity_component/vci_multi_tty/caba/source/include/vci_multi_tty.h 82 * source:trunk/soclib/module/connectivity_component/vci_multi_tty/caba/source/src/vci_multi_tty.cpp 83 84 == Template parameters: == 85 * The VCI parameters 73 == CABA Implementation == 74 75 * interface : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_tty/caba/source/include/vci_multi_tty.h 76 * implementation : source:trunk/soclib/soclib/module/connectivity_component/vci_multi_tty/caba/source/src/vci_multi_tty.cpp 86 77 87 78 == Constructor parameters == … … 96 87 }}} 97 88 89 Note : the name list MUST be terminated by NULL. 98 90 Example instanciation: 99 91 {{{