Skip to content

Commit

Permalink
Merge pull request verilog-to-routing#2832 from AlexandreSinger/featu…
Browse files Browse the repository at this point in the history
…re-spec-warnings

[Warnings] Fixed Minor Warnings
  • Loading branch information
vaughnbetz authored Nov 30, 2024
2 parents c7c045a + df22721 commit ce706d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/libvtrutil/src/specrand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ unsigned long SpecRandomNumberGenerator::spec_genrand_int32_() {
y = (mt[kk] & UPPER_MASK) | (mt[kk + 1] & LOWER_MASK);
mt[kk] = mt[kk + M] ^ (y >> 1) ^ mag01[y & 0x1UL];
}
for (size_t kk; kk < N - 1; kk++) {
for (size_t kk = 0; kk < N - 1; kk++) {
y = (mt[kk] & UPPER_MASK) | (mt[kk + 1] & LOWER_MASK);
mt[kk] = mt[kk + (M - N)] ^ (y >> 1) ^ mag01[y & 0x1UL];
}
Expand Down
4 changes: 2 additions & 2 deletions vpr/src/base/netlist_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2263,7 +2263,7 @@ class MergedNetlistWriterVisitor : public NetlistWriterVisitor {
return io_name;
}

void print_primary_io(int depth) {
void print_primary_io(int depth) override {
//Primary Inputs
for (auto iter = inputs_.begin(); iter != inputs_.end(); ++iter) {
//verilog_os_ << indent(depth + 1) << "input " << escape_verilog_identifier(*iter);
Expand Down Expand Up @@ -2292,7 +2292,7 @@ class MergedNetlistWriterVisitor : public NetlistWriterVisitor {
}
}

void print_assignments(int depth) {
void print_assignments(int depth) override {
verilog_os_ << "\n";
verilog_os_ << indent(depth + 1) << "//IO assignments\n";
for (auto& assign : assignments_) {
Expand Down

0 comments on commit ce706d5

Please sign in to comment.