Need help to design a computer architecture

AI Thread 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: 505
Last edited:
Back
Top