pflib v3.9.0-rc3-11-g2537d8f
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
roc.cxx File Reference

ROC menu commands and support functions. More...

#include "pftool.h"
Include dependency graph for roc.cxx:

Functions

static void roc_render (Target *pft)
 Simply print the currently selective ROC so that user is aware which ROC they are interacting with by default.
 
static void roc_expert_render (Target *tgt)
 Extra instruction for user.
 
static void roc_expert (const std::string &cmd, Target *tgt)
 ROC.EXPERT menu commands.
 
static void roc (const std::string &cmd, Target *pft)
 ROC menu commands.
 

Detailed Description

ROC menu commands and support functions.

Function Documentation

◆ roc()

static void roc ( const std::string & cmd,
Target * pft )
static

ROC menu commands.

When necessary, the ROC interaction object pflib::ROC is created via pflib::Target::roc with the currently active roc.

Commands

Parameters
[in]cmdROC command
[in]pftactive target

◆ roc_expert()

static void roc_expert ( const std::string & cmd,
Target * tgt )
static

ROC.EXPERT menu commands.

Detailed interaction with ROC doing things like interacting with the registers that hold the HGCROC parameters without using the compiler

Commands

  • PAGE : print a page of raw registers pflib::ROC::readPage
  • POKE : set a specific register to a specific value pflib::ROC::setValue
  • LOAD : load a CSV of register values onto chip pflib::ROC::loadRegisters
  • DUMP : dump HGCROC registers to CSV pflib::ROC::dumpSettings with decompile=false
  • DIRECT_ACCESS_PARAMETERS : prints all direct access parameters in the ROC
  • GET_DIRECT_ACCESS : print direct access parameters and their values
  • SET_DIRECT_ACCESS : set direct access parameter to specific value

◆ roc_render()

static void roc_render ( Target * pft)
static

Simply print the currently selective ROC so that user is aware which ROC they are interacting with by default.

Parameters
[in]pftactive target (not used)