remove unused data in bitstream database

This commit is contained in:
tangxifan 2020-07-02 20:53:18 -06:00
parent 9799fea48f
commit 043fb54206
2 changed files with 0 additions and 14 deletions

View File

@ -153,7 +153,6 @@ ConfigBitId BitstreamManager::add_bit(const bool& bit_value) {
} else {
bit_values_.push_back('0');
}
shared_config_bit_values_.emplace_back();
bit_parent_block_ids_.push_back(ConfigBlockId::INVALID());
return bit;
@ -171,7 +170,6 @@ void BitstreamManager::reserve_blocks(const size_t& num_blocks) {
void BitstreamManager::reserve_bits(const size_t& num_bits) {
bit_values_.reserve(num_bits);
shared_config_bit_values_.reserve(num_bits);
bit_parent_block_ids_.reserve(num_bits);
}
@ -278,13 +276,6 @@ void BitstreamManager::add_output_net_id_to_block(const ConfigBlockId& block,
block_output_net_ids_[block].push_back(output_net_id);
}
void BitstreamManager::add_shared_config_bit_values(const ConfigBitId& bit, const std::vector<char>& shared_config_bits) {
/* Ensure the input ids are valid */
VTR_ASSERT(true == valid_bit_id(bit));
shared_config_bit_values_[bit] = shared_config_bits;
}
/******************************************************************************
* Public Validators
******************************************************************************/

View File

@ -188,9 +188,6 @@ class BitstreamManager {
/* Add an output net id to a block */
void add_output_net_id_to_block(const ConfigBlockId& block, const std::string& output_net_id);
/* Add share configuration bits to a configuration bit */
void add_shared_config_bit_values(const ConfigBitId& bit, const std::vector<char>& shared_config_bits);
public: /* Public Validators */
bool valid_bit_id(const ConfigBitId& bit_id) const;
@ -243,8 +240,6 @@ class BitstreamManager {
vtr::vector<ConfigBitId, ConfigBlockId> bit_parent_block_ids_;
/* value of a bit in the Bitstream */
vtr::vector<ConfigBitId, char> bit_values_;
/* value of a shared configuration bits in the Bitstream */
vtr::vector<ConfigBitId, std::vector<char>> shared_config_bit_values_;
};
} /* end namespace openfpga */