ACT Library
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ActCHPArbiter Class Reference

#include <chpdecomp.h>

Inheritance diagram for ActCHPArbiter:
ActPass

Public Member Functions

 ActCHPArbiter (Act *a)
 
int run (Process *p=NULL)
 
- Public Member Functions inherited from ActPass
 ActPass (Act *_a, const char *name, int doroot=0)
 
virtual ~ActPass ()
 release storage
 
void update (Process *p)
 
int rundeps (Process *p=NULL)
 
const char * getName ()
 
virtual int run (Process *p=NULL)
 
int completed ()
 
int pending ()
 
void * getMap (UserDef *u)
 
void * getGlobalInfo ()
 
ActgetAct ()
 
ActPassgetPass (const char *name)
 
ProcessgetRoot ()
 
virtual void run_recursive (Process *p=NULL, int mode=0)
 
void disableUpdate ()
 
void enableUpdate ()
 
void mkStickyVisited ()
 
void clrStickyVisited ()
 

Private Member Functions

void * local_op (Process *p, int mode=0)
 
void free_local (void *)
 
void _find_potential_arbiters (list_t *l, act_chp_lang_t *c)
 
int _fresh_channel (Scope *sc, int bw)
 
void _substitute (act_chp_lang_t *c, list_t *l1, list_t *l2)
 

Private Attributes

ActBooleanizePass_bp
 
act_boolean_netlist_t_curbnl
 

Additional Inherited Members

- Static Public Member Functions inherited from ActPass
static void refreshAll (Act *a, Process *p=NULL)
 
- Protected Member Functions inherited from ActPass
virtual void _actual_update (Process *p)
 
int AddDependency (const char *pass)
 
- Protected Attributes inherited from ActPass
int _finished
 has the pass finished execution?
 
int _sticky_visited
 
Acta
 
list_t * deps
 
list_t * fwdeps
 
const char * name
 the name for the pass
 
int _update_propagate
 
int _root_dirty
 
Process_root
 the root of the design
 
void * _global_info
 

Constructor & Destructor Documentation

◆ ActCHPArbiter()

ActCHPArbiter::ActCHPArbiter ( Act a)

Member Function Documentation

◆ _find_potential_arbiters()

void ActCHPArbiter::_find_potential_arbiters ( list_t *  l,
act_chp_lang_t c 
)
private

◆ _fresh_channel()

int ActCHPArbiter::_fresh_channel ( Scope sc,
int  bw 
)
private

◆ _substitute()

void ActCHPArbiter::_substitute ( act_chp_lang_t c,
list_t *  l1,
list_t *  l2 
)
private

◆ free_local()

void ActCHPArbiter::free_local ( void *  )
privatevirtual

Free the data structure allocated by calls to pre_op()/local_op().

Reimplemented from ActPass.

◆ local_op()

void * ActCHPArbiter::local_op ( Process p,
int  mode = 0 
)
privatevirtual

This function is called exactly once per process that is reachable from the root of the pass. It is called after all the types instantiated within the process are visited.

Parameters
pis the process type
modeis the mode flag passed to this call.
Returns
the data structure that is to be associated with this process

Reimplemented from ActPass.

◆ run()

int ActCHPArbiter::run ( Process p = NULL)
virtual

Run the entire pass with the specified top-level process name

Parameters
pis the tyoe of the top-level process; NULL means that the top-level of the design is the global namespace and not a specific process.
Returns
1 on success, 0 if any dependencies failed.

Reimplemented from ActPass.

Member Data Documentation

◆ _bp

ActBooleanizePass* ActCHPArbiter::_bp
private

◆ _curbnl

act_boolean_netlist_t* ActCHPArbiter::_curbnl
private

The documentation for this class was generated from the following file: