Updated testing harness for the fix
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
This commit is contained in:
parent
5c1a9eb523
commit
2d8605ebc9
|
|
@ -166,6 +166,7 @@ record_public_tests {
|
||||||
report_json1
|
report_json1
|
||||||
report_json2
|
report_json2
|
||||||
suppress_msg
|
suppress_msg
|
||||||
|
test_write_verilog_escape
|
||||||
verilog_attribute
|
verilog_attribute
|
||||||
verilog_specify
|
verilog_specify
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
module multi_sink (clk);
|
||||||
|
input clk;
|
||||||
|
|
||||||
|
wire \alu_adder_result_ex[0] ;
|
||||||
|
|
||||||
|
hier_block \h1\x (.childclk(clk),
|
||||||
|
.\Y[2:1] ({\alu_adder_result_ex[0] ,
|
||||||
|
\alu_adder_result_ex[0] }));
|
||||||
|
endmodule
|
||||||
|
module hier_block (childclk,
|
||||||
|
\Y[2:1] );
|
||||||
|
input childclk;
|
||||||
|
output [1:0] \Y[2:1] ;
|
||||||
|
|
||||||
|
|
||||||
|
BUFx2_ASAP7_75t_R \ff0/name (.A(childclk));
|
||||||
|
endmodule
|
||||||
|
|
@ -1,11 +1,14 @@
|
||||||
# Check if "h1\x" and \Y[2:1] are correctly processed from input to output of Verilog
|
# Check if "h1\x" and \Y[2:1] are correctly processed from input to output of Verilog
|
||||||
|
|
||||||
|
|
||||||
read_liberty gf180mcu_sram.lib.gz
|
read_liberty gf180mcu_sram.lib.gz
|
||||||
read_liberty asap7_small.lib.gz
|
read_liberty asap7_small.lib.gz
|
||||||
|
|
||||||
read_verilog test_write_verilog_escape.v
|
read_verilog test_write_verilog_escape.v
|
||||||
|
|
||||||
link_design multi_sink
|
link_design multi_sink
|
||||||
|
|
||||||
write_verilog test_write_verilog_escape_out.v
|
write_verilog test_write_verilog_escape_out.v
|
||||||
|
set input_file "test_write_verilog_escape_out.v"
|
||||||
|
set fp [open $input_file r]
|
||||||
|
while {[gets $fp line] >= 0} {
|
||||||
|
puts $line
|
||||||
|
}
|
||||||
|
close $fp
|
||||||
|
file delete "test_write_verilog_escape_out.v"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue