P1V barrel shifter problem
pik33
Posts: 2,366
It seems the barrel shifter (shl, shr instruction) cannot work properly even at 120 MHz (with DE2-115 board). I have random errors when my program does "deep" (28..30 bits) shl/shr. These errors disappeared when I slowed the Propeller to 100 MHz
Can you check this in your projects?
Time to learn how to write these .sdc files....
Can you check this in your projects?
Time to learn how to write these .sdc files....
Comments
I registered port b input:
It helped somehow but the only working solution was to return to 80 MHz.
Well, by adding the pinb_in, you did make a deeper mux. Maybe that pushed it over a limit. Try the following:
Since "s" is effectively set over two clock cycles, this just attempts to split the mux into two smaller/shallower ones.