Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 20 02:36
    zmughal starred DegateCommunity/Degate
  • Jun 12 08:06
    microhumanis starred DegateCommunity/Degate
  • May 14 04:09
    Podbay starred DegateCommunity/Degate
  • May 01 12:58

    maximumspatium on develop

    Improve German translation a bi… Merge pull request #5 from maxi… (compare)

  • May 01 12:58
    maximumspatium closed #5
  • May 01 11:51
    maximumspatium opened #5
  • May 01 11:47
    maximumspatium added as member
  • May 01 07:30

    DorianBDev on develop

    Improved handling of mouse whee… (compare)

  • May 01 06:52

    DorianBDev on develop

    Added Maxim Poliakovski to the … (compare)

  • May 01 06:48

    DorianBDev on develop

    Switch Degate to use OpenGL 3.3… Ported all GLSL shaders to 330 … Merge pull request #4 from maxi… (compare)

  • May 01 06:48
    DorianBDev closed #4
  • Apr 30 15:52
    DorianBDev synchronize #4
  • Apr 29 16:57
    DorianBDev edited #4
  • Apr 29 16:54
    DorianBDev labeled #4
  • Apr 29 16:54
    DorianBDev assigned #4
  • Apr 29 16:54
    DorianBDev review_requested #4
  • Apr 29 16:38
    maximumspatium opened #4
  • Apr 29 12:17
  • Apr 29 12:17
    ESIEA-OpenSOC starred DegateCommunity/Degate
