ucb-bar / dsptools

A Library of Chisel3 Tools for Digital Signal Processing
Apache License 2.0
224 stars 38 forks source link

Add IPXact schema. #192

Closed chick closed 1 year ago

chick commented 4 years ago

Initial porting of old rocket-dsp-utils IPXact wrapper

Add AXI GCD example

Add regmap annotations to AXI4GCD example

Generate some xml based on ipxact annotations. More to do, get ports and port mappings done

Retooling how annotations are processed into XML changing things so that, for example, is not included unless there one or more inside. Looking at making two transforms, one to memoize the bundles at HighForm so they can be used to organize the expanded bundle fields later

Created two transforms, the first one operates on HighForm and memoizes annotated bundles for use in the second pass BusInterface mappings are now generated

Move AXI4GCD from test to main

Add regmap annotations to AXI4GCD example

Added support for multiple ipxact modules to be created during pass

Fix component xml namespace declarations

Retooling how annotations are processed into XML changing things so that, for example, is not included unless there one or more inside. Looking at making two transforms, one to memoize the bundles at HighForm so they can be used to organize the expanded bundle fields later

Created two transforms, the first one operates on HighForm and memoizes annotated bundles for use in the second pass BusInterface mappings are now generated

re-adding Ipxact.scala

grebe commented 4 years ago

I've made some progress on using aspects here. The issue I'm currently running into is: 1) Getting the scheduling of the IPXact passes to work with the aspect passes 2) Some rocket stuff is being called that annotates stuff. It doesn't return annotations, it adds them to the current builder context. Aspects don't pick stuff up from the builder context (in fact, I don't think a builder context exists at all)

ekiwi commented 1 year ago

Stale. Please re-open if you are interested in continuing this PR.