小改
This commit is contained in:
parent
500301993e
commit
c5e5f02c76
3 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ set_location_assignment PIN_31 -to enable_in
|
||||||
set_location_assignment PIN_46 -to Qout[0]
|
set_location_assignment PIN_46 -to Qout[0]
|
||||||
set_location_assignment PIN_50 -to Qout[1]
|
set_location_assignment PIN_50 -to Qout[1]
|
||||||
set_location_assignment PIN_52 -to Qout[2]
|
set_location_assignment PIN_52 -to Qout[2]
|
||||||
set_location_assignment PIN_88 -to clk_in
|
set_location_assignment PIN_89 -to clk_in
|
||||||
set_location_assignment PIN_43 -to code_out[6]
|
set_location_assignment PIN_43 -to code_out[6]
|
||||||
set_location_assignment PIN_44 -to code_out[5]
|
set_location_assignment PIN_44 -to code_out[5]
|
||||||
set_location_assignment PIN_39 -to code_out[4]
|
set_location_assignment PIN_39 -to code_out[4]
|
||||||
|
|
|
@ -8,7 +8,7 @@ begin
|
||||||
if(en == 1'b1)
|
if(en == 1'b1)
|
||||||
begin
|
begin
|
||||||
if(Q<3'd6)
|
if(Q<3'd6)
|
||||||
Q <= Q + 1'b1;
|
Q <= Q + 3'b1;
|
||||||
else
|
else
|
||||||
Q <= 0;
|
Q <= 0;
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue