28-12-07

Running Counter on SPARTAN3E Starter Board by use of LabVIEW FPGA

Ok, I just created a next example for the Spartan3E starter board. It is a running binary counter that I send to the LED's.

 Screenshots:

countercontrol

 

counterblock
Just try to rebuild it; if you are not able to rebuild I am willing to send my bitfile to you.

 

Happy LabVIEW FPGA coding!

02-03-07

Binary Counter on ACTEL ProASIC3 FPGA by use of CoreABC

I have just created a binary counter on the CoreABC softcore from ACTEL (see code below). Create the project from coreconsole (CoreABC, CoreGPIO and CoreAPB) in the latest post on this blog and put the next lines of code into the softcore. enjoy it!

 

 

// Created by Vincent Claes

// If you want to use please add a comment on my blog

// http://mobile.skynetblogs.be

   

    JUMP $Main

$Main
    WAIT WHILE INPUT0
$LedOff   
    LOAD 0
$LedOn
    APBWRT ACC 0 0
    INC
    CALL $Wait500ms
    JUMP $LedOn  
    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

22:37 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: actel, fpga, coreabc, coregpio, coreapb, binary counter, proasic3 |  Facebook |