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

design tree schema #1

Open
drom opened this issue Oct 1, 2020 · 0 comments
Open

design tree schema #1

drom opened this issue Oct 1, 2020 · 0 comments

Comments

@drom
Copy link
Member

drom commented Oct 1, 2020

{
  type: 'module', name: 'top',
  vars: [
    {type: 'wire', size: 1,  id: 'VCD_ID', name: 'VCD_reference'},
    {type: 'wire', size: 32, id: 'VCD_ID', name: 'VCD_reference', bit: 5},
    {type: 'reg',  size: 32, id: 'VCD_ID', name: 'VCD_reference', msb: 31, lsb: 0},
    ...
  ],
  scopes: [
    {
       type: 'function', name: 'foo',
       ...
    },
    ...
  ]
}

scope type

  • begin
  • fork
  • function
  • module
  • task

var types

  • event
  • integer
  • parameter
  • real
  • realtime
  • reg
  • supply0, supply1
  • time
  • tri, triand, trior, trireg, tri0, tri1
  • wand
  • wire
  • wor
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

1 participant