Components/IP/Command decoder

(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
  
 
This IP can be found on the EDA Repository: svn: https://repos.hevs.ch/svn/eda/
 
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
 
The block receives a command built out of characters ending with
Line 15: Line 17:
 
The <code>LF (0A<sub>h</sub>)</code> character in the ROM ends the matching search and directly issues a command pulse,
 
The <code>LF (0A<sub>h</sub>)</code> character in the ROM ends the matching search and directly issues a command pulse,
 
without awaiting the end of the command line.
 
without awaiting the end of the command line.
 +
 +
= Script =
 +
 +
The script <code>commandDecoder.py</code> generates the ROM data file.
 +
 +
[[Category:Components]] [[Category:Designs]] [[Category:VHDL]] [[Category:IP]]

Revision as of 08:35, 28 June 2018

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