【文章內(nèi)容簡介】
39。 thencase s iswhen 001= temp=71582788。when 010= temp=143165576。when 011= temp=214748364。when 100= temp=286331152。when 101= temp=357913940。when 110= temp=429496728。when 111= temp=715827880。when others= temp=71582788。end case。end if。 fo=conv_std_logic_vector(temp,32)。end process。process(clk,fo,en,pword)begin fw=fo。 if clk39。event and clk=39。139。 then if en=39。139。 then fre_count=fre_count+fw。 end if。 end if。end process。process(clk,pw)beginpw=pword。 if clk39。event and clk=39。139。 then if en=39。139。 then address=fre_count(31 downto 24)+pw。 end if。 end if。 addr_rom=address。end process。 process(xx,clk) begin if xx=00 then z1=clk。 else z1=39。139。 end if。 if xx=01 then z2=clk。 else z2=39。139。 end if。 if xx=10 then z3=clk。 else z3=39。139。 end if。 if xx=11 then z4=c