vveerendra
Newbie level 5
- Joined
- Apr 2, 2013
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,358
module code1(A,B,CLK);
input CLK;
input A;
output B;
reg B;
always @(posedge CLK)
begin
B<=A;
end
always@(negedge CLK)
begin
B<=~A;
end
endmodule
input CLK;
input A;
output B;
reg B;
always @(posedge CLK)
begin
B<=A;
end
always@(negedge CLK)
begin
B<=~A;
end
endmodule