skip to main
|
skip to sidebar
2009年9月28日 星期一
9/28 verilog報告
module yao;
integer ia,ib;
reg a,b ;
wire c;
xor x1(c,a,b);
initial
begin
for (ia=0;ia<=1;ia=ia+1)
begin
a=ia;
for(ib=0;ib<=1;ib=ib+1)
begin
b=ib;
#10 $display("a=%d b=%d c=%d",a,b,c);
end
end
end
endmodule
較新的文章
首頁
訂閱:
意見 (Atom)
交流園區
網誌存檔
▼
2009
(9)
►
12月
(3)
►
11月
(2)
►
10月
(3)
▼
9月
(1)
9/28 verilog報告
關於我自己
阿曜
檢視我的完整簡介