URL
https://opencores.org/ocsvn/async_sdm_noc/async_sdm_noc/trunk
Subversion Repositories async_sdm_noc
Compare Revisions
- This comparison shows the changes necessary to convert path
/async_sdm_noc/branches/init/vc/src
- from Rev 46 to Rev 51
- ↔ Reverse comparison
Rev 46 → Rev 51
/dcb_vc.v
15,6 → 15,7
04/04/2010 Initial version. <wsong83@gmail.com> |
12/05/2010 Use MPxP crossbar. <wsong83@gmail.com> |
02/06/2011 Clean up for opensource. <wsong83@gmail.com> |
09/06/2011 Remove the C-elements as muxes already have C-elements inside. <wsong83@gmail.com> |
|
*/ |
|
169,6 → 170,7
); |
|
// acknowledgement |
/* |
c2 SA0 (.a0(srtg[i][0]), .a1(doa[1]), .q(sa[i][0])); |
c2 SA1 (.a0(srtg[i][1]), .a1(doa[2]), .q(sa[i][1])); |
c2 SA2 (.a0(srtg[i][2]), .a1(doa[3]), .q(sa[i][2])); |
185,7 → 187,24
c2 LA1 (.a0(lrtg[i][1]), .a1(doa[1]), .q(la[i][1])); |
c2 LA2 (.a0(lrtg[i][2]), .a1(doa[2]), .q(la[i][2])); |
c2 LA3 (.a0(lrtg[i][3]), .a1(doa[3]), .q(la[i][3])); |
|
*/ |
assign sa[i][0] = doa[1]; |
assign sa[i][1] = doa[2]; |
assign sa[i][2] = doa[3]; |
assign sa[i][3] = doa[4]; |
assign wa[i][0] = doa[3]; |
assign wa[i][1] = doa[4]; |
assign na[i][0] = doa[0]; |
assign na[i][1] = doa[1]; |
assign na[i][2] = doa[3]; |
assign na[i][3] = doa[4]; |
assign ea[i][0] = doa[1]; |
assign ea[i][1] = doa[4]; |
assign la[i][0] = doa[0]; |
assign la[i][1] = doa[1]; |
assign la[i][2] = doa[2]; |
assign la[i][3] = doa[3]; |
|
end // block: IMX |
endgenerate |
|
/ddmux.v
14,6 → 14,7
History: |
31/03/2010 Initial version. <wsong83@gmail.com> |
02/06/2011 Clean up for opensource. <wsong83@gmail.com> |
09/06/2011 Make sure the sel pin is considered in the ack process. <wsong83@gmail.com> |
|
*/ |
|
51,7 → 52,8
end |
endgenerate |
|
assign d_in_a = |d_out_a; |
//assign d_in_a = |d_out_a; |
c2 CACK (.a0(|d_out_a), .a1(|d_sel), .q(d_in_a)); |
|
endmodule // ddmux |
|
/inpbuf.v
16,6 → 16,7
12/05/2010 Use MPxP crossbars. <wsong83@gmail.com> |
17/04/2010 Remove unnecessary pipeline stages. <wsong83@gmail.com> |
02/06/2011 Clean up for opensource. <wsong83@gmail.com> |
09/06/2011 Remove the C-elements as muxes already have C-elements inside. <wsong83@gmail.com> |
|
*/ |
|
115,7 → 116,7
); |
|
//c2 IVMA (.a0(ivma), .a1(rua), .q(dia)); divc is not checked |
ctree #(.DW(3)) ACKT(.ci({ivma, rua, (|divcm)}), .co(dia)); |
ctree #(.DW(2)) ACKT(.ci({ivma, rua}), .co(dia)); |
|
assign di0m = rst_n ? di0 : 0; |
assign di1m = rst_n ? di1 : 0; |
/vcdmux.v
14,7 → 14,8
History: |
31/03/2010 Initial version. <wsong83@gmail.com> |
02/06/2011 Clean up for opensource. <wsong83@gmail.com> |
|
09/06/2011 Make sure the sel pin is considered in the ack process. <wsong83@gmail.com> |
|
*/ |
|
module vcdmux ( /*AUTOARG*/ |
65,7 → 66,8
end |
endgenerate |
|
assign dia = |doa; |
//assign dia = |doa; |
c2 CACK (.a0(|doa), .a1(|divc), .q(dia)); |
|
endmodule // vcdmux |
|
/rtu.v
15,7 → 15,7
History: |
02/04/2010 Initial version. <wsong83@gmail.com> |
02/06/2011 Clean up for opensource. <wsong83@gmail.com> |
08/06/2011 The selection pin of the demux must be considered in the ack process. <wsong83@gmail.com> |
09/06/2011 The selection pin of the demux must be considered in the ack process. <wsong83@gmail.com> |
|
*/ |
|
51,7 → 51,7
wire p2a, p2ad, p2avc, p2an; |
wire [SN-1:0] p3d; |
wire [VCN-1:0] p3vc; |
wire p3a, p3an, p3ad; |
wire p3a, p3an; |
wire [PD*2:0][VCN-1:0][SN-1:0] pd; |
wire [PD*2:0][VCN-1:0] pda, pdan; |
|
146,7 → 146,7
// p3 -> DEMUX -> pd[0] |
ddmux #(.DW(SN), .VCN(VCN)) |
RTDM ( |
.d_in_a ( p3ad ), |
.d_in_a ( p3a ), |
.d_out ( pd[0] ), |
.d_in ( p3d ), |
.d_sel ( p3vc ), |
153,7 → 153,7
.d_out_a ( pda[0]) |
); |
|
c2 CP3A (.q(p3a), .a0(p3ad), .a1(|p3vc)); |
//c2 CP3A (.q(p3a), .a0(p3ad), .a1(|p3vc)); |
assign p3an = (~p3a) & rst_n; |
|
// pd pipeline |