Register map auto-generation

  • Thread starter Leonardo Capossio
  • Start date
L

Leonardo Capossio

Guest
Hello, I wonder if anyone knows an open-source processor or a generic program that will generate a register map for a given embedded processor (Z80-copy or OpenRisc or similar) and architecture in both VHDL and C (header files or library files with addresses) ?
 
On 07/07/2015 15:50, Leonardo Capossio wrote:
Hello, I wonder if anyone knows an open-source processor or a generic program that will generate a register map for a given embedded processor (Z80-copy or OpenRisc or similar) and architecture in both VHDL and C (header files or library files with addresses) ?

Not 100% sure what you are after but if you want to generate RTL and
associated c files from some register specifications then have a look at
IDesignSpec, you can download a free version from cnet,

http://download.cnet.com/IDesignSpec-for-Word-2007-2010/3000-20418_4-75728342.html

There might be later versions available on the Agnisys website,

Good luck,
Hans
www.ht-lab.com
 
On Tuesday, 7 July 2015 15:50:09 UTC+1, Leonardo Capossio wrote:
> Hello, I wonder if anyone knows an open-source processor or a generic program that will generate a register map for a given embedded processor (Z80-copy or OpenRisc or similar) and architecture in both VHDL and C (header files or library files with addresses)?

Do you already have the registers defined in machine readable format?

You could take a look at AirHDL from Guy Eschemann: http://airhdl.com/
 
On 08/07/2015 15:49, Chris Higgs wrote:
On Tuesday, 7 July 2015 15:50:09 UTC+1, Leonardo Capossio wrote:
Hello, I wonder if anyone knows an open-source processor or a generic program that will generate a register map for a given embedded processor (Z80-copy or OpenRisc or similar) and architecture in both VHDL and C (header files or library files with addresses)?

Do you already have the registers defined in machine readable format?

You could take a look at AirHDL from Guy Eschemann: http://airhdl.com/

Hi Chris,

Looks like an interesting tool although the usage terms seems a bit harsh:

In these terms and conditions, “your user content” means material
(including without limitation text, images, audio material, video
material and audio-visual material) that you submit to this website, for
whatever purpose.

You grant to airhdl.com a worldwide, irrevocable, non-exclusive,
royalty-free license to use, reproduce, adapt, publish, translate and
distribute your user content in any existing or future media. You also
grant to airhdl.com the right to sub-license these rights, and the right
to bring an action for infringement of these rights.

Regards,
Hans.
www.ht-lab.com
 
Greetings Hans!

On Wednesday, 8 July 2015 17:43:46 UTC+1, HT-Lab wrote:
Looks like an interesting tool although the usage terms seems a bit harsh

I don't use AirHDL in anger as we have internal tools for that purpose, however I am enjoying the gradual acceptance of hosted tools.


I agree that the privacy policy is off-putting. It appears that they're generated from some standard template[1] which may not be ideally suited to this use case. I've CC'd Guy, perhaps he can comment.


[1] http://www.privacypolicyonline.com
 
On Tuesday, July 7, 2015 at 1:17:00 PM UTC-3, HT-Lab wrote:
On 07/07/2015 15:50, Leonardo Capossio wrote:
Hello, I wonder if anyone knows an open-source processor or a generic program that will generate a register map for a given embedded processor (Z80-copy or OpenRisc or similar) and architecture in both VHDL and C (header files or library files with addresses) ?


Not 100% sure what you are after but if you want to generate RTL and
associated c files from some register specifications then have a look at
IDesignSpec, you can download a free version from cnet,

http://download.cnet.com/IDesignSpec-for-Word-2007-2010/3000-20418_4-75728342.html

There might be later versions available on the Agnisys website,

Good luck,
Hans
www.ht-lab.com

Thanks, I was looking for something like this.
 
Am 07.07.2015 um 16:50 schrieb Leonardo Capossio:
Hello, I wonder if anyone knows an open-source processor or a generic program that will generate a register map for a given embedded processor (Z80-copy or OpenRisc or similar) and architecture in both VHDL and C (header files or library files with addresses) ?

Hi,

here we have the same problem, but no tool satisfied our needs. So we
designed something own on MySQL and PHP base, which can be imported
directly into Excel Sheets via "MySQL for Excel".

Redards,
Tobias
 
Maybe this: https://github.com/oddball/ipxact2systemverilog
A Open-Source Python script to covert IP-XACT to VHDL/SystemVerilog/PDF/...
 

Welcome to EDABoard.com

Sponsor

Back
Top