【正文】
10。c。architecture three of tiaofu is begin sel=aamp。 sel: out std_logic_vector(2 downto 0))。use 。end one。end case。when 111=z=h。when 101=z=f。when 011=z=d。when 001=z=b。s1。begins=s3amp。end lpm。 a,b,c,d,e,f,g,h:in std_logic_vector(7 downto 0)。use 。 輸出波形選擇模塊library ieee。 end process。 y6=y(6)。 y4=y(4)。 y2=y(2)。 y0=y(0)。 else y:=11111111。 when others=y:=XXXXXXXX。 when110=y:=10111111。 when100=y:=11101111。 when010=y:=11111011。)then case a is when000=y:=11111110。 and s0=39。 and s1=39。 begin if(s2=39。a0。begin a=a2amp。end DECODER。entity DECODER is port(a0,a1,a2,s0,s1,s2:in std_logic。 波形選擇模塊library ieee。 y=y_temp。