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

Add Verilog support #3

Closed
suoto opened this issue Jan 26, 2016 · 3 comments
Closed

Add Verilog support #3

suoto opened this issue Jan 26, 2016 · 3 comments
Assignees
Milestone

Comments

@suoto
Copy link
Owner

suoto commented Jan 26, 2016

Minimal steps to add Verilog support:

  • Parser
    • Extract dependencies
    • Extract design units
  • Compilers
    • Different compilation binaries (vcom vs vlog for instance)
  • Static check adaptation
@suoto suoto added this to the Backlog milestone Jan 27, 2016
@suoto
Copy link
Owner Author

suoto commented Mar 29, 2016

ModelSim (vcom, vlog) and PlanAhead (xvhdl, xvlog) are able to work with VHDL and Verilog at the same time (i.e., it should be possible to use a Verilog module inside VHDL and vice versa). FOSS alternatives such as GHDL and NVC are VHDL only.

On the other hand, pure syntax checking via Icarus Verilog should be reasonable.

@suoto
Copy link
Owner Author

suoto commented Apr 1, 2016

For VHDL/Verilog exclusive pairs, maybe it's feasible to translate at least the VHDL entity or Verilog module definition to the other language to allow basic port map checks.

@suoto suoto modified the milestones: 0.3, Backlog Apr 14, 2016
@suoto suoto self-assigned this Jul 11, 2016
suoto added a commit that referenced this issue Jul 20, 2016
* Issue #3 - add Verilog support is work in progress

* Added file_types attribute to fallback builder

* Fixing import paths

* Added option to run tests without deleting its venv

* Fixing bugs/tests inserted after Verilog support.
This is still work in progress...

* Handling .svh file extension as systemverilog

* Fixed some issues on build flags for different languages

* Builder test now use specific sources

* Replacing external test files for local ones

* Adding builder test for Verilog and SystemVerilog

* Adjusts for VUnit and SystemVerilog

* Possible fix for source parser pool hanging

* Fixes for SystemVerilog and VUnit

* Testing fix for hanging tests

* Adding copyright to files

* Test skips are now done via unittest.skip decorator

* Fixes to VUnit and Verilog/SystemVerilog

* Adding copyright

* Minor style fixes

* Cleaning up unused code

* Builders don't need to declare empty default options

* Updating ghdl from 0.31 to 0.33

* Improved diag handler

* Adding verilog source parser tests

* Including hdlcc.tests.test_misc in standalone execution

* Removing VUnit from tests it is not required

* Removed external CI dependencies

* Fixing some hangs when using multiprocessing.Pool
@suoto
Copy link
Owner Author

suoto commented Jul 20, 2016

Fixed as per PR #29.

@suoto suoto closed this as completed Jul 20, 2016
@suoto suoto removed the in progress label Jul 20, 2016
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