Skip to content

an enquiry about I2c testing in pulpino MC‏ #402

@yousifashour1

Description

@yousifashour1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions