Skip to content

Commit

Permalink
Update gold
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Dec 3, 2019
1 parent 153c9ae commit a4041d8
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions tests/test_syntax/gold/TestBasicToVerilog.v
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,21 @@ module TestBasic (
);

logic [1:0] _O;
logic [1:0] self_x_I;
logic [1:0] self_x_O;
logic [1:0] self_y_I;
logic [1:0] self_y_O;
logic [1:0] x;
logic [1:0] y;

always_ff @(posedge CLK, posedge ASYNCRESET) begin
if (ASYNCRESET) begin
self_x_O <= 2'h0;
self_y_O <= 2'h0;
x <= 2'h0;
y <= 2'h0;
end
else begin
self_x_O <= self_x_I;
self_y_O <= self_y_I;
_O <= y;
y <= x;
x <= I;
O <= _O;
end
end
always_comb begin
_O = self_y_O;
self_y_I = self_x_O;
self_x_I = I;
O = _O;
end
endmodule // TestBasic


0 comments on commit a4041d8

Please sign in to comment.