[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openrisc] How to simulate OpenRisc in ModelSim



Heya !

I have put those scripts together and since I use NC-Verilog, the scripts
are only for NC-Verilog simulator.

If somebody puts scripts together for ModelSim, they can be added to the
distribution.

regards,
Damjan

----- Original Message -----
From: "Xing Yu" <x.yu@ee.qub.ac.uk>
To: "openrisc" <openrisc@opencores.org>
Sent: Wednesday, September 11, 2002 3:47 PM
Subject: [openrisc] How to simulate OpenRisc in ModelSim


> Hi All,
>
> I tried to use the simulation scripts in or1k/orp/orp_soc/sim/bin in
> Modelsim, but with no success.  Are those scripts only for Cadence
> NC-verilog simulator?  I wonder whether anybody has ModelSim scripts for
> OpenRisc simulation, or I have to add the files one by one to ModelSim
> projecct?
>
> Cheers,
>
> Xing
>
>
>
> -----Original Message-----
> From: owner-openrisc@opencores.org
> [mailto:owner-openrisc@opencores.org]On Behalf Of Gili Gamliel
> Sent: Wednesday, September 11, 2002 8:53 AM
> To: openrisc@opencores.org
> Subject: Re: [openrisc] Simulator as a debuger
>
>
> Marko Mlinar wrote:
>
> >On Monday 09 September 2002 11:13, Gili Gamliel wrote:
> >
> >>Hi All,
> >>When I use the simulator to debug my program,
> >>Is there a shortcut to set a breakpoint at entry to  symbol without
> knowing
> >>its actual address?
> >>I use the objdump to find an address of a symbol in order to use the sim
> >>break  command ,
> >>Is there more  simple way?
> >>
> >
> >break _main should work, if you have left simbols in your object file.
> >
> >Marko
> >
> >--
> >To unsubscribe from openrisc mailing list please visit
> http://www.opencores.org/mailinglists.shtml
> >
> Hi Marko
>
> I have the symbols in my object file ( I can see the labels when I use
> the 't' sim command )
> And when I use  /break// / < label>/ /  it put the breakpoint at 0x0
> instead of at actual address
> Maybe I did something stupid , Where I did wrong?
>
> Thanks
> Gili.
>
>
>
****************************************************************************
> **********************
> The contents of this email and any attachments are confidential.
> It is intended for the named recipient(s) only.
> If you have received this email in error please notify the system manager
or
> the
> sender immediately and do not disclose the contents to any one or make
> copies.
>
> ** eSafe scanned this email for viruses, vandals and malicious content **
>
****************************************************************************
> **********************
>
> --
> To unsubscribe from openrisc mailing list please visit
> http://www.opencores.org/mailinglists.shtml
>
> --
> To unsubscribe from openrisc mailing list please visit
http://www.opencores.org/mailinglists.shtml
>

--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml