question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tidy up DSE/Quartus interface

See original GitHub issue

Following on from this PR comment I’m starting this discussion to find the best way forward:

Desire: Remove all DSE specific options and replace with one core file parameter such as dse_options.

Options: The data provided by dse_options is written directly to a DSE file which is generated on-the-fly. E.g.

targets:
  build:
    default_tool: quartus
    filesets: [stuff]
    tools:
      quartus:
        device: abc
        family: xyz
        dse_options:
          - 'seeds="1,2,3"'
          - 'num_concurrent=4'
          - 'num_parallel_processors=0'

Would produce a .dse file with the contents:

# Auto generated by Edalize
seeds="1,2,3"
num_concurrent=4
num_parallel_processors=0

Another option might be native support a dse file type.

E.g.

filesets:
  synth:
    files:
      - /path/to/dse/file {file_type: dse}

The file would be supplied as-required by DSE. This option will probably require some resolution logic to determine what to do if zero or more than one .dse files are provided.

There are probably other options. Would be grateful for thoughts and opinions.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
olofkcommented, Mar 5, 2020

I think we can all agree that it would have been so much easier if Intel/Altera could provide a reasonable interface 😃

Files and options have both pros and cons

  • A DSE file type: If I understand correctly, this is what quartus_dse actually consumes. For that reason I’d say it’s the most transparent option. It does make slightly more inconvenient to change options between runs though. Is that something people need? I’m not a user myself. As for handling len(dse_files) != 1, we could concatenate in the backend or error out. The icestorm backend does the latter for pcf files but I’ve considered changing to do the former. Concatenating might provide an extra service if several targets want to reuse most of the dse files but change some detail of it.

  • dse_options: I might actually have dropped support for dicts as I realized none of the backends actually used it. Could still be there though. Not sure tbh. In any case I’d be more keen on a list since that has better defined behaviour, like items added on the command line (e.g. fusesoc run core --dse_options=“option3 option4=something”) would be appended to the options coming from the tools option of the core files.

So from my perspective I’m fine with either solution and would prefer to leave it up to you as useres to decide on whether (one or multiple) dse files or a list of dse_options would be the preferred solution. If you can’t agree on something I will rule with my gentle iron fist 😉

0reactions
olofkcommented, Nov 17, 2020

Closing this now as I believe it’s all done. Reopen if needed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clean-up the interfaces - SAP Community
Hi Expert, I have to delete some unwanted interfaces from SAP PI server in all the environmet. Here the problem is few objects...
Read more >
Quartus II Handbook, Volume 2
Effects of Settings Made Outside the Assignment Editor User Interface . ... The Design Space Explorer (DSE), Quartus II Command-Line and.
Read more >
How to tidy up call-finished screen?
I have a Samsung Galaxy A21s running Android 11, One UI Core 3.1. When I finish a phone call, all this crap shows...
Read more >
Tidy Up icon in Color Style - Icons8
Download Tidy Up vector icon in Color style. Available in png, svg, pdf, ... Try our Tidy Up to make your interface look...
Read more >
edalize from olofk - Code Monkey
Tidy up DSE/Quartus interface. Following on from this PR comment I'm starting this discussion to find the best way forward: Desire:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found