Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

designing microprocessor??

Status
Not open for further replies.

buts101

Full Member level 3
Joined
Apr 29, 2005
Messages
168
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
2,867
microprocessor:

Under computer architecture course, I've to design a microprocessor with 8 bit data and 16 bit address ..minium 20 instructions and at least 2 mode to address. I need to write RTL for instructions and there timing diagrams and block diagram of the circuit.
Is there any software which helps to write RTL of instructions and displays its timing diagram.
Or How can I use VHDL or Verilog to solve my problem ?
Thank you.
 

farhada

Advanced Member level 2
Joined
Oct 1, 2004
Messages
589
Helped
84
Reputation
168
Reaction score
30
Trophy points
1,308
Location
Nice, France
Activity points
5,025
Hi,
There are some good examples of the CPU design on the network that you can look at to understand how a simple CPU code works.

For instruction, you just write a VHDL code for each and every one of them. Depending on the type of instructions, you can choose different ways of writing your code. The easiest one is to create a case statement for each instruction and then write the code there, the other way (a bit more complicated) is to write micro code and then use the 5 bits of the data to be the starting points for the instrucitons in your microcode memory.

When you are done with your coding, you use Modelsim to simulate your design and you will get the timing information for each instruction.

Search internet for "simple 8 bit CPU VHDL" and you will find some good sites with information,

Cheers,
/Farhad
 

blackdebugger

Junior Member level 1
Joined
Dec 18, 2005
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Indonesia
Activity points
1,414
You can download a software from altera
It is called Altera Max2 + plus
 

luxboy

Junior Member level 3
Joined
Jun 18, 2002
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
258
Choose some computer architecture books, many of them have entire example of simple 8bit MCU implemention. You can refer to that.

To simulate it you'd rather write a test-bench and modeling a ROM in test bench to give instruncts for MCU running. During simulation dump out the waveform and check the result. You may run simulation by Cadence Verilog-XL/NC-Verilog; Synopsys VCS; Mentor Modelsim or Altera Maxplus
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top