??? > ? > >
Verilog HDL????
? ?2013-11-3 17:29:43 ?
??
b?????
?????????忱???
(2)??
?b = a;
?????
b????????
???
??????????“always”?reg?????????????快“always”??reg??????
b <= a;
?????快???“always”???抗ba???“always”???我????????
b = a;
????快??????b?a??????
1?
always @ posedge clk begin
b<=a;
c<=b;
end
1快“always”???reg?bcclk????b?ac?b??????“always”?快?c???b?“always”??﹞?1?
2??
always @posedge clk begin
b=a;
c=b;
end
2快“always”??clk????米?η?a?c?b?a???﹞?2?
?1 ???﹞ ?2 ???﹞
???a???bc????3.5???????
??????????begin_end?????快??????fork_join????快????扭???
1?
???
1????快?????妊
2?????????
3??????
???㏒
begin
1;
2;
......
n;
end
?
begin:
1;
2;
......
n;
end
孝
1????迆??
2??reg??integer?real??
?
3?
begin
areg = breg;
creg = areg; //creg??breg?
end
?????孝areg??breg???????creg??areg?????百???creg???breg???????????4?
4??
begin
areg = breg;
#10 creg = areg; //??10??竹
end
- 1
- 2
- ??
?????
- ?? Verilog HDL???
- ?? ????????