[516] | 1 | |
---|
| 2 | # -*- python -*- |
---|
| 3 | |
---|
| 4 | dspin_cmd_flit_size = 39 |
---|
| 5 | dspin_rsp_flit_size = 32 |
---|
| 6 | cell_size = 4 |
---|
| 7 | |
---|
| 8 | todo = Platform('caba', 'top.cpp', |
---|
| 9 | uses = [ |
---|
| 10 | Uses('caba:vci_cc_vcache_wrapper', |
---|
| 11 | dspin_in_width = dspin_cmd_flit_size, |
---|
| 12 | dspin_out_width = dspin_rsp_flit_size, |
---|
| 13 | iss_t = 'common:mips32el'), |
---|
| 14 | Uses('caba:vci_simple_ram'), |
---|
| 15 | Uses('caba:vci_simple_ram', cell_size = 8), |
---|
| 16 | Uses('caba:vci_multi_tty'), |
---|
| 17 | Uses('caba:vci_xicu'), |
---|
| 18 | Uses('caba:vci_multi_dma'), |
---|
| 19 | Uses('caba:vci_simhelper'), |
---|
| 20 | Uses('caba:vci_logger'), |
---|
| 21 | Uses('caba:vci_mem_cache', |
---|
| 22 | memc_cell_size_int = cell_size, |
---|
| 23 | memc_cell_size_ext = 8, |
---|
[836] | 24 | memc_dspin_out_width = dspin_cmd_flit_size, |
---|
| 25 | memc_dspin_in_width = dspin_rsp_flit_size, |
---|
[516] | 26 | ), |
---|
| 27 | Uses('caba:dspin_local_crossbar', |
---|
| 28 | flit_width = dspin_cmd_flit_size), |
---|
| 29 | Uses('caba:dspin_local_crossbar', |
---|
| 30 | flit_width = dspin_rsp_flit_size), |
---|
| 31 | Uses('caba:vci_dspin_target_wrapper', |
---|
| 32 | dspin_cmd_width = dspin_cmd_flit_size, |
---|
| 33 | dspin_rsp_width = dspin_rsp_flit_size, |
---|
| 34 | cell_size = cell_size), |
---|
| 35 | Uses('caba:vci_dspin_initiator_wrapper', |
---|
| 36 | dspin_cmd_width = dspin_cmd_flit_size, |
---|
| 37 | dspin_rsp_width = dspin_rsp_flit_size, |
---|
| 38 | cell_size = cell_size), |
---|
| 39 | Uses('common:elf_file_loader'), |
---|
| 40 | |
---|
| 41 | ], |
---|
| 42 | cell_size = cell_size, |
---|
| 43 | plen_size = 8, |
---|
| 44 | addr_size = 32, |
---|
| 45 | rerror_size = 1, |
---|
| 46 | clen_size = 1, |
---|
| 47 | rflag_size = 1, |
---|
| 48 | srcid_size = 14, |
---|
| 49 | pktid_size = 4, |
---|
| 50 | trdid_size = 4, |
---|
| 51 | wrplen_size = 1 |
---|
| 52 | ) |
---|
| 53 | |
---|