15-08-07

Another Example for CoreABC Programming on the ACTEL FPGA

Here is the code; I don't have many time at this moment so there is no information included :-) If you need some just reply to this post and I will explain the code.

 This program shows you a running led (only one time) everytime you enable the processor


$LedOff    IOWRT ACC
    CALL $Wait500ms
$LedOn    SHL0
    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

10:24 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: coreabc, fpga, actel |  Facebook |

De commentaren zijn gesloten.