Minres / CoreDSL

Xtext project to parse CoreDSL files
Apache License 2.0
14 stars 2 forks source link

Allow list-initialization of registers and address spaces. #90

Closed jopperm closed 1 year ago

jopperm commented 1 year ago

@AtomCrafty I'm proposing this to restore the ability to write down constant registers:

const register unsigned<4> BAR[3] = {1,2,3};

Is the approach ok or is there a smarter way in Xtend?

AtomCrafty commented 1 year ago

LGTM! I should have done this in the first place, but there aren't many tests for declarations yet, so it slipped through the cracks.