Forum Discussion

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

Custom Instruction examples

I have created a set a custom instructions that demonstrate the various different types of custom instructions:

here is a quote from the intro in my tutorial:

<div class='quotetop'>QUOTE </div>

--- Quote Start ---

Introduction

... this tutorial came bundled with several custom instruction examples which cover many different types of possibilities; such as, internal registry options, I/O options, and stalling options. Examples below use a multiply accumulate (MAC) example from a basic instruction to one that takes advantage of many sophistication options. A MAC is an operation which takes an input and multiplies it with its current value and then accumulates it. The basic functionality of a MAC can be found in an included custom instruction user guide on page 1-11. A Taylor series calculator and a “blinker” custom instruction that interacts with the LEDs are also included. The Taylor series calculator can be used to approximate functions while the LED blinker demonstrates IO with custom instructions. ...[/b]

--- Quote End ---

Unlike many other custom instructions, some of the ones in this bindle are non-stalling, which speeds up computation, and some that are IO capable.

Note: with the Altera custom instruction guide the file size was too large. So, you can find it at

http://www.altera.com/literature/ug/ug_nio...instruction.pdf (http://www.altera.com/literature/ug/ug_nios2_custom_instruction.pdf)

2 Replies

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

    The tutorial is awesome! Thanks a ton!

    --- Quote Start ---

    originally posted by rdturner@Sep 21 2005, 03:21 PM

    i have created a set a custom instructions that demonstrate the various different types of custom instructions:

    here is a quote from the intro in my tutorial:

    <div class='quotetop'>quote

    --- quote end ---

    --- quote start ---

    introduction

    ... this tutorial came bundled with several custom instruction examples which cover many different types of possibilities; such as, internal registry options, i/o options, and stalling options. examples below use a multiply accumulate (mac) example from a basic instruction to one that takes advantage of many sophistication options. a mac is an operation which takes an input and multiplies it with its current value and then accumulates it. the basic functionality of a mac can be found in an included custom instruction user guide on page 1-11. a taylor series calculator and a “blinker” custom instruction that interacts with the leds are also included. the taylor series calculator can be used to approximate functions while the led blinker demonstrates io with custom instructions. ...

    --- Quote End ---

    Unlike many other custom instructions, some of the ones in this bindle are non-stalling, which speeds up computation, and some that are IO capable.

    Note: with the Altera custom instruction guide the file size was too large. So, you can find it at

    http://www.altera.com/literature/ug/ug_nio...instruction.pdf (http://www.altera.com/literature/ug/ug_nios2_custom_instruction.pdf)

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=9877)</div>

    [/b]

    --- Quote End ---