Commit graph

13 commits

Author SHA1 Message Date
Simon Southwell
5b23b59191 GIS-6905 Added ability to override the '_system' suffix expected in the QSYS filename using a command line option (-q or --qsysSuffix) 2018-06-26 11:40:01 +01:00
Simon Southwell
098e889b5a GIS-6905 Added option to auto-gen scripts to specify the build directory to use to find the QSYS file. 2018-06-01 10:53:59 +01:00
Simon Southwell
9cde88a8fa GIS-6846 Added attributes in MemMapperBase.py to define 'process' and 'process_regs' tags, and updated gen_hdl.py to use them. Adding new script gen_elhal.py and a mathcing template_elhal.h to generate test HAL code. 2018-03-20 09:15:53 +00:00
Simon Southwell
c09e1ee3c5 GIS-6846 Added gen_hal.py for generation of HAL code on top of the header data. Some small support added to gen_cpp.py and memMapperBase.py 2018-03-06 08:01:51 +00:00
Simon Southwell
70ba104ada GIS-6846 Bug fix for sub-block traversal beyond first level hierarchy. 2018-02-22 15:07:42 +00:00
Simon Southwell
9e8b66ab20 GIS-6846 For all scripts, added ability to specify a single JSON file to process using command line option. For text script, added a command line option to specify the first column's width. To HDL script (also with changes to base class) added support for a new rwp type which is much like wp, but also has a read strobe output. 2018-02-20 12:54:58 +00:00
Simon Southwell
cc61986e3c GIS-6905 added support for selectively enabling output generation for a block, via the sub-block specifications. The default "process" is still "enabled" (i.e. enable generation), or a comma separated list of output to generate. Valid values are "hdl", "pkg", "cpp", "txt". For example, "cpp,txt" only generates the C++ headers and the text documentation. If a new type is required, then the base class does not need to change. The new script (for html o/p say), will pass in to the inherited 'run' method an enableTag argument (e.g. "htm"), and adding that tag to a "process" list will enable it selectively. 2018-01-26 10:11:45 +00:00
Simon Southwell
c4e33eaed2 GIS-6905 Added command line option (-s, -file_suffix) to allow specification of a suffix (e.g. _auto) to be added to the output filename(s). This is targetted at the HDL generation, but has been added to the base class and supported in all the scripts. 2018-01-22 08:11:51 +00:00
Simon Southwell
7e4f816ee2 GIS-6905 Added new command line option to specify an output destination directory and pass on to overloaded genOutput virtual function for use by the various generation scripts 2018-01-18 08:39:08 +00:00
Simon Southwell
0c94d8d969 GIS-6905 memMapperBase.py no longer dependant on git package. gen_hdl.py now generates address decoding HDL for sub-blocks. gen_txt.py print the bitslices for the sub-fields as per Malcolm's request. Added further comments to gen_cpp.py 2018-01-09 14:05:28 +00:00
Simon Southwell
57461f85a4 GIS-6904 Upgraded for specifying sub-blocks in a hierarchical manner. Also bug fixes during creation and development of SWIM interface that utilises the auto-generation tools. 2017-12-21 07:47:29 +00:00
Simon Southwell
834598ac95 Added some sub-block support for sub-blocks not referenced from QSYS file, but instantiated in the hierarchy of the FPGA code. 2017-12-14 15:03:41 +00:00
Simon Southwell
29956ede8f Commit with all flavours of script compiling with good output for example. The HDL compiles in ModelSim, but is not yet checked. 2017-12-13 10:48:29 +00:00