//ENGLISH BELOW
Hola a todos! ya he conseguido una tele para poder trabajar con esto que me parece super interesante, os animo a probarlo y que participéis en este hilo promete ser interesante.
Os mando un ejemplo sencillo, utiliza los fuentes de Jesús pero dentro de Icestudio. El ejemplo está hecho con la Alhambra II, pero realmente cualquier tarjeta con reloj a 12Mhz y configurando el pin de salida por el que toque .
Lo he hecho así para quien no esté acostumbrado vea lo fácil que es trabajar entre verilog y icestudio. Si veis el bloque , se incluye el verilog y el archivo de fuentes de Jesús y sólo hay que instanciarlo.
Ahora mismo Icestudio tiene muchas limitaciones en esto, los ficheros tienen que estar en el mismo directorio que el .ice, sin carpetas y los archivos binarios tienen que tener extensión lst.
En esta línea estoy trabajando en unas mejoras que pronto verán la luz, estoy trabajando en un "gestor e proyectos", tendremos una vista tipo el de las colecciones en la que podremos incluid directorios con fuentes de verilog, ficheros binarios, testbenches.... la idea es que que quien quiera o sólo necesite usar un .ice lo haga pero para proyectos más complejos podamos tener estructuras más complejas que permitan trabajar cómodamente entre verilog y icestudio, pero bueno esto a su tiempo.
La puesta en marcha es muy sencilla, sólo tenéis que montar el circuito que dejó Jesús planteado, como veis en la foto yo lo he montado en una breadboard pequeñita, no tiene ningún misterio ni complejidad.
Este primer archivo de prueba con Icestudio lo que hace es mostrar lo que hay inicialmente en memoria en pantalla y luego según vas pulsando el primer switch va avanzando columna a columna empezando por el ascii 0 y pasando al siguiente caracter en cada columna (y saltando a la siguiente fila cuando corresponda).
He colgado un pequeño vídeo en twitter para quien quiera verlo:
Tengo algunas ideas sobre esto que quiero probar los próximos días, ahora que tengo una tele donde probar, ya os iré contando novedades.
Un fuerte abrazo !
// ENGLISH
Hello everyone! I've already got a TV to work with this, which I find super interesting, I encourage you to try it and participate in this thread, it promises to be interesting.
![Captura de pantalla 2024-04-07 a las 20.16.40.png](https://groups.google.com/group/fpga-wars-explorando-el-lado-libre/attach/1eebb710ff82f/Captura%20de%20pantalla%202024-04-07%20a%20las%2020.16.40.png?part=0.0.4&view=1)
I'm sending you a simple example, it uses Jesus's sources but within Icestudio. The example is made with the Alhambra II, but really any board with a 12Mhz clock (or with a PLL or frequency divisor at 12Mhz) and configuring the output pin as needed.
I did it this way so those who are not used to it can see how easy it is to work between Verilog and Icestudio. If you see the block, it includes the Verilog and Jesus's source file, and you just have to instantiate it.
Right now, Icestudio has many limitations in this, the files have to be in the same directory as the .ice, without folders, and binary files must have a .lst extension.
In this way, I'm working on some improvements that will soon see the light of day, I'm working on a "project manager", we will have a view like the one for collections in which we can include directories with Verilog sources, binary files, testbenches... the idea is that those who want to or only need to use a .ice can do so, but for more complex projects we can have more complex structures that allow comfortable work between Verilog and Icestudio, but well, this in its own time.
The setup is very simple, you just have to assemble the circuit that Jesus proposed, as you can see in the photo I have mounted it on a small breadboard, it has no mystery or complexity.
![conector_arriba.jpg](https://groups.google.com/group/fpga-wars-explorando-el-lado-libre/attach/1eebb710ff82f/conector_arriba.jpg?part=0.0.5&view=1)
.
![conector_detalle.jpg](https://groups.google.com/group/fpga-wars-explorando-el-lado-libre/attach/1eebb710ff82f/conector_detalle.jpg?part=0.0.6&view=1)
This first test file with Icestudio what it does is show what is initially in memory on the screen and then as you press the first switch it advances column by column starting with the ascii 0 and moving to the next character in each column (and jumping to the next row when appropriate).
I've posted a short video on Twitter for those who want to see it:
https://twitter.com/cavearr/status/1777062665161974012I have some ideas about this that I want to try in the next few days, now that I have a TV where to test, I will be telling you news.
A big hug!