Updated space in comments
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
This commit is contained in:
parent
2d8605ebc9
commit
18ce25112d
|
|
@ -77,7 +77,7 @@ portVerilogName(const char *sta_name)
|
||||||
return staToVerilog2(sta_name);
|
return staToVerilog2(sta_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Unescaping logic should follow reverse of verilogToSta logic
|
// Unescaping logic should follow reverse of verilogToSta logic
|
||||||
static string
|
static string
|
||||||
staToVerilog(const char *sta_name)
|
staToVerilog(const char *sta_name)
|
||||||
{
|
{
|
||||||
|
|
@ -92,8 +92,8 @@ staToVerilog(const char *sta_name)
|
||||||
escaped = true;
|
escaped = true;
|
||||||
char next_ch = s[1];
|
char next_ch = s[1];
|
||||||
if (next_ch == verilog_escape) {
|
if (next_ch == verilog_escape) {
|
||||||
//Only keep the character after "\"
|
// Only keep the character after "\"
|
||||||
//to remove the escape added by verilogToSta"
|
// to remove the escape added by verilogToSta"
|
||||||
escaped_name += next_ch;
|
escaped_name += next_ch;
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
|
|
@ -113,8 +113,8 @@ staToVerilog(const char *sta_name)
|
||||||
return string(sta_name);
|
return string(sta_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Unescaping logic should follow reverse of verilogToSta logic
|
// Unescaping logic should follow reverse of verilogToSta logic
|
||||||
//For "\\" handling, this should be like staToVerilog
|
// For "\\" handling, this should be like staToVerilog
|
||||||
static string
|
static string
|
||||||
staToVerilog2(const char *sta_name)
|
staToVerilog2(const char *sta_name)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue