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

Lef lexer issues with semi-numeric values #55

Open
nanobowers opened this issue Jul 29, 2024 · 0 comments · May be fixed by #56
Open

Lef lexer issues with semi-numeric values #55

nanobowers opened this issue Jul 29, 2024 · 0 comments · May be fixed by #56

Comments

@nanobowers
Copy link
Contributor

The LEF lexer currently doesn't like the following numeric looking values:

  • Floats with exponents, e.g: EDGECAPACITANCE 40.567E-6 ;
  • Strings with leading numbers, e.g.: SITE 18T
    • ... Afaict the 18 is slurped as a number token and then there is a string token following

the referenced publicly available LEF:
https://github.com/idea-fasoc/OpenFASOC/blob/c11ceb17997648a975f99738a8890a2288143e08/openfasoc/common/platforms/sky130osu18Ths/lef/sky130_osu_sc_18T_hs.tlef

nanobowers added a commit to nanobowers/Layout21 that referenced this issue Aug 4, 2024
@nanobowers nanobowers linked a pull request Aug 4, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant