I have been alloted a project English to HDL conversion which will basically convert the port mapping for IOMUX in EXCEL file to VHDL code. It will basically generate VHDL code for design of IOMUX for PAD interface . the port mapping will be defined in EXCEL file. The process will based on PERL programming.
since I am fresher i hv no idea on the same as in where to begin this, so every clue wud be appreciable.
I have been alloted a project English to HDL conversion which will basically convert the port mapping for IOMUX in EXCEL file to VHDL code. It will basically generate VHDL code for design of IOMUX for PAD interface . the port mapping will be defined in EXCEL file. The process will based on PERL programming.
since I am fresher i hv no idea on the same as in where to begin this, so every clue wud be appreciable.
I'm not sure I understand what you are trying to do.
ISE's editor has a table-entry for creating entities. Other editors like vim/emacs have support for block editing, which makes it easy to define the ports quickly.
you are just using excel for the data-entry aspects, you could just save the file as a csv or psv. this can easily be read by any language as it is just comma seperated values (or pipe-separated).
I'm not sure I understand what you are trying to do.
ISE's editor has a table-entry for creating entities. Other editors like vim/emacs have support for block editing, which makes it easy to define the ports quickly.
you are just using excel for the data-entry aspects, you could just save the file as a csv or psv. this can easily be read by any language as it is just comma seperated values (or pipe-separated).
I m trying to build a tool sort of process which could get design the vhdl code for IOMUX by parsing its port mapping from .xls file.
The process would enable the designer to generate a SOC specific IOMUX at RTL level directly by giving specifications in EXCEL.........
waiting for replies
but you still need to run it through the design compiler (ISE or Quartus) which have this feature built in, and store the port mapping in the specified project.
but you still need to run it through the design compiler (ISE or Quartus) which have this feature built in, and store the port mapping in the specified project.
If you have a CSV file and want to use Perl, you can easily extract all of the data from the table, then do whatever text manipulation required to produce a VHDL file (complete with header and footer bits). If you need to deal with the raw XLS(X) files, there are Perl modules that can manipulate those. Alternatively if you don't know or like Perl, you could use VBA inside Excel itself to create a new text document.
Consider what each row of the CSV table represents and how each row needs to be mapped to a VHDL file.
For example, your CSV might contain these data:
foo,bar,1,baz
And this might need to be changed to
foo(bar) := baz[1];
In this basic example, your text substitution code might look something like
"$1($2) := $4[$3];"
It's a pretty basic text manipulation task. Unless you need to implement some serious, additional, complicated logic, it should take less than an hour.