[consider merging] Bugfix for LayoutToNetlistReader

This commit is contained in:
Matthias Koefferlein 2023-09-17 19:58:04 +02:00
parent 7126375646
commit 7c1fd487d6
5 changed files with 49 additions and 0 deletions

View File

@ -132,6 +132,7 @@ LayoutToNetlistStandardReader::skip ()
{
while (m_ex.at_end () || *m_ex.skip () == '#') {
if (m_stream.at_end ()) {
m_ex = tl::Extractor ();
return;
}
m_progress.set (m_stream.line_number ());

6
testdata/algo/l2n_reader_6.l2n vendored Normal file
View File

@ -0,0 +1,6 @@
#%l2n-klayout
W(TOP)
U(0.001)
H(I B(info))
H(W B(warning))
H(E B(error))

18
testdata/algo/l2n_reader_au_6.l2n vendored Normal file
View File

@ -0,0 +1,18 @@
#%l2n-klayout
top(TOP)
unit(0.001)
# Layer section
# This section lists the mask layers (drawing or derived) and their connections.
# Mask layers
# Mask layer connectivity
# Log entries
message(info description(info))
message(warning description(warning))
message(error description(error))
# Circuit section
# Circuits are the hierarchical building blocks of the netlist.

18
testdata/algo/l2n_writer_au_3.txt vendored Normal file
View File

@ -0,0 +1,18 @@
#%l2n-klayout
top(TOP)
unit(0.001)
# Layer section
# This section lists the mask layers (drawing or derived) and their connections.
# Mask layers
# Mask layer connectivity
# Log entries
message(info description(info))
message(warning description(warning))
message(error description(error))
# Circuit section
# Circuits are the hierarchical building blocks of the netlist.

6
testdata/algo/l2n_writer_au_3s.txt vendored Normal file
View File

@ -0,0 +1,6 @@
#%l2n-klayout
W(TOP)
U(0.001)
H(I B(info))
H(W B(warning))
H(E B(error))