Components/IP/Command decoder
From UIT
Revision as of 14:54, 6 June 2018 by Francois.corthay (Talk | contribs)
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
a CR (0Dh)
or a LF (0Ah)
.
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.
The esc (1Bh)
character in the ROM matches any character in the command.
The CR (0Dh)
character in the ROM ends the matching search, even if the command continues,
e.g. with further parameters.