Generation block C

how to generate my c block,
in other words how to use.

when doing simulation, I get this message

Error Message:
Element: DLL_EXT Name: SCB1
ERROR: variable ‘ADCON1’ not defined
ERROR: command ‘ADCON1’ not found
ERROR: syntax error before or at line 9 in file ‘C:\Powersim\PSIM_2020a_Trial\PsimTmp\sA1401.cxx’
==>: ADCON1 = 0b00001010; //0x0A definir analogicos
BUG: ADCON1 = 0b00001010; //0x0A definir analogicos<== ???
ERROR: variable ‘TRISB’ not defined
ERROR: command ‘TRISB’ not found
ERROR: syntax error before or at line 10 in file ‘C:\Powersim\PSIM_2020a_Trial\PsimTmp\sA1401.cxx’
==>: TRISB = 0X00;
BUG: TRISB = 0X00;<== ???
ERROR: variable ‘PORTB’ not defined
ERROR: command ‘PORTB’ not found
ERROR: syntax error before or at line 11 in file 'C:\Powersim\PSIM_2020a_Trial\PsimTmp\sA1401