added decoder to filelist, fixes errors management
This commit is contained in:
parent
7ae9c9983e
commit
1f17471a76
@ -38,7 +38,7 @@ targets:
|
|||||||
analyze_options:
|
analyze_options:
|
||||||
- -fsynopsys
|
- -fsynopsys
|
||||||
run_options:
|
run_options:
|
||||||
- --wave=waveform.ghw --stop-time=5ms
|
- --wave=waveform.ghw --stop-time=25ms
|
||||||
parameters:
|
parameters:
|
||||||
|
|
||||||
synth:
|
synth:
|
||||||
|
@ -8,6 +8,7 @@ filesets:
|
|||||||
- receptionTrame_op.vhd
|
- receptionTrame_op.vhd
|
||||||
- receptionTrame.vhd
|
- receptionTrame.vhd
|
||||||
- receptionTrame_com.vhd
|
- receptionTrame_com.vhd
|
||||||
|
- decoder_tbl.vhd
|
||||||
file_type: vhdlSource
|
file_type: vhdlSource
|
||||||
depend:
|
depend:
|
||||||
- ETN4:conceptionCircuits:LIN_TB:1.0.0
|
- ETN4:conceptionCircuits:LIN_TB:1.0.0
|
||||||
|
@ -48,6 +48,10 @@ SIGNAL errs: errors;
|
|||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
||||||
|
ErrorSet(1) <= errs.ErrorStartBit;
|
||||||
|
ErrorSet(2) <= errs.ErrorStopBit;
|
||||||
|
ErrorSet(3) <= errs.ErrorSync;
|
||||||
|
|
||||||
stateUpd : PROCESS(H, nRST)
|
stateUpd : PROCESS(H, nRST)
|
||||||
BEGIN
|
BEGIN
|
||||||
IF(nRST = '0') THEN
|
IF(nRST = '0') THEN
|
||||||
@ -205,6 +209,7 @@ BEGIN
|
|||||||
nbData_EN <= '0';
|
nbData_EN <= '0';
|
||||||
RecByte_WR <= '0';
|
RecByte_WR <= '0';
|
||||||
MsgRcv_SET <= '0';
|
MsgRcv_SET <= '0';
|
||||||
|
errs <= (others => '0');
|
||||||
|
|
||||||
CASE cState IS
|
CASE cState IS
|
||||||
WHEN waiting =>
|
WHEN waiting =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user