Cesnet Liberouter
  • Projects
  • NIFIC
  • NetCOPE
  • FFlowMon
  • Past projects
  • VHDL design
  • System software
  • Testing
  • Formal verification
  • Documents
  • Hardware
  • Our partners
Main page -> System software -> Manual pages
camctl

Name

camctl - Tool for filling CAM from file

Synopsis

camctl [-hV] [-b base_addr] [-d path] [-D[level]] [-f file] [-v[level]] [-x file]

Options

-b base_addr
Component base address. Argument may be specified in octal, decimal or hex format according to prefix - "0", "", "0x".
-d path
Path to device file to use. Default /dev/combosix/0.
-D[level]
Set debug level. Works only if compilled with -DDEBUG specified. The higher level, the more detailed information provided. Without argument level 0 is used as default. Argument stays tight to -D swith -D1 -D2.
-f file
Source file with data to be written into CAM memory. Format of data is as follows: "row_number data mask" where row_number is row number in decimal fomat starting from value 0, data and mask are in hex format without 0x prefix. Each row is on single line.
-v[level]
Set verbosity level. The higher level, the more detailed information provided. Level 0 is basic level, level 2 is the most detailed. Without argument level 0 is used as default. Argument stays tight to -v switch -v0 -v1 -v2.
-x file
Design.xml file to use for component mapping.
-h
Show program help.
-V
Show version.

Examples

camctl -b 0x4000 -f cam_data.txt -v2
Fill CAM from file cam_data.txt, unit is at base address 0x4000, verbose operation of level 2 (most detailed).

Component mapping

Component mapping can be performed in 3 ways. Default is using component mapping according to design.xml file of loaded design. Another method is to select certain design.xml file by -x switch. Base address of component can be specified also by -b switch.

Reporting Bugs

To report bug, go to https://www.liberouter.org/bugtrack/

Main Page About Liberouter Team Mailing list SVN Contacts