URL
https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk
Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc
[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [src_verilator/] [topology/] [star.h] - Rev 48
Go to most recent revision | Compare with Previous | Blame | View Log
#ifndef STAR_H #define STAR_H void topology_connect_all_nodes (void){ router1[0]->current_r_addr = 0; unsigned int pos; for ( pos = 0; pos < NE; pos=pos+1 ) {// : endpoints //assign router_chan_out [0][pos] = chan_in_all [pos]; //assign chan_out_all [pos] = router_chan_in [0][pos]; connect_r2e(1,0,pos,pos); er_addr [pos] = 0; }//pos } unsigned int endp_addr_encoder ( unsigned int id){ return id; } unsigned int endp_addr_decoder (unsigned int code){ return id; } void topology_init (void){ } #endif
Go to most recent revision | Compare with Previous | Blame | View Log