Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sky130.lylvs: XML parser error #28

Open
sergeiandreyev opened this issue Dec 15, 2022 · 1 comment
Open

sky130.lylvs: XML parser error #28

sergeiandreyev opened this issue Dec 15, 2022 · 1 comment

Comments

@sergeiandreyev
Copy link

sergeiandreyev commented Dec 15, 2022

Root cause

Angle brackets in copyright comment result in XML parser error:

> ...
> # You should have received a copy of the GNU Affero General Public License
> # along with this program.  If not, see <https://www.gnu.org/licenses/>.

Actual Behavior

ERROR: Reading .../klayout_sky130/sky130_tech/tech/sky130/lvs/sky130.lylvs: XML parser error: error occurred while parsing element in line 31, column 49

Steps to Reproduce the Problem

  1. Run:
    > KLAYOUT_HOME=./sky130_tech klayout -e

Specifications

  • Version: Latest
  • Platform: Ubuntu 22.04.1 LTS
@proppy
Copy link

proppy commented Dec 21, 2022

This can be worked around by removing the following files from the lylvs file: https://github.com/mabrains/sky130_klayout_pdk/blob/main/sky130_tech/tech/sky130/lvs/sky130.lylvs#L18-L32 but a proper fix would be to escape the angle bracket appropriately as < &lt; and > &gt;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants