Prev Problem
Next Problem

23. Open-Drain I2C SDA line

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

 

Code

module  i2c_line (
    input   drive_low,
    output  sda
);
    // TODO: Assign outputs using part-selects and bit-selects
    assign sda = drive_low ? 0 : 1;
endmodule
Was this helpful?
Upvote
Downvote