Obscure names
Nitin Gupta
nitin@mobilygen.com
Mon Apr 23 12:05:00 GMT 2001
sr and dr are source register and target registers
src1 and src2 are sources for various functional units
You are not required to use the same names, If you are using *.cpu as an
skeleton for your own port.
I will suggest that if you are not sure of any variable defined in xyz.cpu,
try to see its usage in xyz.c. Or just use a source browsing tool like CSCOPE.
Nitin
nitin@mobilygen.com
www.mobilygen.com
Pavel Baranov wrote:
> I'm trying to understand how CGEN works and thanks to CGEN manual
> the overall picture is more or less clear. One thing which is not described
> in this manual (or I couldn't find the description) is the names like
> 'src1', 'src2,
> 'sr', 'dr' in .cpu files in Model/Unit descriptions (for example in
> m32r.cpu). I can guess
> that these are some kind of register names but I haven't seen list of
> possible names
> and their descriptions. Can you help me with this information?
>
> Regards,
> Pavel
--
--------------------------------------------------------------------------
Nitin Gupta Mobilygen Corp.
Email: nitin@mobilygen.com 2520 Mission College Blvd., Suite 201
Phone: (408) 869-4049(direct) Santa Clara, CA 95054
Fax : (408) 980-8044 www.mobilygen.com
More information about the Cgen
mailing list