You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to read the SystemVerilog code below, I got a segmentation fault without any error message. Since it contains the non-synthesizable language construct, bind, I guess the situation is similar to #2230.
Removing the bind construct at the end of the code made the segmentation fault disappear.
/----------------------------------------------------------------------------\
| |
| yosys -- Yosys Open SYnthesis Suite |
| |
| Copyright (C) 2012 - 2020 Claire Xenia Wolf <[email protected]> |
| |
| Permission to use, copy, modify, and/or distribute this software for any |
| purpose with or without fee is hereby granted, provided that the above |
| copyright notice and this permission notice appear in all copies. |
| |
| THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| |
\----------------------------------------------------------------------------/
Yosys 0.36+58 (git sha1 ea7818d31, clang 14.0.6 -fPIC -Os)
-- Running command `plugin -i systemverilog; read_systemverilog design.sv' --
1. Executing Verilog with UHDM frontend.
[INF:CM0023] Creating log file "/tmp/slpp_all/surelog.log".
[INF:CP0300] Compilation...
[INF:CP0303] /tmp/design.sv:1:1: Compile module "work@ADD_SUB".
[INF:CP0304] /tmp/design.sv:19:1: Compile interface "work@add_sub_if".
[INF:CP0302] Compile class "work@mailbox".
[INF:CP0302] Compile class "work@process".
[INF:CP0302] Compile class "work@semaphore".
[INF:EL0526] Design Elaboration...
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered:
Surelog cores dump as binding interfaces to modules is not supported, binding modules to modules is. I could fix the core dump, but since point 1) there is no point, Synlig will not do anything with the interface.
If that is a feature that you would like to see being developed, please fund this project. There are other issues filed by other users about the Interface support in Synlig, it's all about funding the development.
When I tried to read the SystemVerilog code below, I got a segmentation fault without any error message. Since it contains the non-synthesizable language construct,
bind
, I guess the situation is similar to #2230.Removing the
bind
construct at the end of the code made the segmentation fault disappear.Version
Latest release (2024-03-13-d844d8d)
with Yosys 0.36+58 (git sha1 ea7818d31, clang 14.0.6 -fPIC -Os)
Reproduction Steps
Please consider this example
design.sv
. (I reduced it a bit.)Run command:
Got:
The text was updated successfully, but these errors were encountered: