Commit 7ad46c48 authored by Fabien Le Mentec's avatar Fabien Le Mentec

hdl, absenc: BISS master waits for start bit

parent 6d4e5e3f
# source endat.tcl # source endat.tcl
# source biss.tcl source biss.tcl
source ssi.tcl # source ssi.tcl
# wave add /main/master/latched_data # wave add /main/master/latched_data
# wave add /main/master/msb_data # wave add /main/master/msb_data
......
...@@ -113,7 +113,7 @@ begin ...@@ -113,7 +113,7 @@ begin
end process; end process;
process(curr_state, count_match, tm_match) process(curr_state, count_match, tm_match, miso)
begin begin
next_state <= curr_state; next_state <= curr_state;
...@@ -131,8 +131,9 @@ begin ...@@ -131,8 +131,9 @@ begin
next_state <= BISS_START; next_state <= BISS_START;
when BISS_START => when BISS_START =>
-- TODO: check miso == 1 if miso = '1' then
next_state <= BISS_CDS; next_state <= BISS_CDS;
end if;
when BISS_CDS => when BISS_CDS =>
next_state <= BISS_DATA; next_state <= BISS_DATA;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment