Spectre attack detection with Neutral Network on RISC-V processor