I did some backtrace and suggest a patch which seems to fix this issue.
As the source file 'v2cc/v2cc-chunk.t' states,
;; respect to the entity). Note that the value is set to NULL if
;; the object/declaration/expression is not static at all!
(IIR_DeclarativeRegion static_declarative_region (= "NULL"))
so my patch provides a simple check of the NULL pointer. I am not sure my solution is correct, but at least, it allows me to use freehdl-v2cc.
Created attachment 522474 0.0.8-declerati ve_region. patch
freehdl-
With sci-electronics /freehdl- 0.0.8 the freehdl-v2cc command returns Segmentation fault even for the simplest VHDL demo (https:/ /ghdl.readthedo cs.io/en/ latest/ using/QuickStar tGuide. html). It also does for any schematic I tried in Qucs.
I did some backtrace and suggest a patch which seems to fix this issue.
As the source file 'v2cc/v2cc-chunk.t' states,
;; respect to the entity). Note that the value is set to NULL if declaration/ expression is not static at all! DeclarativeRegi on static_ declarative_ region (= "NULL"))
;; the object/
(IIR_
so my patch provides a simple check of the NULL pointer. I am not sure my solution is correct, but at least, it allows me to use freehdl-v2cc.