verilog
This commit is contained in:
8
tests/test2.v
Normal file
8
tests/test2.v
Normal file
@ -0,0 +1,8 @@
|
||||
module test2 (
|
||||
input [3:0] a,
|
||||
output [6:0] b
|
||||
);
|
||||
|
||||
assign b = (1 << (a + 1)) - 2;
|
||||
|
||||
endmodule
|
Reference in New Issue
Block a user