Components/IP/Command decoder

From UIT
Jump to: navigation, search

Contents

This IP can be found on the EDA Repository: svn: https://repos.hevs.ch/svn/eda/

IP

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.

The LF (0Ah) character in the ROM ends the matching search and directly issues a command pulse, without awaiting the end of the command line.

Script

The script commandDecoder.py generates the ROM data file.

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox