added decoder to filelist, fixes errors management
This commit is contained in:
parent
7ae9c9983e
commit
1f17471a76
@ -38,7 +38,7 @@ targets:
|
||||
analyze_options:
|
||||
- -fsynopsys
|
||||
run_options:
|
||||
- --wave=waveform.ghw --stop-time=5ms
|
||||
- --wave=waveform.ghw --stop-time=25ms
|
||||
parameters:
|
||||
|
||||
synth:
|
||||
|
@ -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
|
||||
|
@ -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 =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user