anusha vasanta
Member level 1
- Joined
- Sep 23, 2014
- Messages
- 34
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 251
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 wire in_a; wire in_b; wire output_of_the_day; wire yet_another_output; // unregistered AND gate assign output_of_the_day = a & b; // the exact same boring unregistered AND gate always @(*) begin yet_another_output = a & b; end
Code Verilog - [expand] 1 2 3 4 5 wire output_sv_style; // More properly you'd use a "logic" and not a "wire", but lets keep it simple. // the exact same boring unregistered AND gate always_comb begin output_sv_style = a & b; end
slowly!?And in verilog country things are slowly but surely moving in the direction of systemverilog. So you would be future proofing your code habits.
I think I remember those monkeys as being the ones that just joined then came back and deleted the entire content of their original post after it was answered.Bah, I see that I mixed up in_a/in_b and a/b signals in my example code. And cannot edit it because some stupid monkeys have abused the edit function in the past. Curse you stupid monkeys, curse yooooouuuuuuuuu.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?