Skip to content

Commit

Permalink
Fix for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaz committed Dec 9, 2012
1 parent 493a232 commit b39d0d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SRC/components/array_t.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ PACKAGE array_t IS
(2, 0),
(0, 2), --Pipeline
(3, 0),
(2, 0),
(1, 0),
(0, 2), --Pipeline
(1, 0)
);
Expand Down
4 changes: 2 additions & 2 deletions SRC/fir_sol/comb_part.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ begin
a_4: for l in 0 to a_elem_index(k)(ELEM_ADDER)-1 generate
a_add: adder port map(a_web(k)(2*l),a_web(k)(2*l +1),a_web(k+1)(l));
end generate a_4;
a_5: if k = 4 generate --when number of wire is odd, no need for adder but one wire need to be transmited
a_5: if k = 5 generate --when number of wire is odd, no need for adder but one wire need to be transmited
a_web(k+1)(a_elem_index(k)(ELEM_ADDER)) <= a_web(k)(2*a_elem_index(k)(ELEM_ADDER));
end generate a_5;
ap_1: for m in 0 to a_elem_index(k)(ELEM_REG)-1 generate --register for pipeline
Expand All @@ -76,7 +76,7 @@ begin

--Direct wiring for early feedback
bj_1: for i in 0 to N_DIRECT_JUMP-1 generate
b_web(feedb_jump_index(i)(0))(feedb_jump_index(i)(1)) <= b_web(0)(B_WIDTH-i)
b_web(feedb_jump_index(i)(0))(feedb_jump_index(i)(1)) <= b_web(0)(B_WIDTH-1-i);
end generate;

--generate adders for each level
Expand Down

0 comments on commit b39d0d2

Please sign in to comment.