Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite - Project #32

Open
10 tasks done
rodrigomelo9 opened this issue May 22, 2022 · 0 comments · May be fixed by #33
Open
10 tasks done

Rewrite - Project #32

rodrigomelo9 opened this issue May 22, 2022 · 0 comments · May be fixed by #33

Comments

@rodrigomelo9
Copy link
Contributor

rodrigomelo9 commented May 22, 2022

  • 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 openflow to yosys-nextpnr
  • Remove set_outdir
  • Move set_param to add_param
  • Move add_path to add_vlog_include
  • Add add_vlog_define
  • Add set_vhdl_arch
  • Change imp to par
  • Change generate to make
  • Change transfer to prog, which only will support fpga (bitstream and position are the only options)
  • Remove set_bitstream (absorbed by prog)
@rodrigomelo9 rodrigomelo9 linked a pull request May 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant