27-02-07

Running Led Continious Mode

Hi all,

 

If you want to expand the latest project 'running led' to continious mode this is very easy to do:

 

just do the following things: in your 'root vhdl file' change the following lines of code:

 

entity ARM7BOARD_CoreABC_EXPERIMENT is
    -- Port list
    port(
        -- Inputs
        PCLK : in std_logic;
        -- Outputs
        IO_OUT : out std_logic_vector(7 downto 0)
    );
end ARM7BOARD_CoreABC_EXPERIMENT;

 

Where the inputs are listed remove the NSYSRESET input.

 

In the Code also change the Port Map of the RTL code (look at the line NSYSRESET; I force it to be 1 that's the trick ):

-- Port map
        port map(
            -- Inputs
            INITADDR => (others => '0'),
            INITDATA => (others => '0'),
            INITDATVAL => '0',
            INITDONE => '0',
            INTREQ => '0',
            IO_IN => (others => '0'),
            NSYSRESET => '1', -- I removed: NSYSRESET => NSYSRESET,
            PCLK => PCLK,
            PRDATA => (others => '0'),
            PREADY => '1',
            -- Outputs
            INTACT => open,
            IO_OUT => IO_OUT,
            PADDR => open,
            PENABLE => open,
            PRESETN => open,
            PSEL => open,
            PWDATA => open,
            PWRITE => open
        );

 

 

Connect the Clock to pin W17 and the IO to the 8 led's on the board.

 

Have fun with it

09:34 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: actel, fpga, coreabc, vhdl, example, program, sample |  Facebook |

Running Led Program for CoreABC

I did a new sample program for the CoreABC from Actel (I progammed this on my M7A3PE600 FPGA. This program is a running led be sure to press the NSYSRESET button to run the program.

 

In your CoreConsole Project You just have to put a CoreABC softcore CPU and bring out IO, PCLK and NSYSRESET to the Top Level.

 

On the ARM7 Board you can connect PCLK to Pin W17, IO to the Led's and for instance NSYSRESET to pin U3

 

$Main
    WAIT WHILE INPUT0

// Running LED
$LedOff    IOWRT 0
    CALL $Wait500ms
$LedOne    IOWRT 1
    CALL $Wait500ms
$LedTwo    IOWRT 2
    CALL $Wait500ms
$LedThree  IOWRT 4
    CALL $Wait500ms
$LedFour   IOWRT 8
    CALL $Wait500ms
$LedFive   IOWRT 16
    CALL $Wait500ms
$LedSix    IOWRT 32
    CALL $Wait500ms
$LedSeven  IOWRT 64
    CALL $Wait500ms
$LedEight  IOWRT 128
    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
    RETUR

08:58 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: coreabc, actel, fpga, code, arm7 |  Facebook |

22-02-07

Interesting Presentation - Morgan Stanley about the future of high-tech communication

Today I found an interesting article on the future of high-tech communication systems (the economical aspect of it). It is a good starting point to learn how you can make some $$ in the future with building new communication platforms.

 

I have uploaded it to my personal Google webspace check it out here Presentation

 

Oh yes I forgot to mention: it is a presentation from Morgan Stanley (or is it MorganStanley???  ) and it is titled: 'Telesoft Partners EcoSystem Meeting'

 

enjoy it!

21-02-07

European challenge in the electronic industry

I have found a nice article for everyone interested in how Europe can train to be a leader in the electronic industry.

 

Check out this link: http://www.prnewswire.com/cgi-bin/stories.pl?ACCT=109&...=

 

The article is titled 'Cost Versus Quality - the Big Challenge for the European Electronics Manufacturing Industry'

15:05 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: europe, electronics, manufacturing |  Facebook |

Chinese economy slowing down?

China's economic growth to drop to single digits this year: report
Posted: 21 February 2007 1829 hrs

 
 
Photos 1 of 1

A customer looks at the engine of an SUV at a dealership of Chery Automobile
  
 

BEIJING : Economic growth in China in 2007 will drop to single digits for the first time in five years, state media reported Wednesday, citing a senior government researcher.

The world's fourth-largest economy is expected to expand by nine percent this year, the China Daily said, citing Liu Shijin, deputy director of the Development Research Center, a think tank attached to the Cabinet.

This is down from 10.7 percent in 2006, the fourth consecutive year when China saw double-digit growth.

Liu predicted China would probably see growth rates of seven to eight percent in the coming decade, supported by the real estate and automotive sectors, the paper said on its website.

The paper did not provide a reason for the moderate slowdown in the economy beginning this year.

- AFP

 

Link: http://www.channelnewsasia.com/stories/afp_asiapacific_bu...

 

14:58 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: slow, china, real-estate, automotive, asia, economy |  Facebook |

19-02-07

Blinking Led on ProASIC3 by use of CoreABC microcontroller

The next few lines are an introduction (if you like: a step-by-step guide, a tutorial) on how to use the CoreABC processor core on a ProASIC3 (A3PE-A3P-EVAL-BRD1) board. It shows you how to set up the core, how to copy/paste a working example program and how to use this program.

 

Enjoy it!

 

The first thing you have to do is start up the CoreConsole tool from ACTEL. You have to create a new project for this tutorial. In this project place 1 CoreABC block on the 'workspace'. After you have done this you have to make some settings: like there are: Connecting PCLK, NSYSRESET and IO to the Top level of your design. Another thing you have to do is configuring the softcore for using it with ProASIC3 FPGA's. (see also screenshots below).

 

 

 

 

On the second screenshot be sure you click the 'Program' Tab and put the following code in it:

 

JUMP $Main

 

 

$Main

    WAIT WHILE INPUT0

 

 

$LedOff    IOWRT 0

    CALL $Wait500ms

$LedOn    IOWRT 1

    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

 

 

 

After this you just have to set up a new project in Libero IDE and import the core in this project (see screenshot).

 

Normally there are no green icons on your programming way yet (I took this screenshot after I had fully programmed my fpga).

 

Hit the Synthesis tool (Synplicity Actel Edition) and push the Run button in this program.

 

After this step you have to use the Place&Route tool. Be sure to make the following settings:

 

Remember that pin 26 is the clock on this Actel ProASIC3 board.

After you have created the stpl file from the Place&Route tool you can Program the FPGA by use of the FlashPro Tool

 

 

 

When you want to test the program you just have created just press the SW1 button on your board.

 

Enjoy this tutorial on implementing the CoreABC softcore on a ProASIC3 FPGA.

 

(The problem I had the first time I tried this was that I didn't connect the NSYSRESET pin to the top level).

 

I used an ProASIC3 A3P250 PQ208ES 0539 FPGA.

 

 

For Screenshots please see the following WORD document: Screenshots

 

22:08 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: softcore, fpga, coreabc, actel, tutorial, proasic3 |  Facebook |

04-02-07

Working with Google Codesearch

Hi all,

 

ready for some geek google stuff?

 

there is a searchengine called 'Google Code Search' where you as a  developer in the electronic world can get many help from ( or ideas ) Here a few examples:

 

go to this website: http://www.google.com/codesearch

type: SPI lang:vhdl

quicklink: http://www.google.com/codesearch?q=SPI+lang%3Avhdl&hl...

 

and there you go, the VHDL code for an SPI interface.

 

Whatch the following example: Hello world for C++:

http://www.google.com/codesearch?hl=nl&lr=&q=hell...

 

enjoy this feature of google!

12:24 Gepost door Mobile blogger in Algemeen | Permalink | Commentaren (0) | Tags: google, c, vhdl, codesearch, spi interface |  Facebook |