Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CSR encodings for Go and remove call to Go fmt (#329)
* Don't run go fmt error in go_utils.py go_utils.py currently runs go fmt to pretty print the generated inst.go file. Unfortunately, this call to go fmt always fails as inst.go contains an internal import and go fmt is being run out of tree. Here we remove the code that attempts to format inst.go resulting in a clean run of go_utils.py without any errors. The generated file, inst.go, can be formatted when it's copied into the Go source tree, prior to its submission to the Golang project. * Add CSR support to go_utils.py go_utils.py now generates a Go map that maps CSR numbers to CSR names. The resulting map is written into inst.go for use by the Go assembler.
- Loading branch information