Need help to design a computer architecture

Click For Summary
The discussion focuses on designing a barrel processor by modifying an existing simple 16-bit microprocessor architecture to incorporate a thread switch unit for fine-grained multithreading. The goal is to enable the processor to execute one instruction from each thread sequentially, cycling through multiple threads. The design will require implementing multiple registers, including program counters and stack pointers, for each thread. The final architecture will be coded in VHDL for implementation on an FPGA. Assistance is sought in outlining the necessary changes to achieve this barrel architecture.
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: 511
Last edited:
What mathematics software should engineering students use? Is it correct that much of the engineering industry relies on MATLAB, making it the tool many graduates will encounter in professional settings? How does SageMath compare? It is a free package that supports both numerical and symbolic computation and can be installed on various platforms. Could it become more widely used because it is freely available? I am an academic who has taught engineering mathematics, and taught the...

Similar threads

  • · Replies 102 ·
4
Replies
102
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 13 ·
Replies
13
Views
761
Replies
2
Views
3K