Commit 026b0437 authored by Tristan Gingold's avatar Tristan Gingold

vtucore: fix start of lowfreq, rework test.

parent f00f4d0d
...@@ -1366,7 +1366,7 @@ begin ...@@ -1366,7 +1366,7 @@ begin
-- Toggle when a pulse is detected. -- Toggle when a pulse is detected.
process (Clk, RstOrStopSeq) process (Clk, RstOrStopSeq)
begin begin
if RstOrStopSeq = '1' then if RstOrStopSeq = '1' or LowFreqGenerationMode = '0' then
ClkValueSwitch <= '0'; ClkValueSwitch <= '0';
elsif (Clk'event and Clk = '1') then elsif (Clk'event and Clk = '1') then
if DataOut_seq /= x"00" then if DataOut_seq /= x"00" then
...@@ -1378,7 +1378,7 @@ begin ...@@ -1378,7 +1378,7 @@ begin
-- Fill data with ones or zeros after one when DataOutPulse='1' -- Fill data with ones or zeros after one when DataOutPulse='1'
process (DataOut_seq, RstorStopSeq) process (DataOut_seq, RstorStopSeq)
begin begin
if RstOrStopSeq = '1' then if RstOrStopSeq = '1' or LowFreqGenerationMode = '0' then
-- Value at rest. -- Value at rest.
DataFilled <= "00000000"; DataFilled <= "00000000";
else else
......
This diff is collapsed.
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