FPGAwars / icestudio

:snowflake: Visual editor for open FPGA boards
https://icestudio.io
GNU General Public License v2.0
1.7k stars 245 forks source link

Icesutudio doesn't swhow the large name of the ECP5's pins #499

Open benitoss opened 3 years ago

benitoss commented 3 years ago

Due to the large number of the pins in the new ECP5 boards, the pin's names has to be larger. Actually Icestudio only shows 5 characters in the pin's field. Please could you allow to show names with 6 characters (as example P2_C14) ??? Thanks

jojo535275 commented 3 years ago

i will add a precision on what Benitoss wrote.

the characteres are correctly shown on the screen ( even with 10 characters). But only the 5 first are saved. Therefore, when re-oppening a file (and maybe also when building it) a pin "P2_C14" will be mixed with a pin P2_C1.

What i saw is (for exemple) on the Alhambra II board When you save the "SDA" pin it reopens as "ADC_SDA" pin

You can open the joined file /change the pin to SDA/ then close and reopen it test.zip

and modifying the "SDA" to "SDA_" in the pinout.json file solves the problem

jojo535275 commented 3 years ago

Little precision i could not saved the pinout.json for Alhambra II myself, because it is protected by the autors. But for the unprotected pinout.json files like for the colorligth boards made by Benitoss, it fixes the problem.

jojo535275 commented 3 years ago

Little correction two :-)

In fact, for me, the problem is more that the string "SDA" is also in "ADC_SDA"