| 
    yosys-master
    
   | 
 
#include <rtlil.h>
Public Member Functions | |
| Design () | |
| ~Design () | |
| RTLIL::ObjRange< RTLIL::Module * > | modules () | 
| RTLIL::Module * | module (RTLIL::IdString name) | 
| bool | has (RTLIL::IdString id) const | 
| void | add (RTLIL::Module *module) | 
| RTLIL::Module * | addModule (RTLIL::IdString name) | 
| void | remove (RTLIL::Module *module) | 
| void | scratchpad_unset (std::string varname) | 
| void | scratchpad_set_int (std::string varname, int value) | 
| void | scratchpad_set_bool (std::string varname, bool value) | 
| void | scratchpad_set_string (std::string varname, std::string value) | 
| int | scratchpad_get_int (std::string varname, int default_value=0) const | 
| bool | scratchpad_get_bool (std::string varname, bool default_value=false) const | 
| std::string | scratchpad_get_string (std::string varname, std::string default_value=std::string()) const | 
| void | check () | 
| void | optimize () | 
| bool | selected_module (RTLIL::IdString mod_name) const | 
| bool | selected_whole_module (RTLIL::IdString mod_name) const | 
| bool | selected_member (RTLIL::IdString mod_name, RTLIL::IdString memb_name) const | 
| bool | selected_module (RTLIL::Module *mod) const | 
| bool | selected_whole_module (RTLIL::Module *mod) const | 
| bool | full_selection () const | 
| template<typename T1 > | |
| bool | selected (T1 *module) const | 
| template<typename T1 , typename T2 > | |
| bool | selected (T1 *module, T2 *member) const | 
| template<typename T1 , typename T2 > | |
| void | select (T1 *module, T2 *member) | 
| std::vector< RTLIL::Module * > | selected_modules () const | 
| std::vector< RTLIL::Module * > | selected_whole_modules () const | 
| std::vector< RTLIL::Module * > | selected_whole_modules_warn () const | 
Data Fields | |
| std::set< RTLIL::Monitor * > | monitors | 
| std::map< std::string,  std::string >  | scratchpad | 
| int | refcount_modules_ | 
| std::map< RTLIL::IdString,  RTLIL::Module * >  | modules_ | 
| std::vector< RTLIL::Selection > | selection_stack | 
| std::map< RTLIL::IdString,  RTLIL::Selection >  | selection_vars | 
| std::string | selected_active_module | 
| RTLIL::Design::Design | ( | ) | 
Definition at line 237 of file rtlil.cc.
| void RTLIL::Design::add | ( | RTLIL::Module * | module | ) | 
| RTLIL::Module * RTLIL::Design::addModule | ( | RTLIL::IdString | name | ) | 
Definition at line 270 of file rtlil.cc.
 Here is the caller graph for this function:| void RTLIL::Design::check | ( | ) | 
      
  | 
  inline | 
Definition at line 547 of file rtlil.h.
 Here is the caller graph for this function:
      
  | 
  inline | 
| RTLIL::Module * RTLIL::Design::module | ( | RTLIL::IdString | name | ) | 
| RTLIL::ObjRange< RTLIL::Module * > RTLIL::Design::modules | ( | ) | 
Definition at line 249 of file rtlil.cc.
 Here is the caller graph for this function:| void RTLIL::Design::optimize | ( | ) | 
Definition at line 369 of file rtlil.cc.
 Here is the caller graph for this function:| void RTLIL::Design::remove | ( | RTLIL::Module * | module | ) | 
| bool RTLIL::Design::scratchpad_get_bool | ( | std::string | varname, | 
| bool | default_value = false  | 
        ||
| ) | const | 
| int RTLIL::Design::scratchpad_get_int | ( | std::string | varname, | 
| int | default_value = 0  | 
        ||
| ) | const | 
| std::string RTLIL::Design::scratchpad_get_string | ( | std::string | varname, | 
| std::string | default_value = std::string()  | 
        ||
| ) | const | 
| void RTLIL::Design::scratchpad_set_bool | ( | std::string | varname, | 
| bool | value | ||
| ) | 
| void RTLIL::Design::scratchpad_set_int | ( | std::string | varname, | 
| int | value | ||
| ) | 
| void RTLIL::Design::scratchpad_set_string | ( | std::string | varname, | 
| std::string | value | ||
| ) | 
| void RTLIL::Design::scratchpad_unset | ( | std::string | varname | ) | 
      
  | 
  inline | 
Definition at line 559 of file rtlil.h.
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 551 of file rtlil.h.
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 555 of file rtlil.h.
 Here is the call graph for this function:| bool RTLIL::Design::selected_member | ( | RTLIL::IdString | mod_name, | 
| RTLIL::IdString | memb_name | ||
| ) | const | 
Definition at line 397 of file rtlil.cc.
 Here is the caller graph for this function:| bool RTLIL::Design::selected_module | ( | RTLIL::IdString | mod_name | ) | const | 
Definition at line 379 of file rtlil.cc.
 Here is the caller graph for this function:| bool RTLIL::Design::selected_module | ( | RTLIL::Module * | mod | ) | const | 
Definition at line 406 of file rtlil.cc.
| std::vector< RTLIL::Module * > RTLIL::Design::selected_modules | ( | ) | const | 
Definition at line 416 of file rtlil.cc.
 Here is the caller graph for this function:| bool RTLIL::Design::selected_whole_module | ( | RTLIL::IdString | mod_name | ) | const | 
Definition at line 388 of file rtlil.cc.
 Here is the caller graph for this function:| bool RTLIL::Design::selected_whole_module | ( | RTLIL::Module * | mod | ) | const | 
Definition at line 411 of file rtlil.cc.
| std::vector< RTLIL::Module * > RTLIL::Design::selected_whole_modules | ( | ) | const | 
Definition at line 426 of file rtlil.cc.
| std::vector< RTLIL::Module * > RTLIL::Design::selected_whole_modules_warn | ( | ) | const | 
Definition at line 436 of file rtlil.cc.
 Here is the call graph for this function:| std::map<RTLIL::IdString, RTLIL::Module*> RTLIL::Design::modules_ | 
| std::set<RTLIL::Monitor*> RTLIL::Design::monitors | 
| std::map<std::string, std::string> RTLIL::Design::scratchpad | 
| std::vector<RTLIL::Selection> RTLIL::Design::selection_stack | 
| std::map<RTLIL::IdString, RTLIL::Selection> RTLIL::Design::selection_vars |