What is common name for the circuit implemented by the following verilog code? module something (a,b,c,d,e); input b, c,
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is common name for the circuit implemented by the following verilog code? module something (a,b,c,d,e); input b, c,
What is common name for the circuit implemented by the following verilog code? module something (a,b,c,d,e); input b, c, d, e; output (7:0) a; reg [":0) a; always @ (posedge b or posedge c) begin if (c) begin a <= 8'do ; end else if (d) begin a <= a + 1; end else if (e) begin a <= a - 1; end else begin a <= a; end end endmodule (a) gray code counter (b) BCD counter (c) up/down counter (d) one hot counter
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!