This IP can be found on the EDA Repository: svn: https://repos.hevs.ch/svn/eda/
The block receives a command built out of characters ending with
CR (0Dh) or a
A number of commands stored in a ROM are compared to the incoming line.
A the end of the reception, the output(s) matching with the incoming commands emit a pulse lasting one clock period.
esc (1Bh) character in the ROM matches any character in the command.
CR (0Dh) character in the ROM ends the matching search, even if the command continues,
e.g. with further parameters.
LF (0Ah) character in the ROM ends the matching search and directly issues a command pulse,
without awaiting the end of the command line.
commandDecoder.py generates the ROM data file.
With the command list :
commands = [ 'version', 'relays\r', 'sampling\r', "memRead\r", "memWrite\r" ]
Hello world will pulse the
endOfCommand signal, but with none of the
command bits active.
version will pulse the
endOfCommand signal with bit