[428] | 1 | |
---|
| 2 | # -*- python -*- |
---|
| 3 | |
---|
| 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 |
---|
| 29 | dspin_cmd_flit_size = 39 |
---|
| 30 | dspin_rsp_flit_size = 32 |
---|
| 31 | |
---|
| 32 | todo = Platform('caba', 'top.cpp', |
---|
| 33 | uses = [ |
---|
| 34 | Uses('caba:tsar_xbar_cluster', |
---|
| 35 | dspin_cmd_width = dspin_cmd_flit_size, |
---|
| 36 | dspin_rsp_width = dspin_rsp_flit_size, |
---|
| 37 | |
---|
| 38 | vci_param_int = 'caba:vci_param', |
---|
| 39 | |
---|
| 40 | cell_size = int_vci_cell_size, |
---|
| 41 | plen_size = int_vci_plen_size, |
---|
| 42 | addr_size = int_vci_addr_size, |
---|
| 43 | rerror_size = int_vci_rerror_size, |
---|
| 44 | clen_size = int_vci_clen_size, |
---|
| 45 | rflag_size = int_vci_rflag_size, |
---|
| 46 | srcid_size = int_vci_srcid_size, |
---|
| 47 | pktid_size = int_vci_pktid_size, |
---|
| 48 | trdid_size = int_vci_trdid_size, |
---|
| 49 | wrplen_size = int_vci_wrplen_size, |
---|
| 50 | |
---|
| 51 | vci_param_ext = 'caba:vci_param', |
---|
| 52 | |
---|
| 53 | cell_size_ext = ext_vci_cell_size, |
---|
| 54 | ), |
---|
| 55 | |
---|
| 56 | Uses('common:elf_file_loader'), |
---|
| 57 | Uses('common:plain_file_loader'), |
---|
| 58 | ], |
---|
| 59 | ) |
---|
| 60 | |
---|