Latest Post
Verilog: 2 Bit Counter Behavioral Modelling using If Else Statement
- Get link
- X
- Other Apps
Verilog Code for 2 Bit Counter Behavioral Modelling using If Else Statement
module 2_bit_Count(
input clock, reset,
output [1:0]dout
);reg [1:0]dout;initial dout = 0;
always @ (posedge (clock))beginif (reset)dout <= 0;elsedout <= dout + 1;end
endmodule
Xillinx Output:
| 2 Bit Counter using If Else Behavioral Modelling |
Also See:
- Get link
- X
- Other Apps
Comments
Post a Comment