Issue #15 resolved

overline in pins name

Za Tutuka
created an issue

is there way to create pin name with overline?

Comments (10)

  1. Razen repo owner

    There isn't. Is this for inverted signals? I've always used "/name" to represent inversion. But it shouldn't be hard to add. What'd be better - overline or the inverter-circle-on-pin symbol? Also, any other pin-formatting features missing?

  2. Za Tutuka reporter

    also it would be nice to have option to automatical generate pin names using some sort of template. for example, when placing data or address buses last digit of pin name (A1) increment (becomes A2).

  3. Razen repo owner

    Hmm, I'm not sure of an easy-to-use way to make templated naming. I'll think about it.

    In the meantime the following code will allow creation of sequences of pins from the python prompt:

    for i in range(8): p.pin((0,i)).name = "A{}".format(i)
    

    Press colon, type that in and hit enter and you should have 8 pins named A0-A7.

  4. Za Tutuka reporter

    i've tried to use that code and got nothing. also i've tried example from Quickstart s.angle = 45 and it doesn't work either.

    in log file i have fail load messages:

    acceleratesupport.py(16):<module> - No OpenGL_accelerate module loaded: No module named OpenGL_accelerate
    formathandler.py(54):loadPlugin - Unable to load registered array format handler numpy:
    Traceback (most recent call last):
      File "OpenGL/arrays/formathandler.py", line 44, in loadPlugin
      File "OpenGL/plugins.py", line 14, in load
      File "OpenGL/plugins.py", line 28, in importByName
      File "OpenGL/arrays/numpymodule.py", line 11, in <module>
    ImportError: No numpy module present: No module named numpy
    
    formathandler.py(54):loadPlugin - Unable to load registered array format handler numeric:
    Traceback (most recent call last):
      File "OpenGL/arrays/formathandler.py", line 44, in loadPlugin
      File "OpenGL/plugins.py", line 14, in load
      File "OpenGL/plugins.py", line 28, in importByName
      File "OpenGL/arrays/numeric.py", line 15, in <module>
    ImportError: No Numeric module present: No module named Numeric
    
  5. Razen repo owner

    Hmm, strange. Those errors shouldn't be an issue. Are you in the schematic view? Do other commands work at the prompt? Does a simple expression like 2*2 work?

    Does entering p at the prompt return <rzn.api.project.Project object at ....>?

    For anything using the s variable, you need something selected.

  6. Razen repo owner

    Ah, yes, keypad enter handling was a bug. I've fixed it and added support for pin overlines. They'll be in the next release.

  7. Log in to comment