[344] | 1 | |
---|
| 2 | # -*- python -*- |
---|
| 3 | |
---|
[396] | 4 | # internal VCI parameters values |
---|
| 5 | int_vci_cell_size = 4 |
---|
| 6 | int_vci_plen_size = 8 |
---|
| 7 | int_vci_addr_size = 40 |
---|
| 8 | int_vci_rerror_size = 1 |
---|
| 9 | int_vci_clen_size = 1 |
---|
| 10 | int_vci_rflag_size = 1 |
---|
| 11 | int_vci_srcid_size = 14 |
---|
| 12 | int_vci_pktid_size = 4 |
---|
| 13 | int_vci_trdid_size = 4 |
---|
| 14 | int_vci_wrplen_size = 1 |
---|
| 15 | |
---|
| 16 | # external VCI parameters values |
---|
| 17 | ext_vci_cell_size = 8 |
---|
| 18 | ext_vci_plen_size = 8 |
---|
| 19 | ext_vci_addr_size = 40 |
---|
| 20 | ext_vci_rerror_size = 1 |
---|
| 21 | ext_vci_clen_size = 1 |
---|
| 22 | ext_vci_rflag_size = 1 |
---|
| 23 | ext_vci_srcid_size = 14 |
---|
| 24 | ext_vci_pktid_size = 4 |
---|
| 25 | ext_vci_trdid_size = 4 |
---|
| 26 | ext_vci_wrplen_size = 1 |
---|
| 27 | |
---|
| 28 | # DSPIN network parameters values |
---|
[404] | 29 | dspin_cmd_flit_size = 39 |
---|
| 30 | dspin_rsp_flit_size = 32 |
---|
[396] | 31 | |
---|
[344] | 32 | todo = Platform('caba', 'top.cpp', |
---|
[396] | 33 | |
---|
| 34 | uses = [ |
---|
[378] | 35 | Uses('caba:tsar_xbar_cluster', |
---|
[396] | 36 | dspin_cmd_width = dspin_cmd_flit_size, |
---|
| 37 | dspin_rsp_width = dspin_rsp_flit_size, |
---|
| 38 | |
---|
| 39 | vci_param_int = 'caba:vci_param', |
---|
| 40 | |
---|
| 41 | cell_size = int_vci_cell_size, |
---|
| 42 | plen_size = int_vci_plen_size, |
---|
| 43 | addr_size = int_vci_addr_size, |
---|
| 44 | rerror_size = int_vci_rerror_size, |
---|
| 45 | clen_size = int_vci_clen_size, |
---|
| 46 | rflag_size = int_vci_rflag_size, |
---|
| 47 | srcid_size = int_vci_srcid_size, |
---|
| 48 | pktid_size = int_vci_pktid_size, |
---|
| 49 | trdid_size = int_vci_trdid_size, |
---|
| 50 | wrplen_size = int_vci_wrplen_size, |
---|
| 51 | |
---|
| 52 | vci_param_ext = 'caba:vci_param_bis', |
---|
| 53 | |
---|
| 54 | cell_size_bis = ext_vci_cell_size, |
---|
| 55 | plen_size_bis = ext_vci_plen_size, |
---|
| 56 | addr_size_bis = ext_vci_addr_size, |
---|
| 57 | rerror_size_bis = ext_vci_rerror_size, |
---|
| 58 | clen_size_bis = ext_vci_clen_size, |
---|
| 59 | rflag_size_bis = ext_vci_rflag_size, |
---|
| 60 | srcid_size_bis = ext_vci_srcid_size, |
---|
| 61 | pktid_size_bis = ext_vci_pktid_size, |
---|
| 62 | trdid_size_bis = ext_vci_trdid_size, |
---|
| 63 | wrplen_size_bis = ext_vci_wrplen_size), |
---|
| 64 | |
---|
| 65 | Uses('common:elf_file_loader'), |
---|
[344] | 66 | Uses('common:plain_file_loader'), |
---|
[396] | 67 | ], |
---|
[344] | 68 | ) |
---|