jeras / sockit_owm

SocKit 1-wire (onewire) master

Home Page:http://opencores.org/project,sockit_owm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with Dat bit.

tonyph opened this issue · comments

Should line 402 approx have 1'b1. See where I put the ?????? marks below. You say you are writing a 1?

else if (pls) begin
if (owr_rst & (cnt == t_rsth)) owr_oen <= 1'b0; // reset
else if (owr_dat & (cnt == t_dat1)) owr_oen <= 1'b0; // write 1, read ???????????
else if ( (cnt == t_dat0)) owr_oen <= 1'b0; // write 0
end

Never mind. This caused more problems.
Regards