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

Various checker enhancements, better Error messages #130

Open
dmlockhart opened this issue Mar 20, 2015 · 0 comments
Open

Various checker enhancements, better Error messages #130

dmlockhart opened this issue Mar 20, 2015 · 0 comments

Comments

@dmlockhart
Copy link
Contributor

Throw an error if:

  • a signal is written in multiple behavioral blocks (not valid verilog)
    [ is this related to this? (Add checking to detect multiple identical assignments/multiple assignments to the same signal. #127) ]
  • a signal is written as .next in one block and .value as another
  • a signal is structurally written to by a connection and written to in a behavioral block
  • a signal is structurally written to by multiple connections
  • the .value/.next of an OutPort is written from outside a module
  • the .value/.next of an InPort is written from inside a module

Throw a better error message when:

  • s.connect( s.a, s.b ) fails because s.a is a port list and should be s.a[N]. Currently get:

    AttributeError: 'list' object has no attribute 'nbits'

@dmlockhart dmlockhart changed the title Various checker enhancements Various checker enhancements, better Error messages Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant