Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

NIOSII import generics from VHDL

Hi,

is there any possibiltiy to use (or import) Generics written in my VHDL-Code in my NIOSII-Processor without reading them via PIOs?

Paddy

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    i am new to the NIOSII and i never worked with custom instructions. How do i have to do that? Can custom instructions be a part or "link" to a VHDL-Code?

    Thanks Paddy
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Custom instructions are written in VHDL - so can import signals from any other VHDL block.

    Loosely each instruction has two 32bit inputs and one 32bit output, which can be any bits the VHDL needs for any purpose.