D
Damien Towning
Guest
I have a VHDL project. Is a RISC-V Bonfire in an Efinity T-35 FPGA. The board the T-35 is in has external clock on a GPIO pin that is driving it. Runs on the FPGA happily. Now I have successfully built my project using GHDL-GCC. Next I have started looking at wrapping it and am reading through the documentation. But in general what would be best practice for binding the SYSCLK in my VHDL code to some external function to drive it? I have been looking at the customc example where the VHDL calls C functions. Can I call a C function that runs the clock and return a clock step that way? Or have I got this the wrong way around and the C code should reach in to the running object and clock it that way?