【文章內(nèi)容簡(jiǎn)介】
,test) begin if(clr=39。039。) then counter=000。 elsif(clk139。event and clk1=39。139。) then if(test=39。039。) or (koff=39。039。) then counter=counter。 else counter=counter+1。 end if。 end if。end process P2。selout=counter。dcc=counter amp。 key。P3: process(clk,test) begin if(clk39。event and clk=39。039。) then if(dcc=0001110) then dcc1=00000。 elsif(dcc=0011110) then dcc1=00001。 elsif(dcc=0101110) then dcc1=00010。 elsif(dcc=0111110) then dcc1=00011。 elsif(dcc=1101110) then dcc1=00100。 elsif(dcc=1111110) then dcc1=00101。 elsif(dcc=0001101) then dcc1=00110。 elsif(dcc=0011101) then dcc1=00111。 elsif(dcc=1001101) then dcc1=01000。 elsif(dcc=1011101) then dcc1=01001。 elsif(dcc=1101101) then dcc1=01010。 elsif(dcc=1111101) then dcc1=01011。 elsif(dcc=0101011) then dcc1=01100。 elsif(dcc=0111011) then dcc1=01101。 elsif(dcc=1001011) then dcc1=01110。 elsif(dcc=1011011) then dcc1=01111。 elsif(dcc=1001110) then dcc1=10000。 elsif(dcc=1011110) then dcc1=10001。 elsif(test=39。039。) then dcc1=01111。 end if。 end if。end process P3。dcc1=0000 when (dcc=0001110) else 0001 when (dcc=0011110) else 0010 when (dcc=0101110) else 0011 when (dcc=0111110) else 0100 when (dcc=1101110) else