Closed kamilrakoczy closed 2 years ago
Please note that UHDM has a client payload datastructure, you can use that to annotate the property on each node.
ClientData BaseClass::Data() const { return clientData_; } void BaseClass::Data(ClientData data) { clientData_ = data; }
Ok, thank you. I was able to parse the set in yosys code and filter-out nonsythesisable objects.
I'm trying to filter-out nonsythesisable constructs in yosys. WIP branch can be found here: https://github.com/SymbiFlow/yosys-f4pga-plugins/pull/243
I'm using following test:
According to SynthSubset
displayb
should be marked as nonsythesisable: https://github.com/chipsalliance/UHDM/blob/master/templates/SynthSubset.cpp#L42, but it is still present in the UHDM:I've also tried to change 3rd argument of
SynthSubset
totrue
, but it also didn't result in error and instead it displays name of the function to stdout (it doesn't happen when 3rd argument is set tofalse
):Parsing this test with surelog and
-synth
option, results in error.Is this expected behavior? Do I need to parse
annotate
set myself or nodes from UHDM should be automatically deleted bylisten_designs
?Used UHDM version: ad9a41ed8dd74964401586b26843f3aca37fcab5 Used Surelog version: 5d993c5e64ae48192144217dff96806460dca6ac