|
yosys-master
|
#include <rtlil.h>
Public Member Functions | |
| SigSpec () | |
| SigSpec (const RTLIL::SigSpec &other) | |
| SigSpec (std::initializer_list< RTLIL::SigSpec > parts) | |
| const RTLIL::SigSpec & | operator= (const RTLIL::SigSpec &other) |
| SigSpec (const RTLIL::Const &value) | |
| SigSpec (const RTLIL::SigChunk &chunk) | |
| SigSpec (RTLIL::Wire *wire) | |
| SigSpec (RTLIL::Wire *wire, int offset, int width=1) | |
| SigSpec (const std::string &str) | |
| SigSpec (int val, int width=32) | |
| SigSpec (RTLIL::State bit, int width=1) | |
| SigSpec (RTLIL::SigBit bit, int width=1) | |
| SigSpec (std::vector< RTLIL::SigChunk > chunks) | |
| SigSpec (std::vector< RTLIL::SigBit > bits) | |
| SigSpec (std::set< RTLIL::SigBit > bits) | |
| SigSpec (bool bit) | |
| SigSpec (RTLIL::SigSpec &&other) | |
| const RTLIL::SigSpec & | operator= (RTLIL::SigSpec &&other) |
| const std::vector < RTLIL::SigChunk > & | chunks () const |
| const std::vector < RTLIL::SigBit > & | bits () const |
| int | size () const |
| RTLIL::SigBit & | operator[] (int index) |
| const RTLIL::SigBit & | operator[] (int index) const |
| RTLIL::SigSpecIterator | begin () |
| RTLIL::SigSpecIterator | end () |
| RTLIL::SigSpecConstIterator | begin () const |
| RTLIL::SigSpecConstIterator | end () const |
| void | sort () |
| void | sort_and_unify () |
| void | replace (const RTLIL::SigSpec &pattern, const RTLIL::SigSpec &with) |
| void | replace (const RTLIL::SigSpec &pattern, const RTLIL::SigSpec &with, RTLIL::SigSpec *other) const |
| void | replace (const std::map< RTLIL::SigBit, RTLIL::SigBit > &rules) |
| void | replace (const std::map< RTLIL::SigBit, RTLIL::SigBit > &rules, RTLIL::SigSpec *other) const |
| void | replace (int offset, const RTLIL::SigSpec &with) |
| void | remove (const RTLIL::SigSpec &pattern) |
| void | remove (const RTLIL::SigSpec &pattern, RTLIL::SigSpec *other) const |
| void | remove2 (const RTLIL::SigSpec &pattern, RTLIL::SigSpec *other) |
| void | remove (const std::set< RTLIL::SigBit > &pattern) |
| void | remove (const std::set< RTLIL::SigBit > &pattern, RTLIL::SigSpec *other) const |
| void | remove2 (const std::set< RTLIL::SigBit > &pattern, RTLIL::SigSpec *other) |
| void | remove (int offset, int length=1) |
| void | remove_const () |
| RTLIL::SigSpec | extract (const RTLIL::SigSpec &pattern, const RTLIL::SigSpec *other=NULL) const |
| RTLIL::SigSpec | extract (const std::set< RTLIL::SigBit > &pattern, const RTLIL::SigSpec *other=NULL) const |
| RTLIL::SigSpec | extract (int offset, int length=1) const |
| void | append (const RTLIL::SigSpec &signal) |
| void | append_bit (const RTLIL::SigBit &bit) |
| void | extend (int width, bool is_signed=false) |
| void | extend_u0 (int width, bool is_signed=false) |
| RTLIL::SigSpec | repeat (int num) const |
| bool | operator< (const RTLIL::SigSpec &other) const |
| bool | operator== (const RTLIL::SigSpec &other) const |
| bool | operator!= (const RTLIL::SigSpec &other) const |
| bool | is_wire () const |
| bool | is_chunk () const |
| bool | is_fully_const () const |
| bool | is_fully_def () const |
| bool | is_fully_undef () const |
| bool | has_marked_bits () const |
| bool | as_bool () const |
| int | as_int (bool is_signed=false) const |
| std::string | as_string () const |
| RTLIL::Const | as_const () const |
| RTLIL::Wire * | as_wire () const |
| RTLIL::SigChunk | as_chunk () const |
| bool | match (std::string pattern) const |
| std::set< RTLIL::SigBit > | to_sigbit_set () const |
| std::vector< RTLIL::SigBit > | to_sigbit_vector () const |
| std::map< RTLIL::SigBit, RTLIL::SigBit > | to_sigbit_map (const RTLIL::SigSpec &other) const |
| RTLIL::SigBit | to_single_sigbit () const |
| operator std::vector< RTLIL::SigChunk > () const | |
| operator std::vector< RTLIL::SigBit > () const | |
| void | check () const |
Static Public Member Functions | |
| static bool | parse (RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str) |
| static bool | parse_sel (RTLIL::SigSpec &sig, RTLIL::Design *design, RTLIL::Module *module, std::string str) |
| static bool | parse_rhs (const RTLIL::SigSpec &lhs, RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str) |
Private Member Functions | |
| void | pack () const |
| void | unpack () const |
| void | hash () const |
| bool | packed () const |
| void | inline_unpack () const |
Private Attributes | |
| int | width_ |
| unsigned long | hash_ |
| std::vector< RTLIL::SigChunk > | chunks_ |
| std::vector< RTLIL::SigBit > | bits_ |
| RTLIL::SigSpec::SigSpec | ( | const RTLIL::SigSpec & | other | ) |
| RTLIL::SigSpec::SigSpec | ( | std::initializer_list< RTLIL::SigSpec > | parts | ) |
| RTLIL::SigSpec::SigSpec | ( | const RTLIL::Const & | value | ) |
Definition at line 2075 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | const RTLIL::SigChunk & | chunk | ) |
| RTLIL::SigSpec::SigSpec | ( | RTLIL::Wire * | wire | ) |
Definition at line 2095 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | RTLIL::Wire * | wire, |
| int | offset, | ||
| int | width = 1 |
||
| ) |
Definition at line 2105 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | const std::string & | str | ) |
Definition at line 2115 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | int | val, |
| int | width = 32 |
||
| ) |
Definition at line 2125 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | RTLIL::State | bit, |
| int | width = 1 |
||
| ) |
Definition at line 2135 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | RTLIL::SigBit | bit, |
| int | width = 1 |
||
| ) |
Definition at line 2145 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | std::vector< RTLIL::SigChunk > | chunks | ) |
Definition at line 2159 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec::SigSpec | ( | std::vector< RTLIL::SigBit > | bits | ) |
| RTLIL::SigSpec::SigSpec | ( | std::set< RTLIL::SigBit > | bits | ) |
| RTLIL::SigSpec::SigSpec | ( | bool | bit | ) |
|
inline |
| void RTLIL::SigSpec::append | ( | const RTLIL::SigSpec & | signal | ) |
| void RTLIL::SigSpec::append_bit | ( | const RTLIL::SigBit & | bit | ) |
| bool RTLIL::SigSpec::as_bool | ( | ) | const |
Definition at line 2818 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| RTLIL::SigChunk RTLIL::SigSpec::as_chunk | ( | ) | const |
| RTLIL::Const RTLIL::SigSpec::as_const | ( | ) | const |
Definition at line 2857 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| int RTLIL::SigSpec::as_int | ( | bool | is_signed = false | ) | const |
Definition at line 2829 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string RTLIL::SigSpec::as_string | ( | ) | const |
Definition at line 2840 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| RTLIL::Wire * RTLIL::SigSpec::as_wire | ( | ) | const |
|
inline |
Definition at line 1024 of file rtlil.h.
Here is the caller graph for this function:
|
inline |
Definition at line 1027 of file rtlil.h.
|
inline |
| void RTLIL::SigSpec::check | ( | ) | const |
Definition at line 2642 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 1025 of file rtlil.h.
Here is the caller graph for this function:
|
inline |
Definition at line 1028 of file rtlil.h.
| void RTLIL::SigSpec::extend | ( | int | width, |
| bool | is_signed = false |
||
| ) |
Definition at line 2593 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void RTLIL::SigSpec::extend_u0 | ( | int | width, |
| bool | is_signed = false |
||
| ) |
Definition at line 2612 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| RTLIL::SigSpec RTLIL::SigSpec::extract | ( | const RTLIL::SigSpec & | pattern, |
| const RTLIL::SigSpec * | other = NULL |
||
| ) | const |
Definition at line 2414 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| RTLIL::SigSpec RTLIL::SigSpec::extract | ( | const std::set< RTLIL::SigBit > & | pattern, |
| const RTLIL::SigSpec * | other = NULL |
||
| ) | const |
Definition at line 2420 of file rtlil.cc.
Here is the call graph for this function:| RTLIL::SigSpec RTLIL::SigSpec::extract | ( | int | offset, |
| int | length = 1 |
||
| ) | const |
| bool RTLIL::SigSpec::has_marked_bits | ( | ) | const |
Definition at line 2804 of file rtlil.cc.
Here is the caller graph for this function:
|
private |
Definition at line 2259 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
| bool RTLIL::SigSpec::is_chunk | ( | ) | const |
| bool RTLIL::SigSpec::is_fully_const | ( | ) | const |
| bool RTLIL::SigSpec::is_fully_def | ( | ) | const |
Definition at line 2774 of file rtlil.cc.
Here is the caller graph for this function:| bool RTLIL::SigSpec::is_fully_undef | ( | ) | const |
Definition at line 2789 of file rtlil.cc.
Here is the caller graph for this function:| bool RTLIL::SigSpec::is_wire | ( | ) | const |
| bool RTLIL::SigSpec::match | ( | std::string | pattern | ) | const |
|
inline |
|
inline |
Definition at line 1094 of file rtlil.h.
Here is the call graph for this function:
|
inline |
| bool RTLIL::SigSpec::operator< | ( | const RTLIL::SigSpec & | other | ) | const |
| const RTLIL::SigSpec & RTLIL::SigSpec::operator= | ( | const RTLIL::SigSpec & | other | ) |
Definition at line 2038 of file rtlil.cc.
Here is the call graph for this function:
|
inline |
| bool RTLIL::SigSpec::operator== | ( | const RTLIL::SigSpec & | other | ) | const |
|
inline |
|
inline |
|
private |
Definition at line 2202 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
|
static |
Definition at line 2972 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 3078 of file rtlil.cc.
Here is the caller graph for this function:
|
static |
Definition at line 3058 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void RTLIL::SigSpec::remove | ( | const RTLIL::SigSpec & | pattern | ) |
Definition at line 2342 of file rtlil.cc.
Here is the caller graph for this function:| void RTLIL::SigSpec::remove | ( | const RTLIL::SigSpec & | pattern, |
| RTLIL::SigSpec * | other | ||
| ) | const |
Definition at line 2347 of file rtlil.cc.
Here is the call graph for this function:| void RTLIL::SigSpec::remove | ( | const std::set< RTLIL::SigBit > & | pattern | ) |
Definition at line 2359 of file rtlil.cc.
| void RTLIL::SigSpec::remove | ( | const std::set< RTLIL::SigBit > & | pattern, |
| RTLIL::SigSpec * | other | ||
| ) | const |
Definition at line 2364 of file rtlil.cc.
Here is the call graph for this function:| void RTLIL::SigSpec::remove | ( | int | offset, |
| int | length = 1 |
||
| ) |
| void RTLIL::SigSpec::remove2 | ( | const RTLIL::SigSpec & | pattern, |
| RTLIL::SigSpec * | other | ||
| ) |
Definition at line 2353 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void RTLIL::SigSpec::remove2 | ( | const std::set< RTLIL::SigBit > & | pattern, |
| RTLIL::SigSpec * | other | ||
| ) |
| void RTLIL::SigSpec::remove_const | ( | ) |
| RTLIL::SigSpec RTLIL::SigSpec::repeat | ( | int | num | ) | const |
Definition at line 2631 of file rtlil.cc.
Here is the call graph for this function:| void RTLIL::SigSpec::replace | ( | const RTLIL::SigSpec & | pattern, |
| const RTLIL::SigSpec & | with | ||
| ) |
Definition at line 2297 of file rtlil.cc.
Here is the call graph for this function:
Here is the caller graph for this function:| void RTLIL::SigSpec::replace | ( | const RTLIL::SigSpec & | pattern, |
| const RTLIL::SigSpec & | with, | ||
| RTLIL::SigSpec * | other | ||
| ) | const |
Definition at line 2302 of file rtlil.cc.
Here is the call graph for this function:| void RTLIL::SigSpec::replace | ( | const std::map< RTLIL::SigBit, RTLIL::SigBit > & | rules | ) |
Definition at line 2318 of file rtlil.cc.
Here is the call graph for this function:| void RTLIL::SigSpec::replace | ( | const std::map< RTLIL::SigBit, RTLIL::SigBit > & | rules, |
| RTLIL::SigSpec * | other | ||
| ) | const |
| void RTLIL::SigSpec::replace | ( | int | offset, |
| const RTLIL::SigSpec & | with | ||
| ) |
| void RTLIL::SigSpec::sort | ( | ) |
| void RTLIL::SigSpec::sort_and_unify | ( | ) |
Definition at line 2291 of file rtlil.cc.
Here is the caller graph for this function:| std::map< RTLIL::SigBit, RTLIL::SigBit > RTLIL::SigSpec::to_sigbit_map | ( | const RTLIL::SigSpec & | other | ) | const |
| std::set< RTLIL::SigBit > RTLIL::SigSpec::to_sigbit_set | ( | ) | const |
Definition at line 2909 of file rtlil.cc.
Here is the caller graph for this function:| std::vector< RTLIL::SigBit > RTLIL::SigSpec::to_sigbit_vector | ( | ) | const |
| RTLIL::SigBit RTLIL::SigSpec::to_single_sigbit | ( | ) | const |
Definition at line 2945 of file rtlil.cc.
Here is the caller graph for this function:
|
private |
Definition at line 2238 of file rtlil.cc.
Here is the caller graph for this function:
|
private |
|
private |