Skip to content

Initialize flip-flops with undefined reset value to x #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dataset_code-complete-iccad2023/Prob053_m2014_q4d_ref.sv
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module RefModule (
);

initial
out = 0;
out = 1'hx;

always@(posedge clk) begin
out <= in ^ out;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module RefModule (
output reg Q
);

initial Q=0;
initial Q=1'hx;
always @(posedge clk)
Q <= L ? r_in : q_in;

Expand Down
2 changes: 1 addition & 1 deletion dataset_spec-to-rtl/Prob034_dff8_ref.sv
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module RefModule (
);

initial
q = 8'h0;
q = 8'hx;

always @(posedge clk)
q <= d;
Expand Down
2 changes: 1 addition & 1 deletion dataset_spec-to-rtl/Prob053_m2014_q4d_ref.sv
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module RefModule (
);

initial
out = 0;
out = 1'hx;

always@(posedge clk) begin
out <= in ^ out;
Expand Down
2 changes: 1 addition & 1 deletion dataset_spec-to-rtl/Prob104_mt2015_muxdff_ref.sv
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module RefModule (
output reg Q
);

initial Q=0;
initial Q=1'hx;
always @(posedge clk)
Q <= L ? r_in : q_in;

Expand Down