文档内容节选
library ieee use ieeestdlogic1164all entity wubi is portenain stdlogic selin stdlogicvector2 downto 0 xout stdlogicvector7 downto 0 end wubi architecture bhv of wubi is begin processenasel variable temp1stdlogicvectorxhigh downto 0 variable temp2integer range 0 to xhigh begin temp1others1 temp20 ifena1 then for i in selrange loop ifseli1 then temp22temp21 else temp22temp2 end if end loop temp1temp20 end if xtemp1 end process end bhv......
猜您喜欢
评论