Need help to design a computer architecture

Click For Summary
SUMMARY

The discussion focuses on designing a barrel processor that incorporates fine-grained multithreading by adding a thread switch unit to a simple 16-bit microprocessor architecture. The goal is to modify the existing CPU design to allow the execution of one instruction from each thread in a round-robin fashion, cycling through N threads. The implementation will be done using VHDL on an FPGA, requiring the architecture to include multiple program counters, stack pointers, and thread identifiers for each thread.

PREREQUISITES
  • Understanding of barrel processor architecture
  • Familiarity with VHDL for FPGA implementation
  • Knowledge of multithreading concepts, specifically fine-grained multithreading
  • Experience with basic CPU architecture design
NEXT STEPS
  • Research barrel processor design principles
  • Learn VHDL coding techniques for FPGA development
  • Explore fine-grained multithreading implementation strategies
  • Study existing 16-bit microprocessor architectures for modification insights
USEFUL FOR

Computer architects, FPGA developers, and students in computer engineering focusing on processor design and multithreading techniques.

udaymach
Messages
2
Reaction score
0
Hi Fnz,
I have to design a barrel processor ..for which i have to take a simple processor and have to make changes in that existing architecture design such that we have to add a thread switch unit into the design and the threads had to switched after executing one instruction from each thread. Its more or like fine grained multithreading.
Can anyone please help me out how to make changes in the existing simple cpu design to bring out the barrel architecture.



-
Thanks,
UDAY
 
Engineering news on Phys.org
udaymach said:
Hi Fnz,
I have to design a barrel processor ..for which i have to take a simple processor and have to make changes in that existing architecture design such that we have to add a thread switch unit into the design and the threads had to switched after executing one instruction from each thread. Its more or like fine grained multithreading.
Can anyone please help me out how to make changes in the existing simple cpu design to bring out the barrel architecture.



-
Thanks,
UDAY

What have you tried so far? What starting uP architecture are you thinking of starting with? What representation are you going to use for the project (block diagram, schematic, Verilog, etc.)?
 
I have taken a simple 16-bit microprocessor (figure given in the attached file)and then i have to alter this architecture based on the below specification.

Just if i consider simple instructions for the processor that is enough.

The processor has to execute one instruction from each thread at a time for all threads upto N threads. I need to design the architecture for the Barrel processor and has to implement the processor on a FPGA by using VHDL.

So, I have to take a basic architecture of any of the processor and have to modify it such that the processor has N - number of PC,SP,SR,Thread IDs,etc. for each thread. I have to cycle all these registers of each thread at their turn executing only one instruction at a time.

For example Thread -1 is taken and all its corresponding CPU registers are loaded, then one instruction from this thread is executed. Then again Thread -2 is taken and all its CPU registers are loaded, then one instruction from this thread is executed, etc. upto N threads and again its cycled from the first.

Example:
Thread -1 ACC Ro-Rn PC SP Thread ID Flags Thread-status(En/Disable)
Thread -2 ACC Ro-Rn PC SP Thread ID Flags Thread-status(En/Disable)
Thread -3 ACC Ro-Rn PC SP Thread ID Flags Thread-status(En/Disable)

So, I have to design an architecture first and then i have to code in VHDL.

Can you please help me sir.
 

Attachments

  • Basic architecture.png
    Basic architecture.png
    8.9 KB · Views: 528
Last edited:

Similar threads

  • · Replies 102 ·
4
Replies
102
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K