11-10-2015 11:01 AM
Hi Nathand,
Sorry I was traveling last week and I had limited access
Great suggestions. I will apply all of them . I am not sure about the look-up table but I will look into that.
Anyway, I received a new FPGA card and it almost resolved all of my issues. Now I can compile up to 160MHz and I get no timeouts . It is great
I have 1 question about combining 2 different codes at different FPGA clock rates
I have a completely different package ( SPI/I2C code) . I can compile this code at 140MHz . I also have this code that can be compiled at 160MHz . They both use the same IOs.
I would like to put them in a case structure and have 1 bit file for both because I don't want to switch between different bit files in my program ( takes a lot of time to load ).
Is there anyway to compile a code with different time domain for the same IOs? For example in one case DIO0 outputs at 140MHz and in the other one at 160MHz . Currently compiler gives me an error and I have to change 160 to 140
11-10-2015 11:16 AM
@tintin_99 wrote:
Great suggestions. I will apply all of them . I am not sure about the look-up table but I will look into that.
Anyway, I received a new FPGA card and it almost resolved all of my issues. Now I can compile up to 160MHz and I get no timeouts . It is great
I'm not sure about the lookup table either, it was just an idea without a full understanding of the signals you need to generate. Nice to hear that upgrading your hardware solves the problem, sometimes that's easier and cheaper than spending days optimizing code.
@tintin_99 wrote:
Is there anyway to compile a code with different time domain for the same IOs? For example in one case DIO0 outputs at 140MHz and in the other one at 160MHz . Currently compiler gives me an error and I have to change 160 to 140
I have no idea; I've never tried. It may not be possible. I don't know if arbitration is an option for the IOs, but if it is, make sure it's disabled, if you have multiple instances of the IO points. What is the compiler error? What does your code look like for this?