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 |

De commentaren zijn gesloten.