Prev Problem
Next Problem

23. Open-Drain I2C SDA line

Back To All Submissions
Previous Submission
Next Submission

Just need to pull it down else keep it in high impedence

module i2c_line (
    input drive_low,
    output tri1 sda 
);

assign sda = drive_low ? 1'b0 : 1'bz;
endmodule
Was this helpful?
Upvote
Downvote