Forum Discussion

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

Need help ASAP! 16-bit single cycle processor

I am supposed to program a 16-bit single cycle (also multi-cycle, but we'll stick with the single cycle for now) processor. All requirements are below. I have a simple data path, but honestly, I wasn't taught a whole lot of coding (except very, very basic stuff), so I'm not sure how to code the components (PC, instruction memory, register, etc.). Any help would be much appreciated.

https://www.alteraforum.com/forum/attachment.php?attachmentid=6531

1 Reply

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

    It is rather strange that you get such an assignment after only very basic training. I suggest that you start reading a few books about HDL design, split your system in different parts (registers, memory, operation decoding, etc...) and write each of them as a separate component. If you have any specific question, you can post the code you wrote here and ask it. Good luck!