added decoder to filelist, fixes errors management

This commit is contained in:
leo 2023-11-16 15:45:05 +01:00
parent 7ae9c9983e
commit 1f17471a76
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB
3 changed files with 7 additions and 1 deletions

View File

@ -38,7 +38,7 @@ targets:
analyze_options:
- -fsynopsys
run_options:
- --wave=waveform.ghw --stop-time=5ms
- --wave=waveform.ghw --stop-time=25ms
parameters:
synth:

View File

@ -8,6 +8,7 @@ filesets:
- receptionTrame_op.vhd
- receptionTrame.vhd
- receptionTrame_com.vhd
- decoder_tbl.vhd
file_type: vhdlSource
depend:
- ETN4:conceptionCircuits:LIN_TB:1.0.0

View File

@ -48,6 +48,10 @@ SIGNAL errs: errors;
BEGIN
ErrorSet(1) <= errs.ErrorStartBit;
ErrorSet(2) <= errs.ErrorStopBit;
ErrorSet(3) <= errs.ErrorSync;
stateUpd : PROCESS(H, nRST)
BEGIN
IF(nRST = '0') THEN
@ -205,6 +209,7 @@ BEGIN
nbData_EN <= '0';
RecByte_WR <= '0';
MsgRcv_SET <= '0';
errs <= (others => '0');
CASE cState IS
WHEN waiting =>