2008年5月8日

結構模式程式

always
@(present_state or r2gey or pb)
begin
next_state = present_state&r2geypb;
ldr1 = 1;
ldr2= ~present_state;
ldr3= present_state;
clrr2 = 0;
incr2 = present_state;
aluctrl[5] = present_state;
aluctrl[4] = 0;
aluctrl[3] = ~present_state;
aluctrl[2] = 1;
aluctrl[1] = ~present_state;
aluctrl[0] = 0;
ready = ~present_state;
end
endmodule

沒有留言: