Skip to content

Commit d9b8ef5

Browse files
committed
vpr: base: netlist writer: assignment: add print without escaping identifiers
Signed-off-by: Pawel Czarnecki <[email protected]>
1 parent 90b61d3 commit d9b8ef5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vpr/src/base/netlist_writer.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,11 @@ class Assignment {
788788
void print_verilog(std::ostream& os, std::string indent) {
789789
os << indent << "assign " << escape_verilog_identifier(lval_) << " = " << escape_verilog_identifier(rval_) << ";\n";
790790
}
791+
792+
void print_merged_verilog(std::ostream& os, std::string indent) {
793+
os << indent << "assign " << lval_ << " = " << rval_ << ";\n";
794+
}
795+
791796
void print_blif(std::ostream& os, std::string indent) {
792797
os << indent << ".names " << rval_ << " " << lval_ << "\n";
793798
os << indent << "1 1\n";

0 commit comments

Comments
 (0)