02-03-07

Blinking leds by use of CoreABC, CoreGPIO and CoreAPB

According to the technical contacts I have within ACTEL it is not possible at this time to write the value you have in the accumulator to the parallel outputs on the softcore (CoreABC). In order to do something like this you have to experiment like me with the following cores in your coreconsole: CoreABC, CoreGPIO and CoreAPB.

 

Check out my set-up in coreconsole:

CoreABC_CoreGPIO_CoreAPB

The program I have placed into the hard-tiles of the CoreABC are the following lines:

 
    JUMP $Main

$Main
    WAIT WHILE INPUT0
$LedOff    APBWRT DAT 0 0 1
    CALL $Wait500ms
$LedOn    APBWRT DAT 0 0 3
    CALL $Wait500ms
    JUMP $LedOff
$Wait500ms
    CALL $Wait100ms
$Wait400ms
    CALL $Wait100ms
$Wait300ms
    CALL $Wait100ms
$Wait200ms
    CALL $Wait100ms
$Wait100ms
    CALL $Wait20ms
$Wait80ms
    CALL $Wait40ms
$Wait40ms
    CALL $Wait20ms
$Wait20ms
    CALL $Wait10ms
$Wait10ms
    NOP
    LOADLOOP 34998
$Wait10msInner
    DECLOOP
    JUMP IFNOT LOOPZ $Wait10msInner
    RETURN
 
 
With thanks to ACTEL corporation for bringing us the CoreABC softcore processor and example 1 of this great softcore
 
Here we use the CoreABC processor as it is designed for... being a Master on the APB bus on our ACTEL fpga. the CoreGPIO is a slave core on this APB bus.
 
I implemented this program on my ProASIC3 A3P250 PQ208ES 0539 FPGA and the board I used for this is the A3PE-A3P-EVAL-BRD1 REV3.
 
Enjoy this sample.....
 

21:40 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: coreabc, actel, coregpio, coreapb, proasic3 |  Facebook |

De commentaren zijn gesloten.