c - How to share register and bit field definitions between a device driver and the FPGA it controls -


Are there any good, existing software tools available, which are the C header files with the proper offset # bit definitions from VHDL? If such a tool exists, then what restriction can they put on VHDL and how should it be exported, which should be named?

  • Li>
  • by PDTi
  • Based on these devices, I am also interested if the appropriate workflow is available VHDL is both to produce C instead of trying to go directly to VHDL (perhaps with extra tags in the comments).

    I think the last who you wanted to get angry was sending you in the right direction. And I agree with Red Gray that you should consider changing your work in a little bit.

    Have you thought about having a 'master document' for your control register information and auto-generated everything from yourself - RTL, testbank code, driver software header and documentation?

    I worked on projects where control information was placed in a master spreadsheet and all the things generated by it were needed. On a family of chips, I wrote a few things that had written some python scripts to generate this stuff from the CSV files exported from the spreadsheet. On another project, the spreadsheet contains macros to generate RTL files, which is what we need.

    Writing in-house scripts is all right and good because you have total control over them and they know how they work. But remember that you have to spend time updating these scripts and updating them to do new things. And think if anyone who wrote these scripts would be decided to get a new job - would anyone else be adequately identified to modify the script? We are considering buying a third party tool for the reasons mentioned above.

    I have also worked on projects, documents and header files were back-ports from RTL - it was a nightmare, documentation usually came behind the design, and often the control area 'will disappear' me In this way a project should not be included again;)


    Comments

    Popular posts from this blog

    MySql variables and php -

    url rewriting - How to implement the returnurl like SO in PHP? -

    Which Python client library should I use for CouchdB? -