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

Add name field to signals, instances, ports #142

Open
fabianschuiki opened this issue Sep 6, 2020 · 0 comments
Open

Add name field to signals, instances, ports #142

fabianschuiki opened this issue Sep 6, 2020 · 0 comments
Labels
A-ir Area: Intermediate representation. A-spec Area: Language features, semantics, and specification. C-enhancement Category: Adding or improving on features.

Comments

@fabianschuiki
Copy link
Owner

fabianschuiki commented Sep 6, 2020

Extend the sig and inst instructions, as well as ports in signatures, to carry an optional name as a quoted string. This makes the SSA value of the instruction less relevant, and gives simulators the opportunity to more precisely track the names in the original HDL.

Example

%1 = sig i1 %0, "clk"
inst @acc.param156 "i_accumulator" (...) -> (...)
entity @foo (i1$ %0 "clk_i") -> (i1$ %1 "clk_no") { ... }
@fabianschuiki fabianschuiki added A-spec Area: Language features, semantics, and specification. A-ir Area: Intermediate representation. C-enhancement Category: Adding or improving on features. labels Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ir Area: Intermediate representation. A-spec Area: Language features, semantics, and specification. C-enhancement Category: Adding or improving on features.
Projects
None yet
Development

No branches or pull requests

1 participant