Changes between Version 14 and Version 15 of Writing Rules/Tlmt
- Timestamp:
- Dec 27, 2007, 10:10:23 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Rules/Tlmt
v14 v15 249 249 Therefore, the network is actually modeled as a cross-bar : In a physical network such as the multi-stage network described in Figure 2.a, conflicts can appear at any intermediate switch. In the '''VciVgmn''' network described in Figure 2.b, conflicts can only happen at the output ports. It is possible to model to specify a specific latency for each input/output couple. As in most physical interconnects, the general arbitration policy is round-robin. 250 250 251 252 253 254 255 251 [[Image(tlmt_figure_2.png, nolink)]] 256 252 257 253 == E.1) Generic network modeling == 258 254 259 A in most physical network on chip, there is actually two fully independent networks for command packets and response packets. There is a routing function for each input port, and an arbitration function for each output port, but the two networks are not symmetrical :255 As in most physical network on chip, there is actually two fully independent networks for command packets and response packets. There is a routing function for each input port, and an arbitration function for each output port, but the two networks are not symmetrical : 260 256 * For the command network, the arbitration policy is distributed: there is one arbitration thread for each output port (i.e. one arbitration thread for each VCI target). Each arbitration thread is modeled by a SC_THREAD, and contain a local clock. 261 257 * For the response network, there is no conflicts, and there is no need for arbitration. Therefore, there is no thread (and no local time) in the response network that is implemented by simple function calls. 262 258 263 259 This is illustrated in Figure 3 for a network with 2 initiators and three targets : 264 As there is generally no thread attached to a in the physical interconnects, there 265 260 261 [[Image(tlmt_figure_3.png, nolink)]] 266 262 267 263 == E.2) VCI initiators and targets synchronisations == … … 273 269 * The '''cmdReceived()''' call-back function returns a date to the arbitration thread. This date is used to update the arbitration thread local time. 274 270 271 [[Image(tlmt_figure_4.png, nolink)]] 272 275 273 = F) Interrupt modeling = 276 274 … … 278 276 As illustrated in Figure 5, each interrupt line is modeled by a specific point to point, uni-directional channel. It use two ports of type ''!'IrqOutPort''' and '''!IrqinPort''' that must be declared as member variables of the source and destination modules respectively. 279 277 280 281 282 278 [[Image(tlmt_figure_5.png, nolink)]] 283 279 284 280 == F.1) Source modeling ==