Maxim Poliakovski
@maximumspatium
I switched Degate's UI language to English first followed by French. Now I can't switch back to German because the Preferences menu doesn't contain Language selection anymore (see the picture).
Dorian Bachelot
@DorianBDev
The menu in the picture is the grid configuration dialog, to go to the preferences and select another language, you need to go (in french) : "Editer" -> "Préférences" -> "Général" -> "Langue"
Maxim Poliakovski
@maximumspatium
There is no menu "Editer" in my french UI (:
Degate main menu bar french UI.png
Dorian Bachelot
@DorianBDev
Ok that's very strange
If you wan't to go back to English without waiting, you can edit the "degate.ini" file in the "~/.degate" directory and set "language=en" (you need to close degate, make the change and reopen it)
Maxim Poliakovski
@maximumspatium
I'll try to delete the preferences file to reset Degate to the default settings. Then I'll try to reproduce the above bug.
BTW, using hidden directories like "~/.degate" is discouraged on MacOS. It has a dedicated location for storing application dependent data: "~/LIbraray/Preferences/someapp/*"
Dorian Bachelot
@DorianBDev
Oh ok, I didn't know that, I'll add this task to the next version
Maxim Poliakovski
@maximumspatium
It belongs to platform specific quirks. I consider it a minor task, easy to fix.
BTW, did you think about adding some kind of Undo?
Dorian Bachelot
@DorianBDev

BTW, did you think about adding some kind of Undo?

Not for the moment

Maxim Poliakovski
@maximumspatium
I find the idea to add Python scripting very useful. Does QT include some bits to make such an integration easier?
Dorian Bachelot
@DorianBDev

It belongs to platform specific quirks. I consider it a minor task, easy to fix.

Of course, but this will require to have a transition so as not to lose the previous configuration or leave a "zombie" folder

I find the idea to add Python scripting very useful. Does QT include some bits to make such an integration easier?

Not to my knowledge, but it shouldn't be too complex (at least I think)

The next two important steps for Degate are linked project type (no more image importation phase) and python scripting for matching
I have less time than before, so I don't know if I'll have the time to start these projects alone
Maxim Poliakovski
@maximumspatium
I'm working on a custom gate array that uses a standard cell with six transistors to implement all required logic gates. In other words, the kind of gate it implements heavily depends on two metal layers that interconnect standard cell's inputs/outputs. For the time being, I see no way to automatically recognize all required metal connections in a single layer die image. I therefore use Inkscape to trace the layers manually hoping to write a Python script to import this kind information into Degate.
Dorian Bachelot
@DorianBDev

I'm working on a custom gate array that uses a standard cell with six transistors to implement all required logic gates. In other words, the kind of gate it implements heavily depends on two metal layers that interconnect standard cell's inputs/outputs. For the time being, I see no way to automatically recognize all required metal connections in a single layer die image. I therefore use Inkscape to trace the layers manually hoping to write a Python script to import this kind information into Degate.

I understand, I want to be able to add support for python scripts for this kind of reason, it would widen the application domain of Degate

And since wire matching in Degate is not very good, python scripting can help on that point (by using OpenCV inside the python script for example)
Dorian Bachelot
@DorianBDev
The main issue with Degate is that it's niche software, and so I don't think there will be any other major contributors to the project. Therefore, and while I start a master’s thesis in September, I think Degate will go back to sleep for some time (regarding new functionalities, I will continue to fix new bugs)
Maxim Poliakovski
@maximumspatium
I'd probably able to help out with Python integration. Regarding OpenCV magic, one needs to be very skilled in recognition algorithms to be able to write useful scripts. Frankly, the only advantage of Python is a wider user base and reduced development time. There is a lot of tutorials aiming at OpenCV development but the most of them seems to cover the stuff at introductory level only. Just go and try to find something useful about object recognition with mathematical morphology, for example. You'll probably find nothing helpful.
Dorian Bachelot
@DorianBDev

I'd probably able to help out with Python integration. Regarding OpenCV magic, one needs to be very skilled in recognition algorithms to be able to write useful scripts. Frankly, the only advantage of Python is a wider user base and reduced development time. There is a lot of tutorials aiming at OpenCV development but the most of them seems to cover the stuff at introductory level only. Just go and try to find something useful about object recognition with mathematical morphology, for example. You'll probably find nothing helpful.

Sure, OpenCV was an example, but I think it will bring more prototyping capabilities to Degate regarding matching algorithms. But in the end, Degate should still offer complex and functional build-in matching algorithm

Maxim Poliakovski
@maximumspatium
From my experience, the main issue with Degate etc is not the fact it's a niche software but its complexity as well. Anything AI is pretty hard and requires skilled devs. There is not a lot of them around here, especially laymans like me. Professional devs have no time for such projects - it requires a lot of time to do R&D.
Dorian Bachelot
@DorianBDev

From my experience, the main issue with Degate etc is not the fact it's a niche software but its complexity as well. Anything AI is pretty hard and requires skilled devs. There is not a lot of them around here, especially laymans like me. Professional devs have no time for such projects - it requires a lot of time to do R&D.

You are right, I agree with you on this point. Degate is the perfect example, me and Martin Schobert (the two main maintainers of the project) were students when we worked on Degate. What caused (and should cause again) big interruptions in the development. With your help I may be able to spare some time to implement this feature of python script support

I can add you to the organization on Github if you want to work on Degate (it will give you write access to the repo), and not have to create pull requests permanently
Maxim Poliakovski
@maximumspatium
I changed the language back to English in the degate.ini, then started Degate and changed the language back to French in the preferences dialog. The UI switched to French but there is no Editer menu. Preferences menu opens only if there is an open project and it's crippled.

I can add you to the organization on Github if you want to work on Degate (it will give you write access to the repo), and not have to create pull requests permanently

That's very kind of you. Be warned that I'm not familiar with Degate's internals at all so I will need a lot of guidance by a maintainer to be able to do something useful :)

For the moment being, I'm picking the low hanging fruits (UI bugs, spelling errors etc)...
Dorian Bachelot
@DorianBDev

I changed the language back to English in the degate.ini, then started Degate and changed the language back to French in the preferences dialog. The UI switched to French but there is no Editer menu. Preferences menu opens only if there is an open project and it's crippled.

That's really, really strange, I can't reproduce but I'll search in the code

I can add you to the organization on Github if you want to work on Degate (it will give you write access to the repo), and not have to create pull requests permanently

That's very kind of you. Be warned that I'm not familiar with Degate's internals at all so I will need a lot of guidance by a maintainer to be able to do something useful :)

Sure, no problem at all (on the contrary)!

Maxim Poliakovski
@maximumspatium
Just found this article about embedding Python in a Qt application: https://doc.qt.io/archives/qq/qq23-pythonqt.html
It's quite old but should point to the right direction...
Dorian Bachelot
@DorianBDev
I agree, from what I looked, the most complicated part will be to interface the Degate system to access images within python scripts (witch the tile system)
Maxim Poliakovski
@maximumspatium
@DorianBDev Could you post a snapshot of the Degate's main menu with French and English translations enabled? I'd like to compare them with mine.
Dorian Bachelot
@DorianBDev
No problem, I'll do that tomorrow, you can already have access to screenshots of the Degate english menu in the documentation
Do you think that the menus on MacOS are not complete? I explored the code but couldn't find where the problem may come from
Maxim Poliakovski
@maximumspatium
Edit menu shown.png
It looks like we got a subtle bug. When I switch UI language in the preferences dialog and click Apply, the edit submenu appears in the main menu.
When I click "Close" to dismiss the preferences dialog, this menu magically disappears.
Edit menu disappeared.png
The same happens for French and German translations as well. Below the menu snapshots for the French translation:
Editer submenu shown.png
Editer submenu disappeared.png
Dorian Bachelot
@DorianBDev
That's even more strange now, this bug is wow
Maxim Poliakovski
@maximumspatium
But it's catchable now :)
We need to follow UI's internal state to figure out what causes this menu to disappear.
Dorian Bachelot
@DorianBDev
This clue should help a lot, I'll investigate more tomorrow on my side
Maxim Poliakovski
@maximumspatium
:thumbsup:
Dorian Bachelot
@DorianBDev
I didn't found the problem, and the bug don't appear on Linux and Windows, so I can't reproduce. The close button is directly linked to the Qt Dialog "close()" function, maybe you can try to set the slot to "reject()" idk (PreferencesEditor.cc line 51)