1 | |
---|
2 | # -*- python -*- |
---|
3 | |
---|
4 | |
---|
5 | todo = Platform('caba', 'top.cpp', |
---|
6 | uses = [ |
---|
7 | Uses('caba:vci_cc_xcache_wrapper', iss_t = 'common:ississ2', iss2_t = 'common:iss_simhelper', simhelper_iss_t = 'common:mipsel'), |
---|
8 | Uses('caba:vci_simple_ram'), |
---|
9 | Uses('caba:vci_multi_tty'), |
---|
10 | Uses('caba:vci_mem_cache'), |
---|
11 | Uses('caba:vci_simple_ring_network'), |
---|
12 | Uses('caba:vci_local_ring_network'), |
---|
13 | |
---|
14 | Uses('caba:virtual_dspin_network', |
---|
15 | x_addressing_size = 1, |
---|
16 | y_addressing_size = 1, |
---|
17 | |
---|
18 | cmd_x_addressing_offset = 5, |
---|
19 | cmd_y_addressing_offset = 6, |
---|
20 | |
---|
21 | rsp_x_addressing_offset = 8, |
---|
22 | rsp_y_addressing_offset = 9, |
---|
23 | |
---|
24 | io_mask_size = 2, |
---|
25 | io_number_size = 2, |
---|
26 | |
---|
27 | cmd_data_size = 37, |
---|
28 | cmd_io_mask_offset = 1, |
---|
29 | cmd_io_number_offset = 3, |
---|
30 | cmd_eop_offset = 0, |
---|
31 | cmd_broadcast_offset = 35, |
---|
32 | |
---|
33 | rsp_data_size = 33, |
---|
34 | rsp_io_mask_offset = 1, |
---|
35 | rsp_io_number_offset = 3, |
---|
36 | rsp_eop_offset = 0, |
---|
37 | rsp_broadcast_offset = 31, |
---|
38 | |
---|
39 | in_fifo_size = 18, |
---|
40 | out_fifo_size = 18, |
---|
41 | x_min_offset = 19, |
---|
42 | x_max_offset = 24, |
---|
43 | y_min_offset = 29, |
---|
44 | y_max_offset = 34, |
---|
45 | ), |
---|
46 | |
---|
47 | |
---|
48 | Uses('caba:ring_gateway'), |
---|
49 | Uses('common:elf_file_loader'), |
---|
50 | ], |
---|
51 | cell_size = 4, |
---|
52 | plen_size = 8, |
---|
53 | addr_size = 32, |
---|
54 | rerror_size = 1, |
---|
55 | clen_size = 1, |
---|
56 | rflag_size = 1, |
---|
57 | srcid_size = 8, |
---|
58 | pktid_size = 4, |
---|
59 | trdid_size = 4, |
---|
60 | wrplen_size = 1 |
---|
61 | ) |
---|