1 | # -*- python -*- |
---|
2 | |
---|
3 | DSPIN_FLIT_WIDTH = 39 |
---|
4 | |
---|
5 | # DSPIN network parameters |
---|
6 | Module('caba:reconf:synthetic_dspin_network', |
---|
7 | classname = 'soclib::caba::SyntheticDspinNetwork', |
---|
8 | header_files = ['../source/include/synthetic_dspin_network.h'], |
---|
9 | implementation_files = ['../source/src/synthetic_dspin_network.cpp'], |
---|
10 | ports = [ |
---|
11 | Port('caba:bit_in', 'p_resetn', auto = 'resetn'), |
---|
12 | Port('caba:clock_in', 'p_clk', auto = 'clock'), |
---|
13 | ], |
---|
14 | uses = [ |
---|
15 | Uses('caba:base_module'), |
---|
16 | Uses('caba:reconf:dspin_router', |
---|
17 | flit_width=DSPIN_FLIT_WIDTH), |
---|
18 | Uses('caba:dspin_broadcast_generator', |
---|
19 | cmd_width=DSPIN_FLIT_WIDTH, |
---|
20 | rsp_width=DSPIN_FLIT_WIDTH), |
---|
21 | Uses('caba:dspin_packet_generator', |
---|
22 | cmd_width=DSPIN_FLIT_WIDTH, |
---|
23 | rsp_width=DSPIN_FLIT_WIDTH) |
---|
24 | ], |
---|
25 | ) |
---|