ckeh / vtr-verilog-to-routing

Automatically exported from code.google.com/p/vtr-verilog-to-routing
0 stars 0 forks source link

Parsing Architecture SB/CB depopulation doesn't handle newlines #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a very minor bug.

The architecture parser is very picky when parsing the SB/CB depopulation lists.

The following sample from architecture file will cause an error because the 
parser has been coded to reject newlines:

<sb type="pattern">
    1 1 1 1 1
</sb>
<cb type="pattern">
    1 1 1 1
</cb>

The problem exists in read_xml_arch_file.c:2330.

Original issue reported on code.google.com by jeffrey....@gmail.com on 10 May 2012 at 4:14

GoogleCodeExporter commented 9 years ago
Also, I believe tabs are rejected.

Original comment by jeffrey....@gmail.com on 10 May 2012 at 4:20

GoogleCodeExporter commented 9 years ago
Fix attached.

Original comment by jeffrey....@gmail.com on 10 May 2012 at 8:21

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Jeff, just update the trunk directly.  You have commit privelages.

Original comment by JasonKai...@gmail.com on 10 May 2012 at 8:23

GoogleCodeExporter commented 9 years ago
This change is in libvpr, and I don't believe I have commit privileges to the 
other repository.

Original comment by jeffrey....@gmail.com on 10 May 2012 at 8:27

GoogleCodeExporter commented 9 years ago
Change committed r262

Original comment by jeffrey....@gmail.com on 25 May 2012 at 4:05