|
CGRA-ME
|
#include <iosfwd>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | BitSettingForVerilog |
| class | BitConfig |
Enumerations | |
| enum | BitSetting { BitSetting::LOW, BitSetting::HIGH, BitSetting::DONT_CARE_PREFER_LOW, BitSetting::DONT_CARE_PREFER_HIGH, BitSetting::HIGH_IMPEDANCE } |
Functions | |
| template<typename T > | |
| T | from_bool (bool b) |
| template<> | |
| BitSetting | from_bool< BitSetting > (bool b) |
| BitSetting | force_to_rail (const BitSetting &bs) |
| std::ostream & | operator<< (std::ostream &os, const BitSetting &bs) |
| std::ostream & | operator<< (std::ostream &os, const std::vector< BitSetting > &bits) |
| BitSettingForVerilog | for_verilog (const BitSetting &bs) |
| std::ostream & | operator<< (std::ostream &os, const BitSettingForVerilog &bs) |
| template<typename INTEGRAL > | |
| std::vector< BitSetting > & | push_back_int (std::vector< BitSetting > &v, const INTEGRAL &value, int num_bits) |
| template<typename INTEGRAL > | |
| std::vector< BitSetting > | bitsettings_from_int (const INTEGRAL &value, int num_bits) |
|
strong |
| Enumerator | |
|---|---|
| LOW | |
| HIGH | |
| DONT_CARE_PREFER_LOW | |
| DONT_CARE_PREFER_HIGH | |
| HIGH_IMPEDANCE | |
Definition at line 18 of file BitSetting.h.
| std::vector<BitSetting> bitsettings_from_int | ( | const INTEGRAL & | value, |
| int | num_bits | ||
| ) |
Definition at line 52 of file BitSetting.h.
|
inline |
Definition at line 40 of file BitSetting.h.
| BitSetting force_to_rail | ( | const BitSetting & | bs | ) |
Definition at line 25 of file BitSetting.cpp.
| T from_bool | ( | bool | b | ) |
| BitSetting from_bool< BitSetting > | ( | bool | b | ) |
Definition at line 17 of file BitSetting.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const BitSetting & | bs | ||
| ) |
Definition at line 38 of file BitSetting.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const BitSettingForVerilog & | bs | ||
| ) |
Definition at line 63 of file BitSetting.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const std::vector< BitSetting > & | bits | ||
| ) |
Definition at line 54 of file BitSetting.cpp.
| std::vector<BitSetting>& push_back_int | ( | std::vector< BitSetting > & | v, |
| const INTEGRAL & | value, | ||
| int | num_bits | ||
| ) |
Definition at line 44 of file BitSetting.h.
1.8.17