1 | |
---|
2 | # -*- python -*- |
---|
3 | |
---|
4 | # internal VCI parameters values |
---|
5 | vci_cell_size_int = 4 |
---|
6 | vci_cell_size_ext = 8 |
---|
7 | |
---|
8 | vci_plen_size = 8 |
---|
9 | vci_addr_size = 40 |
---|
10 | vci_rerror_size = 1 |
---|
11 | vci_clen_size = 1 |
---|
12 | vci_rflag_size = 1 |
---|
13 | vci_srcid_size = 14 |
---|
14 | vci_pktid_size = 4 |
---|
15 | vci_trdid_size = 4 |
---|
16 | vci_wrplen_size = 1 |
---|
17 | |
---|
18 | # DSPIN network parameters values |
---|
19 | dspin_cmd_flit_size = 39 |
---|
20 | dspin_rsp_flit_size = 32 |
---|
21 | |
---|
22 | todo = Platform('caba', 'top.cpp', |
---|
23 | |
---|
24 | uses = [ |
---|
25 | Uses('caba:tsar_super_cluster', |
---|
26 | vci_data_width_int = vci_cell_size_int, |
---|
27 | vci_data_width_ext = vci_cell_size_ext, |
---|
28 | dspin_cmd_width = dspin_cmd_flit_size, |
---|
29 | dspin_rsp_width = dspin_rsp_flit_size), |
---|
30 | |
---|
31 | Uses('common:elf_file_loader'), |
---|
32 | Uses('common:plain_file_loader'), |
---|
33 | ], |
---|
34 | |
---|
35 | # default VCI parameters (global variables) |
---|
36 | cell_size = vci_cell_size_int, |
---|
37 | plen_size = vci_plen_size, |
---|
38 | addr_size = vci_addr_size, |
---|
39 | rerror_size = vci_rerror_size, |
---|
40 | clen_size = vci_clen_size, |
---|
41 | rflag_size = vci_rflag_size, |
---|
42 | srcid_size = vci_srcid_size, |
---|
43 | pktid_size = vci_pktid_size, |
---|
44 | trdid_size = vci_trdid_size, |
---|
45 | wrplen_size = vci_wrplen_size, |
---|
46 | ) |
---|