I used the following code to set up my ICE40HX1K-VQ100 fpga to input an external clock:
SB_GB_IO gb_io1 (
.PACKAGE_PIN( clk ),
.GLOBAL_BUFFER_OUTPUT( gclk )
);
This is for pin IOL_6B_GBIN7.
By itself, this works fine but I also needed to input an external event signal, so I added this code:
SB_GB_IO gb_io2 (
.PACKAGE_PIN( cmp ),
.GLOBAL_BUFFER_OUTPUT( gcmp )
);
this is for pin IOR_61_GBIN2.
Well, that is not working so good. I thought that this is what the primitive tech library meant. If I just use the clk I am ok. The cmp pin doesn't work as a wire. When I tried to use the code above it still doesn't work and acts like it doesn't see the signal at that pin.
So, after warping my brain trying to understand the documentation, I have to holler UNCLE. Could someone give me a hand with this please?