Forum Discussion

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

Is there any norm to define registers?

Hello,everybody.

What I want to do is to creat a custom nios2 component. I'm now writing the HDL files with verilog. According to the avalon specfication and the custom peripheral specfication, I have defined the interface signals. Besides, some registers should also be defined. My question is : whether there is any norm with which I can define these registers? Or I just do it without considering any norms, as long as it proves to work?

Replise are expected. Thanks for all. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif

3 Replies

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

    --- Quote Start ---

    originally posted by mxy_1984@Apr 17 2006, 07:18 AM

    hello,everybody.

    what i want to do is to creat a custom nios2 component. i&#39;m now writing the hdl files with verilog. according to the avalon specfication and the custom peripheral specfication, i have defined the interface signals. besides, some registers should also be defined. my question is : whether there is any norm with which i can define these registers? or i just do it without considering any norms, as long as it proves to work?

    replise are expected. thanks for all. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/rolleyes.gif

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

    --- quote end ---

    --- Quote End ---

    HI!

    Custom component has custom driverand custom registers http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif .

    Custom component&#39;s registers, their define and initing of registers are on your conscience.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    No norm restriction, as long as your custom logic complies with Avalon Spec.

    You will assign your registers to Avalon ports while packaing your design into Avalon standard custom peripheral.