mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
comment
This commit is contained in:
parent
28278e8d35
commit
6c0d327274
@ -7,7 +7,7 @@ module bin2gray(B, G);
|
||||
integer i;
|
||||
wire [width:0] extB;
|
||||
|
||||
assign extB = {1'b0, B};
|
||||
assign extB = {1'b0, B}; // zero-extend input
|
||||
|
||||
always @(extB) begin
|
||||
for (i=0; i < width; i=i+1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user