pyfpga
pyfpga copied to clipboard
Rewrite - Project
- [ ] New
__init__:
tool = TOOLNAME
project = PROJNAME
outdir = DIRPATH
meta = {
part: PARTNAME,
files: [
{path: FILEPATH, type: FILETYPE, library: LIBNAME, options: OPTIONS},
{path: FILEPATH, type: FILETYPE, library: LIBNAME, options: OPTIONS},
{path: FILEPATH, type: FILETYPE, library: LIBNAME, options: OPTIONS}
],
top: TOPNAME,
params: [
{name: PARAMNAME, value: PARAMVALUE},
{name: PARAMNAME, value: PARAMVALUE}
],
vlog_includes: [PATH1, PATH2, PATH3],
vlog_defines: [
{name: DEFINENAME, value: DEFINEVALUE},
{name: DEFINENAME, value: DEFINEVALUE}
],
vhdl_arch: ARCHNAME,
hooks: {
prefile: [CMMD1, CMMD2],
project: [CMMD1, CMMD2],
preflow: [CMMD1, CMMD2],
postsyn: [CMMD1, CMMD2],
postpar: [CMMD1, CMMD2],
postbit: [CMMD1, CMMD2]
}
options: OPTIONS
}
- ~~Change
openflowtoyosys-nextpnr~~ - [ ] Remove
set_outdir - [x] Move
set_paramtoadd_param - [x] Move
add_pathtoadd_vlog_include - [x] Add
add_vlog_define - [x] Add
set_vhdl_arch - [x] Change
imptopar - [ ] Change
generatetomake - [ ] Change
transfertoprog, which only will supportfpga(bitstreamandpositionare the only options) - [ ] Remove
set_bitstream(absorbed byprog)