if clk"event and clk=’l’then
b<=QI(1);
c<=QI(0);
if (clklh='1' or clkll='1' or clk2h=1’or clk21='1')then -- 每个双比特码元的上升沿
case QI is
when”00”=>uuu<=”100111111l”;reset<=‘1’;--5π/4载波
when”Ol”=>uuu<-”01011111Il”;reset<=‘1’;--3π/4载波
when”10”=>UUll<=”1101111111”;reset<=‘1’;--7π/4载波
when’’11”=>uuu<-”0001111111”;reset<=‘I’; --4载波
when others=>uuu<=”0000000000”;reset<=‘l’
end ease;
else uuu<=uuu+“0001000000”;reset<=‘0’;
endif;