Skip to content

Simulation: move to VHDL 93 #284

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

Open
gasparka opened this issue Aug 5, 2018 · 1 comment
Open

Simulation: move to VHDL 93 #284

gasparka opened this issue Aug 5, 2018 · 1 comment

Comments

@gasparka
Copy link
Owner

gasparka commented Aug 5, 2018

Current situation is that RTL simulations require VHDL 2008, but GATE simulation VHDL 93. Mostly everything in Pyha should work with 93.

Moving everything to 93 could make Pyha output more portable, i already know that Vivado needs to run in 93. Also doing everything in one standard is a simplification.

Potential problems:

  1. Some code modifications required. E.g if bool should be converted to if bool = '1'.
  2. 93 has no pre built fixed-point libaries in GHDL - probably just compile them manually in docker image.
@gasparka
Copy link
Owner Author

gasparka commented Aug 6, 2018

Harder than expected. Compiling fixed point libraries with GHDL not trivial. Managed to get somewhere but then get 'bound check' failure on runtime.
For now is stick with 2008.

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

1 participant