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

Please document (in English) how to use gtkwave simulation with icestudio #339

Open
drtrigon opened this issue Sep 19, 2019 · 3 comments
Open

Comments

@drtrigon
Copy link

I would like to use icestudio in class e.g. to demonstrate the simulation of logic gates. Ultimatively I would like to create logic tables with the students.

I found following two descriptions but - unfortunately - do not speak spanish:

As mentioned I would be very eager to see documentation in English in order to understand what steps I need to do. (Also cool would be a simple menu entry to simulate and open gtkwave, but we can leave this for the next issue to open ;)

@drtrigon drtrigon changed the title Please document how to use gtkwave simulation with icestudio Please document (in English) how to use gtkwave simulation with icestudio Sep 19, 2019
@drtrigon
Copy link
Author

drtrigon commented Oct 2, 2019

Ok, I figured it out, I had an issue with the apio install path (due to python3 vs. python2 stuff).

https://translate.google.com/translate?hl=en&sl=es&u=http://haudahau.com/vadedos/%3Fp%3D1497 is quite useful.

@csylvain
Copy link

running "apio sim" got me on the right path. needed to "apio install" some things. then needed to know i should look at the output of "apio boards -l".

after that, learned something important and the reason i am writing this note:
(for the 0.5.1-nightly windows release of icestorm)
spaces (' ' chars) in project file names (like "B A Z.ice") is BAD.

you will end up with

fatal error: too many command-line arguments

when doing "apio build" because arachne-pnr dies. the parameters given to it are not quoted nor are the escaped.

@zeroeth
Copy link

zeroeth commented Feb 3, 2020

I'm wondering if this simulation workflow could be internal to icestudio somehow? Figuring out the export, edit testbench, run, view steps took some guesswork!

Maybe even embed something like Pulseview and provide an stimulus input panel/timeline!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants