Skip to content

Commit 9766400

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

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
@@ -791,6 +791,11 @@ class Assignment {
791791
void print_verilog(std::ostream& os, std::string indent) {
792792
os << indent << "assign " << escape_verilog_identifier(lval_) << " = " << escape_verilog_identifier(rval_) << ";\n";
793793
}
794+
795+
void print_merged_verilog(std::ostream& os, std::string indent) {
796+
os << indent << "assign " << lval_ << " = " << rval_ << ";\n";
797+
}
798+
794799
void print_blif(std::ostream& os, std::string indent) {
795800
os << indent << ".names " << rval_ << " " << lval_ << "\n";
796801
os << indent << "1 1\n";

0 commit comments

Comments
 (0)