FreeCalypso > hg > freecalypso-tools
diff target-utils/simagent/simup.c @ 775:6ec781e61e68
simagent: enable CHKPAR and CONV at the end of sim-up
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 12 Mar 2021 22:08:07 +0000 |
parents | 130c46b83760 |
children | badc5399d641 |
line wrap: on
line diff
--- a/target-utils/simagent/simup.c Fri Mar 12 21:52:09 2021 +0000 +++ b/target-utils/simagent/simup.c Fri Mar 12 22:08:07 2021 +0000 @@ -205,5 +205,10 @@ /* all good! */ sim_if_state = 2; + if (inverse_coding) + conf1_reg |= SIM_CONF1_CONV | SIM_CONF1_CHKPAR; + else + conf1_reg |= SIM_CONF1_CHKPAR; + SIMREGS.conf1 = conf1_reg; print_atr(); }