Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Matching problem on 'case endcase' inside 'begin end' #6

Closed
zinechant opened this issue Jan 13, 2017 · 3 comments
Closed

Matching problem on 'case endcase' inside 'begin end' #6

zinechant opened this issue Jan 13, 2017 · 3 comments

Comments

@zinechant
Copy link

zinechant commented Jan 13, 2017

It seems the 'case endcase' inside 'begin end' woud incur matching problem.

            always_comb begin
                case (NComBReg[NCi])
                    7'd01: NComBn[NCi] = 3'b000;
                    7'd02: NComBn[NCi] = 3'b001;
                    7'd04: NComBn[NCi] = 3'b010;
                    7'd08: NComBn[NCi] = 3'b011;
                    7'd16: NComBn[NCi] = 3'b100;
                    7'd32: NComBn[NCi] = 3'b101;
                    7'd64: NComBn[NCi] = 3'b110;
                    default: NComBn[NCi] = 3'b111;
                endcase
            end

The 'begin' would match to 'endcase'.

P.S. Thanks a lot for the developing! Have been using the extension a lot. Just found it updated, so come up to submit this issue.

@mshr-h
Copy link
Owner

mshr-h commented Jan 14, 2017

I couldn't find the best solution.
But I can fix it if I unsupport 'begin ... end' matching.

@mshr-h mshr-h mentioned this issue Jan 14, 2017
@mshr-h mshr-h closed this as completed in 45ecc7c Jan 17, 2017
@bjaminn
Copy link
Contributor

bjaminn commented Mar 28, 2017

I think this issue relates to this vscode issue and can be fixed when the vscode is fixed.
microsoft/vscode#11856

@djoffe
Copy link
Contributor

djoffe commented Mar 8, 2018

I submitted a new issue on VS Code that is more specifically referring to this.
microsoft/vscode#45324

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

No branches or pull requests

4 participants