Skip to content
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

an enquiry about I2c testing in pulpino MC‏ #402

Open
yousifashour1 opened this issue Dec 18, 2023 · 1 comment
Open

an enquiry about I2c testing in pulpino MC‏ #402

yousifashour1 opened this issue Dec 18, 2023 · 1 comment

Comments

@yousifashour1
Copy link

yousifashour1 commented Dec 18, 2023

i can not understand what have happened here in this code
why we assigned 0 to these signals
and how can i test i2c with another one ?
in this snippet code
//

                wr_d:
                begin
                    c_state <= idle;
                    cmd_ack <= 1'b1;
                    scl_oen <= 1'b0; // set SCL low
                    sda_oen <= din;
                    sda_chk <= 1'b0; // don't check SDA output (SCL low)
                end

          endcase
  end

//FIXME ANTONIO CHECK
// assign scl and sda output (always gnd)
assign scl_o = 1'b0;  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<==================
assign sda_o = 1'b0;  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<==================

endmodule

//

thank you in advance

@yousifashour1
Copy link
Author

Uploading aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.png…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant