FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-13-2008, 05:10 AM
akineko
Guest
 
Posts: n/a
Default CPU Model for Co-simulation

Hello everyone,

I would like to create a scheme to hook up an external CPU model to a
Verilog design.
I have already established a basic communication protocol to link
Verilog design to an external device.
So, it should be easy to link a CPU model to a Verilog design.

I'm looking for a 32-bit CPU model written in C or Java or Python or
any high-level language that can be supported by gcc.
So far, I can think of are SPARC V8 or DLX CPU, which was designed by
Hennessy and Patterson.
As I don't want to spend time to create development environment for
this, I would like to find a CPU which is ready to plug-in.

The goal of my experiment is to create a framework so that any
external model (CPU, DSP, compression engine, and other IPs) can be
easily plugged in to a Verilog design.

Any comments, any suggestions will be greatly appreciated.

Aki Niimura
Reply With Quote
  #2 (permalink)  
Old 10-15-2008, 04:21 AM
Tommy Thorn
Guest
 
Posts: n/a
Default Re: CPU Model for Co-simulation

On Oct 12, 8:10*pm, akineko <akin...@gmail.com> wrote:
> Hello everyone,
>
> I would like to create a scheme to hook up an external CPU model to a
> Verilog design.
> I have already established a basic communication protocol to link
> Verilog design to an external device.
> So, it should be easy to link a CPU model to a Verilog design.


I do that for YARI, a MIPS compatible processor. Any feature is first
implemented and tested in the ISA level simulator (yarisim). Once that
works, the feature is implemented in the RTL (Verilog) and the two
models are co-simulated on the tests that were used for the ISA level
simulator, as well as more substantial applications.

The cosimulation model I use is decidedly simple: yarisim is run in a
model in which it parses the trace output of the verilog simulation.
This has the advantage of not depending on anything but the ability to
$display() stuff in the RTL model (as opposed to horrible PLI hacks
etc).

For more detail, see http://thorn.ws/yari and/or
http://www.vmars.tuwien.ac.at/php/ps...hp?fileid=1547

Tommy
Reply With Quote
  #3 (permalink)  
Old 10-16-2008, 02:10 PM
Jon Beniston
Guest
 
Posts: n/a
Default Re: CPU Model for Co-simulation


> I'm looking for a 32-bit CPU model written in C or Java or Python or
> any high-level language that can be supported by gcc.


How accurate does the model need to be?

There are lots of CPU simulators that come as part of GDB.

Cheers,
Jon
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Model for Co-simulation akineko Verilog 1 10-13-2008 05:16 PM
DDR Simulation Model [email protected] FPGA 13 08-16-2007 03:53 PM
Simulation MODEL for SRAM ALuPin FPGA 2 02-20-2004 05:24 PM


All times are GMT +1. The time now is 01:38 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved