Commit graph

6 commits

Author SHA1 Message Date
Simon Southwell
10977bf8fa GIS-6846 Added auto-generation of bit-field extraction functions for C/C++ script, plus support for the uniquifying tag of multiple instances of the same sub-block. 2018-01-16 07:51:02 +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
88b53684f0 GIS-6846 Modified CPP output script to output #defines, rather than constant definitions, after discussion with Malcolm (and Gordon). Also added CPP support for processing sub-blocks and generating offset definitions for these. An "instance" field is added to sub-blocks to uniquify multiple instantiations of blocks. This is a suffix string, which can be blank if known that no multiple instantiations will exist, else the string is free form (use or number of some suffix text). 2018-01-05 11:15:41 +00:00
Simon Southwell
966b682877 GIS-6905 Added ability to CPP generation to either word of byte address offset definitions, using command line switch (-B), as is already available for TXT generation 2017-12-22 11:08:41 +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