Forum Discussion

2 Replies

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

    --- Quote Start ---

    originally posted by ruling@Feb 8 2006, 04:36 PM

    is it possible for custom instruction written in vhdl to access on-chip memory or registors? how? thanks! http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif

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

    --- quote end ---

    --- Quote End ---

    it is possible to access up to 32 programmer visible registers (accessed by c0-c31 in inline assembly). These are implemented in ALUTs (I believe).

    I don&#39;t know about the TCM (tightly-coupled memory). I mean if it is accessible by the programmer.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    But if we implement the custom instruction in VHDL, how can we do that? I mean, access

    these programmer visible registers.

    --- Quote Start ---

    originally posted by kavi+feb 9 2006, 08:30 am--><div class='quotetop'>quote (kavi @ feb 9 2006, 08:30 am)</div>

    --- quote start ---

    <!--quotebegin-ruling@Feb 8 2006, 04:36 PM

    is it possible for custom instruction written in vhdl to access on-chip memory or registors? how? thanks! http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif

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

    --- quote end ---

    --- Quote End ---

    it is possible to access up to 32 programmer visible registers (accessed by c0-c31 in inline assembly). These are implemented in ALUTs (I believe).

    I don&#39;t know about the TCM (tightly-coupled memory). I mean if it is accessible by the programmer.

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

    [/b]

    --- Quote End ---